Jump to content

Custom url rewrite on Prestashop 1.6 (.htaccess)


justrid

Recommended Posts

Hello! I have page mysite.com/news?&id_annonce=2

I want page like mysite.com/news/2

 

Add code in htaccess:

 

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^news/([0-9]+)$ news?&id_annonce=$1 [L,QSA]
 
But if won't work..
Please, help me.
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...