williambesson Posted March 2, 2015 Share Posted March 2, 2015 Hello, I am building a shop in both French (default) and English. The english version is not completely ready so I would like to implement a redirection from the English version to the French version. (even better if possible that any language browser ends up on the French version.) How can I do that? I have found this somewhere but it didn't really work out: RewriteEngine On RewriteRule ^fr/(.*)$ /da/$1 [L,NC,NE,R=301] Any other idea? Many thanks for your time on this. Best regards. Guillaume Link to comment Share on other sites More sharing options...
fred-vinapresta Posted March 2, 2015 Share Posted March 2, 2015 (edited) Hi, why don't you disable the other languages in admin until you finish to translate them, french language will be the default one? Edited March 2, 2015 by fred-vinapresta (see edit history) Link to comment Share on other sites More sharing options...
williambesson Posted March 2, 2015 Author Share Posted March 2, 2015 Hi fred-vinapresta, Thanks a lot for the fast reply. I tried this but unfortunately I have a lot of hard coded links with the language code in them so if I disable the additional language in the back office a lot of my links will fall apart for the default version. Any other idea? Thanks a lot. Guillaume 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