mel- Posted September 4, 2010 Share Posted September 4, 2010 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.phpthe first page works fine showing http://mydomain.com/new-products.php but after the first page it shows insteadhttp://mydomain.com/myfolder/new-products.phpthese are the only two pages I have found so far that the rewriterule in htaccess fails for.I tried putting this in the htaccess fileRewriteRule ^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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now