Multi Language website with subfolders, what to do with root domain?

I am establishing a Magento multilanguage internet site with subfolder as recommended by several SEO and also Google standard.

For example:

example.com/it (Italian default)
example.com/en (English)
example.com/fr (French)
example.com/de (German)
example.com     (what to do with this?)

Magento makes it very easy making use of "Add Store Code to URLs" revealing proper language for each and every subfolder.

I read several strings concerning language subfolders yet none is recommending what to to with the origin domain name example.com.

My default language is /it, I might be incorrect yet it appears that Magento maintains default language web content both on example.com and also example.com/it.

So what is ideal technique for when a customer get to example.com?

6
2022-07-25 20:38:48
Source Share
Answers: 2

You have numerous possibilities:

Choose one language

Choose one language and also reroute. If you have a "main" language after that this could be the most effective alternative.

Instantly identify the language

Use the Accept - Language header that the internet browser sends out and also instantly reroute suitably. Google does this for global site visitors.

Making use of . htaccess and also mod_rewrite you can make use of code similar to this to make it happen:

RewriteEngine on
RewriteCond %{HTTP:Accept-Language} (de) [NC]
RewriteRule index.html http://example.com/de/ [R,L]

Offer customers a selection

Ikea utilizes this remedy:

So does Wikipedia.

1
2022-07-25 22:19:30
Source

If your default language is/ it, after that make example.com/it as your default web page with italic web content. Show ideal variation of web content for your customers. Regrading example.com English web content will certainly be ideal technique for customers

0
2022-07-25 21:21:57
Source