Bonjour
Je n'arrive pas à rediriger cette adresse :
http://www.monsite.com/catalog/default.php?cPath=59
http://www.monsite.com/catalog/product_ ... ucts_id=85
j'essaie ça dans le .htaccess mais ca marche pas :
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^articles-([0-9]+)\.html$ default.php?cPath=$1 [L]
RewriteRule ^produits-([0-9]+)-([0-9]+)\.html$ product_info.php?cPath=$1products_id=$2 [L]
La première avec article marche mais pas celle avec produits
Je voudrais obtenir :
http://www.monsite.com/catalog/produits-41-85.html
Si quelqu'un avait une idée
Merci d'avance
Cordialement
Je n'arrive pas à rediriger cette adresse :
http://www.monsite.com/catalog/default.php?cPath=59
http://www.monsite.com/catalog/product_ ... ucts_id=85
j'essaie ça dans le .htaccess mais ca marche pas :
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^articles-([0-9]+)\.html$ default.php?cPath=$1 [L]
RewriteRule ^produits-([0-9]+)-([0-9]+)\.html$ product_info.php?cPath=$1products_id=$2 [L]
La première avec article marche mais pas celle avec produits
Je voudrais obtenir :
http://www.monsite.com/catalog/produits-41-85.html
Si quelqu'un avait une idée
Merci d'avance
Cordialement