Bonjour, voila mon probleme, j'ai 2 pages departement.php et villes.php on y accede via www.site.com/region/departement.html et par www.site.com/region/departement/ville.html
mon code :
Le premier marche très bien, mais mon deuxieme est "écrasé" par le premier, je comprend pas trop pourquoi ? Auriez vous une idée, suggestion ou autres ?
Merci !
mon code :
Code:
RewriteRule ^(.*)/(.*)\.html$ /Portail/departement.php?rg=$1&dpt=$2 [L]
RewriteRule ^(.*)/(.*)/(.*)\.html$ /Portail/ville.php?rg=$1&dpt=$2&city=$3 [L]
Le premier marche très bien, mais mon deuxieme est "écrasé" par le premier, je comprend pas trop pourquoi ? Auriez vous une idée, suggestion ou autres ?
Merci !