skrill Posted October 20, 2009 Share Posted October 20, 2009 Bonjour à tous, Un petit sousci de rewriting que je n'arrive pas à élucider. J'ai fait des liens qui ont mal été interprété par spip et je ne m'en suis pas rendu compte lors de la soumission. Le petit spip à donc interprété mes '--' par '%E2%80%94' Je cherche donc à rewriter l'url avec les '%E2%80%94' j'ai donc essayer de type d'écriture sans succès RewriteRule ^repertoire1/sousrepertoire/mon-titre-de-page%E2%80%945,18\.html$ repertoire1/sousrepertoire/mon-titre-de-page--5,18.html [R=301,L,QSA] Merci d'avance. Link to comment Share on other sites More sharing options...
Jeanluc Posted October 21, 2009 Share Posted October 21, 2009 Bonjour, Je n'ai pas de solution élégante, mais tu devrais pouvoir remplacer chacun des %** par un . comme ceci : RewriteRule ^repertoire1/sousrepertoire/mon-titre-de-page...5,18\.html$ repertoire1/sousrepertoire/mon-titre-de-page--5,18.html [R=301,L,QSA] Jean-Luc Link to comment Share on other sites More sharing options...
skrill Posted October 21, 2009 Author Share Posted October 21, 2009 Pas élégant soit ! mais cela fonctionne. Merci Jean-luc pour cette réponse efficace. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now