Bonjour,
Pour la nouvelle version de mon site, j'utilie le url rewriting, via .htaccess
La version actuel de mon site est en .asp
Comment faire, pour chacune des page .asp soit rediriger vers la page index.php
Merci
Pour la nouvelle version de mon site, j'utilie le url rewriting, via .htaccess
Code:
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
RewriteRule index.html$ /index.php [L]
RewriteRule produits.html$ /produits.php [L]
RewriteRule petits,arbres.html$ /petits-arbres.php [L]
RewriteRule ^petits,arbres,(.+).html$ /petits-arbres.php?Nom=$1 [L]
RewriteRule grands,arbres.html$ /grands-arbres.php [L]
RewriteRule ^grands,arbres,(.+).html$ /grands-arbres.php?Nom=$1 [L]
RewriteRule arbres,fruitiers.html$ /arbres-fruitiers.php [L]
RewriteRule ^arbres,fruitiers,(.+).html$ /arbres-fruitiers.php?Nom=$1 [L]
RewriteRule coniferes.html$ /coniferes.php [L]
RewriteRule ^coniferes,(.+).html$ /coniferes.php?Nom=$1 [L]
RewriteRule arbustes.html$ /arbustes.php [L]
RewriteRule ^arbustes,(.+).html$ /arbustes.php?Nom=$1 [L]
RewriteRule ^(.+)/fiche.html$ /fiche.php?Latin=$1 [L]
RewriteRule ^(.+)/fiche,detaillee.html$ /fiche-detaillee.php?Latin=$1 [L]
RewriteRule ^(.+)/AfficherVignettes.html$ /AfficherVignettes.php?Latin=$1 [L]
RewriteRule ^(.+)/(.+)/([0-9]+).html$ /Images.php?Latin=$1&Categorie=$2&ID=$3 [L]
</IfModule>
La version actuel de mon site est en .asp
Comment faire, pour chacune des page .asp soit rediriger vers la page index.php
Merci