Nouveau WRInaute
Je voudrais faire une redirection de tous les page contenant 1_p1.html vers mes pages content .html
Je fais une redirection de l'ancienne adresse vers la nouvelle avec cela:
RedirectPermanent /produit/formage_23-p_1.html http://www.monsite.fr/produit/fromage_23.html
mais j'obtiens cela ?f1id=23 à la fin et non .html En faisant cela je peux accèder ma âge de deux façons.
Mon code actuelle c'est:
RewriteRule ^produit/(.*)_([0-9]+)-p_([0-9]+)(.htm|.html|.php|/)$ filtre.php?f1id=$2&p=$3 [L]
RewriteRule ^produit/(.*)_([0-9]+)(.htm|.html|.php|/)$ filtre.php?f1id=$2 [L]
Pourriez vous m'aider svp?
Je fais une redirection de l'ancienne adresse vers la nouvelle avec cela:
RedirectPermanent /produit/formage_23-p_1.html http://www.monsite.fr/produit/fromage_23.html
mais j'obtiens cela ?f1id=23 à la fin et non .html En faisant cela je peux accèder ma âge de deux façons.
Mon code actuelle c'est:
RewriteRule ^produit/(.*)_([0-9]+)-p_([0-9]+)(.htm|.html|.php|/)$ filtre.php?f1id=$2&p=$3 [L]
RewriteRule ^produit/(.*)_([0-9]+)(.htm|.html|.php|/)$ filtre.php?f1id=$2 [L]
Pourriez vous m'aider svp?