Jump to content

can someone give me a rewriterule for new products and best sales?


mel-

Recommended Posts

I have my prestashop installed in a folder but don't want the folder name to show in the url so use rewriterules in the htaccess file.

it works fine except for the new-products.php and best-sales.php

the first page works fine showing http://mydomain.com/new-products.php but after the first page it shows instead
http://mydomain.com/myfolder/new-products.php

these are the only two pages I have found so far that the rewriterule in htaccess fails for.

I tried putting this in the htaccess file


RewriteRule ^new-products[/]*$ /new-products.php?id_lang=1 [QSA,L,E]

but that didn't work. I also tried:

RewriteRule ^new-products[/]*$ http://www.mydomain.com/new-products.php?id_lang=1 [QSA,L,E]

but that also didn't work. can anyone give me the correct rewriterule to use? thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...