http://toto.fr/prestation/?id=1&cat=2
http://toto.fr/prestation/1-2
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC] ### TEST DE REWRITE #### RewriteRule ^prestation/([0-9]+)-([0-9]+)$ prestation/?id=$1&cat=$2 [L,QSA,NC]
# The Friendly URLs part RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^profils/fiche-profil/([0-9A-Za-z]+)/$ profils/fiche-profil/?userprofile=$1 [L,QSA] RewriteRule ^messagerie/repondre/([0-9A-Za-z]+)/$ messagerie/repondre/?destid=$1 [L,QSA] RewriteRule ^profils/page-([0-9A-Za-z]+)/$ profils/?pager=$1 [L,QSA] RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]