Bonjour à tous,
J'ai un souci de ré-écriture d'Url sur le site suivant : http://www.rogermuller.fr
Dans mon fichier .htaccess j'ai mis les lignes suivantes :
RewriteEngine on
RewriteRule ^(.*)\.html$ index.php?rubrique=$1 [L]
RewriteRule ^(.*)-(.*)\.html$ index.php?rubrique=$1&oeuvre=$2 [L]
Au premier niveau ça semble fonctionner :
si on appelle http://www.rogermuller.fr/peinture.html, ça renvoie bien à la page http://www.rogermuller.fr/index.php?rubrique=peinture
Par contre problème au 2nd niveau :
si on appelle http://www.rogermuller.fr/peinture-minotaure.html, ça ne renvoie sur rien,
alors que ça devrait renvoyer vers http://www.rogermuller.fr/index.php?rubriq...euvre=minotaure
Ca fait un moment que je planche en vain sur le truc.
Si quelqu'un a une idée...
Merci