hbhh Posted January 24, 2017 Share Posted January 24, 2017 (edited) Bonjour, Je souhaite faire une redirection de ce genre : www.monsite.com/test vers www.monsite.com/fr/test Sachant que le /fr est un répertoire virtuel, le htaccess, qui se trouve à la racine de mon site, ne comprend pas. Comment faire pour le faire fonctionner? Merci par avance Edited January 24, 2017 by hbhh (see edit history) Link to comment Share on other sites More sharing options...
Ornot Posted January 24, 2017 Share Posted January 24, 2017 bjr, essaie ceci dans l' .htaccess RewriteEngine On RewriteRule ^test/(.*)$ http://www.monsite.com/fr/test/ [R=301,L] Ornot 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