You are here:  » Htaccess not working

Support Forum



Htaccess not working

Submitted by philh on Tue, 2008-03-18 21:47 in

I discovered the .htaccess file and turned the rewrite on. The search results work fine and the product URL seems right, but it seems to conflict with an installation on a different sub-directory i.e. I have been working on dvd section, I click on a DVD in the search results and it comes up with products from the DIY section. Help please?

Submitted by support on Tue, 2008-03-18 21:54

Hi Phil,

This sounds like the RewriteBase value in your new .htaccess. It needs to be set the same as $config_baseHREF in config.php, so if your Price Tapestry site is installed into a sub-directory called shopping, you would need to change:

RewriteBase /

...to:

RewriteBase /shopping/

Hope this helps!

Cheers,
David.

Submitted by philh on Tue, 2008-03-18 22:07

Fantastic David, thank you!