bonjour a tous , voila j essaye d installer mes parametre d url grace a des forum comme le votre mais j ai beaucoup d erreur 404 mais pas sur chaque page si quelque un d entre vous pouvais m aider a situer le probleme voici mon code: : Options +FollowSymlinks Options -Indexes RewriteEngine on RewriteRule ^index\.html$ /annonces/index.php RewriteRule ^index-([0-9]+)\.html$ /annonces/index.php?page=$1 RewriteRule ^liste-([0-9]+)\.html$ /annonces/liste.php?categorie=$1 RewriteRule ^liste-([0-9]+)-([0-9]+)\.html$ /annonces/liste.php categorie=$1&page=$2 RewriteRule ^annonce-([0-9]+)\.html$ /annonces/view_annonce.php?id=$1
RewriteRule ^([a-z0-9A-Z\-\_]+)-([a-z0-9A-Z\-\_]+)-([a-z0-9A-Z\-\_]+)-([0-9]+)\.html$ /annonces/view_annonce.php?marque=$1&titre=$2&departement=$3&id=$4 #RewriteCond %{HTTP_USER_AGENT} ^Googlebot [NC,OR] #Googlebot-Image/1.0 #RewriteCond %{HTTP_USER_AGENT} ^Googlebot-Image [NC,OR] #Googlebot-Mobile/2.1; +http://www.google.com/bot.html) #RewriteCond %{HTTP_USER_AGENT} ^Googlebot-Mobile [NC,OR] #RewriteCond %{HTTP_USER_AGENT} ^Msnbot [NC,OR] #RewriteCond %{HTTP_USER_AGENT} ^Slurp [NC,OR] #RewriteCond %{HTTP_USER_AGENT} ^Mediapartners-Google [NC] #RewriteRule ^.*$ - [L] si vous trouver l erreur !!!! |