1

In Magento, multilingual sites are managed with store views, then we can choose different approach regarding how to manage the URLs:

  1. "Add Store Code to URLs" (a backend setting)
  2. Have different domain for each store views (Multi-Site, Multi-Domain Setup)

The first option will add store code at the end of the URL so if the code is en, the URL will be MYDOMAIN/en/.

This option sounds good but the note under it says:
"Warning! When using Store Code in URLs, in some cases system may not work properly if URLs without Store Codes are specified in the third party services (e.g. PayPal etc.)."

Is it safe ?

The second option is only possible if you have more than one domain and let you assign the domain to store views.

My question is what are the best practices?

There are other better solutions?

1

There is a third solution: Neither use the first nor the second. Then the storeview is only reachable via manual change and will be saved in a cookie/session.

I think your options are best practice. Without the possibility to identify the storeview by the url, it is not possible to copy and paste urls and end on the same page as your friend.

And in the end, the customer decides what fits best for him.

  • the cookie/session stuff is a default behavior or I'm wrong ? – Fra Feb 13 '13 at 10:15
  • no you are not wrong. There is a store_change_block or something. What I wanted to emphasize is, that having the storeview somehow in the url is important :) – Fabian Blechschmidt Feb 13 '13 at 12:12
  • 2
    You need to be careful with this as it will have dramatic SEO issues if you are looking for your store to be indexed under multiple languages. – Ben Lessani - Sonassi Feb 13 '13 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.