Jump to content

How to force redirection from a language to another


Recommended Posts


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.
Link to comment
Share on other sites

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.



Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...