Bonjour, j'essaie de de renommer ma page.php?id=5 en page-5.html
Donc dans mon fichier htaccess, je place mon code:
[les 2 urls sont ok]
Maintenant je dois placer une condition pour obliger page?id127 a basculer vers mapage-127.html
Pouvez-vous m'expliquer?
Merci
Donc dans mon fichier htaccess, je place mon code:
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^manouvellepage-([0-9a-zA-Z-]+)\.html$ /page.php?id=$1 [L]
Maintenant je dois placer une condition pour obliger page?id127 a basculer vers mapage-127.html
Pouvez-vous m'expliquer?
Merci
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteCond
RewriteRule ^manouvellepage-([0-9a-zA-Z-]+)\.html$ /page.php?id=$1 [L]