Guest Posted July 13, 2011 Hi, I have looked through this thread but I dont seem to be able to find the correct answer. I have made all the document changes ok, no header tag errors etc But i dont think i can get the .htaccess file correct, think it is the filepath. the site is www.tanglessalon.co.uk/oscommerce/catalog/ What would i write for the correct path? i have just been putting "RewriteBase /catalog/" but it doesnt seem to work and i get a 404 error each time i click on a product. the homepage works ok but none of the product links are working. Been bashing my head againstg wall for hours. Any help would be great # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change the following line using the instructions above RewriteBase /YOU HAVE TO CHANGE ME/ Share this post Link to post Share on other sites
pdcelec 29 Posted July 13, 2011 Hi, I have looked through this thread but I dont seem to be able to find the correct answer. I have made all the document changes ok, no header tag errors etc But i dont think i can get the .htaccess file correct, think it is the filepath. the site is www.tanglessalon.co.uk/oscommerce/catalog/ What would i write for the correct path? i have just been putting "RewriteBase /catalog/" but it doesnt seem to work and i get a 404 error each time i click on a product. the homepage works ok but none of the product links are working. Been bashing my head againstg wall for hours. Any help would be great # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change the following line using the instructions above RewriteBase /YOU HAVE TO CHANGE ME/ Which URL rewriter are you using? Share this post Link to post Share on other sites
♥mattjt83 133 Posted July 13, 2011 Hi, I have looked through this thread but I dont seem to be able to find the correct answer. I have made all the document changes ok, no header tag errors etc But i dont think i can get the .htaccess file correct, think it is the filepath. the site is www.tanglessalon.co.uk/oscommerce/catalog/ What would i write for the correct path? i have just been putting "RewriteBase /catalog/" but it doesnt seem to work and i get a 404 error each time i click on a product. the homepage works ok but none of the product links are working. Been bashing my head againstg wall for hours. Any help would be great # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change the following line using the instructions above RewriteBase /YOU HAVE TO CHANGE ME/ Looks like you should try RewriteBase /oscommerce/catalog/ if that's where your shop is located. Matt Share this post Link to post Share on other sites
Guest Posted July 14, 2011 I will try putting Oscommerce in the filepath later on. I was using Notepad to write into the .htaccess file that i downloaded from my website as it already existed, I put in the code required then uploaded to my control panel. Share this post Link to post Share on other sites