Hi,
Here I will explain my concern: I provide a page "prestation" that I use to return data recovered GET (and therefore in the url)
working example:
http://toto.fr/prestation/?id=1&cat=2
I would like to rewrite this url:
http://toto.fr/prestation/1-2
To achieve this I told myself.
Htaccess:
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
### TEST REWRITE ####
RewriteRule ^prestation/([0-9]+)-([0-9]+)$ prestation/?id=$1&cat=$2 [L,QSA,NC]
I have a 404, if someone want good help me