Jump to content

Url rewrite


Kogkalidis

Recommended Posts

http://stackoverflow.com/questions/15218736/prestashop-htacess-url-rewriting-add-perso-link

 

These two

 

RewriteRule ^www.accessoires-de-la-moto.com/kit-chaine-afam.htm$ /index.php?id_cms=6&controller=cms [L]

RewriteRule ^www.accessoires-de-la-moto.com/test2$ www.accessoires-de-la-moto.com/index.php [L]

cannot work, because the domain is not part of the URL-path pattern.

 

This rule should work

 

RewriteRule ^/test$ /index.php [L]

but this rule above from Prestashop

 

RewriteRule ^.*$ - [NC,L]

prevents it.

 

You can move your rule above the Prestashop definitions

 

ANY HELP FOR HTACCESS ROOKIES LIKE ME?

Link to comment
Share on other sites

×
×
  • Create New...