Jump to content

How to force one language to an other in multiple language?


Recommended Posts

Hello!

 

I´m on prestashop 1.6.

 

At this point we only have one language (danish = da) but have plans to add english at some point next year.

 

To make sure that Google tracks urls with "webshop/da/" from the beginning, I have activated the language english as well. So that /da/ shows up.

 

All links to the site is to the /da/ and also the root is changing to /da/.

But for some reason a few people ends up at the /en/ version. I would like that not to happen.

 

What is the best way to change pages from

 

http://wiinstedt.dk/webshop/en/   to

http://wiinstedt.dk/webshop/da/ ?

 

Is it through the .htaccess file and how would the code look like?

 

Or is it coding a file in prestashop?

Can I force one language to an other with a little programming?

 

OR do you see a better way of handeling the whole thing.

Just want to make sure that google doesn´t mess with me when adding a new language later.

And I´m not experienced with programming the .htaccess file.

 

Best Thomas

 

 

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...