Okay, I used an automated generator to generate a custom URL for my prestashop site in the .htaccess file, but it does not work. Any ideas?
the original URL is:
http://www.example.com/de/suche?controller=search&orderby=position&orderway=desc&search_query=mutter&submit_search=OK
the rewritten url should be:
http://www.example.com/search/position/desc/mutter/OK.html
and the rewrite rule I have in the .htaccess file is:
RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)\.html$ /de/suche?controller=$1&orderby=$2&orderway=$3&search_query=$4&submit_search=$5 [L]
You should remove the
[L]
flag from your rule. It prevents any other rule to apply but you need to passe this new route to Prestashop dispatcher.