Voilà, j'ai réalisé un site en php et je me suis lancé dans le rewriting......j'ai crée un fichier httpd.ini que j'ai mis à la racine de mon site et j'ai crée mes conditions de la sorte:
Code : Tout sélectionner
[ISAPI_Rewrite]
RewriteRule /echange-hebergement-([0-9]*)-pays-([0-9]*).php /echange-hebergement.php\?rubrique_voyage=$1&pays=$2 [I,L]
RewriteRule /echange-hebergement-([0-9]*)-page-([0-9]*)-pays-([0-9]*).php /echange-hebergement.php\?page=$1&rubrique_voyage=$2&pays=$3 [I,L]
RewriteRule /voyage-humanitaire-([0-9]*).php/voyage-humanitaire.php\?choix_humanitaire=$1 [I,L]
RewriteRule /voyage-humanitaire-([0-9]*)-page-([0-9]*).php /voyage-humanitaire.php\?page=$1&choix_humanitaire=$2 [I,L]
RewriteRule /annonce-nature-et-decouverte-([0-9]*).php /annonce-nature-et-decouverte.php\?choix_decouverte=$1 [I,L]
RewriteRule /annonce-nature-et-decouverte-([0-9]*)-page-([0-9]*).php /annonce-nature-et-decouverte.php\?page=$1&choix_decouverte=$2 [I,L]
Merci de votre aide!