You are here:  » .htaccess problem

Support Forum



.htaccess problem

Submitted by andben on Sat, 2011-01-15 11:16 in

Hi David,

not able to have "rewrite on" functioning properly. First I did follow the instructions on the forum (http://www.pricetapestry.com/node/11), after
I check with my hosting and they confirm that is enabled on apache and should be Ok.
Finally I managed to have it working for the product page, and that would be good for me. The problem is that I cannot see any more category and
merchant page.
When from the category (and merchant) list I try a link will give a 404 error. On the browser bar I see after the name of category a slash and nothing
more. I would be happy at this stage to have it enabled only for products.. How can I do that?
Thank you and Regards
Andrea

Submitted by support on Sat, 2011-01-15 16:41

Hello Andrea,

Double check that your RewriteBase line in your .htaccess is the same as $config_baseHREF in your config.php, but without the quotes - so if your site is installed in the top level of your website, it should be just:

RewriteBase /

Next, confirm that $config_useRewrite is set to TRUE in your config.php - line 8 should be:

  $config_useRewrite = TRUE;

...and that should do the job. With this setting, /merchant/ etc. are picked up by .htaccess and rewritten internally to merchants.php.

If everything looks OK, could you email me a link to the installation, together with a copy of your config.php and .htaccess files and I'll check it out further...

Cheers,
David.
--
PriceTapestry.com