Odjavel Posted January 6, 2014 Share Posted January 6, 2014 Bonjour à tous ! Petit problème d'URL rewriting. Je migre actuellement de PS 1.4.5 vers PS 1.5 Jusqu'à présent, j'ai des pages de recherche qui sont référencées chez Google avec des URL rewritées, sous la forme : monsite.com/search-mot1-mot2-mot3. Dans mon .htaccess PS 1.4, j'ai les lignes suivantes : RewriteRule ^search-([a-zA-Z0-9-+]*)-([a-zA-Z0-9-+]*)-([a-zA-Z0-9-+]*)$ search.php?tag=$1+$2+$3 [L,E] RewriteRule ^search-([a-zA-Z0-9-+]*)-([a-zA-Z0-9-+]*)$ search.php?tag=$1+$2 [L,E] RewriteRule ^search-([a-zA-Z0-9-+]*)$ search.php?tag=$1$3 [L,E] ça marchait très bien en PS 1.4, mais ça ne marche plus en PS 1.5 ! Dès que je lance une URL simplifiée, je suis automatiquement renvoyé vers: monsite.com/recherche?tag=mot1+mot2+mot3 Quelqu'un pourrait-il m'aider à reformater mes instructions htaccess pour que cela fonctionne en PS 1.5 ? Merci d'avance. 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