Just how should I structure my URLs for both SEO and also localization?

When I set up a website in numerous languages, just how should I set up my URLs for internet search engine and also use?

Allow's claim my website is www.example.com, and also I'm converting right into French and also Spanish. What is ideal for use and also SEO?

Directory site alternative:

http://www.example.com/sample.html
http://www.example.com/fr/sample.html
http://www.example.com/es/sample.html

Subdomain alternative:

http://www.example.com/sample.html
http://fr.example.com/sample.html
http://es.example.com/sample.html

Filename alternative:

http://www.example.com/sample.html
http://www.example.com/sample.fr.html
http://www.example.com/sample.es.html

Accept-Language header:

Or should I merely parse the Accept-Language header and also create web content server-side to match that header?

Exists an additional means to do this? If the various language variations do not have various links, what do I do concerning the internet search engine?


UPGRADE 2011-12-06

Google has new referrals for meta tags for clearly indicating various other language web content: New markup for multilingual content.

UPGRADE 2012-05-25

Relevant yet not specifically: Multilingual and multinational site annotations in Sitemaps

UPGRADE 2013-06-12 Targeting site content to a specific country consists of conversation of numerous URL systems straight pertinent to the inquiry.

0
2019-05-04 03:54:34
Source Share
Answers: 5

Answering an inquiry comparable to your own on his blog site, Matt Cutts suggests :

If you have websites with claim French and also German variations for an organisation, my choices would certainly be :

  1. ccTLDS such as example.fr or example.de
  2. After than, subdomains such as fr.example.com or de.example.com.
  3. If that's not feasible, I would certainly make use of subdirectories such as example.com/fr/ or example.com/de/
0
2019-05-08 14:15:46
Source

I would certainly not make use of subdomains. In regards to SEO it's much less handy : http://www.hobo-web.co.uk/seo-blog/index.php/blog-subdomain-or-subfolder-which-is-best/.

Comparable talk below : Subdomain versus subdirectory.

If you consider large websites, one of the most usually make use of subdomains.

It additionally depends if your organisation is even more of an international or neighborhood nature. We are a copyrighting firm, so for usage its even more neighborhood organisation. Consequently Top Level Domains are far better than running every little thing on .com.

Filename is a principle I have actually not seen yet.

0
2019-05-08 11:01:49
Source

This coincides inquiry I asked on Stack Overflow. And also I obtained a source for it, which I'll upload as a solution below.

I have actually located a wonderful resource from Google on the selections you can make. There is an area with benefits and drawbacks of each method you can make use of.

I have actually been having problem with multi - lingual internet sites for some time currently. There are most definitely some factors in the write-up that are not stated in the solutions stated. That why I really felt the demand to upload this as a solution. I wish this aids a person out.

0
2019-05-08 10:40:52
Source

As a German customer I despise it when an internet site will not allow me on the English web page due to the fact that it's assume it recognizes far better what I desire. It could be tough for Americans to recognize yet there are in fact individuals that talk greater than one language.

Occasionally I could intend to watch the German internet sites and also occasionally I could intend to watch the English one.

Merely analyzing the Accept-Language header could drive me crazy.

That specifically real if your German web page is an economical translation of your English web page.

To make it very easy for your customer the English variation need to additionally have localisation such as domain.com/en/ or en.domain.com.

When I type domain.com you get one hunch to offer me the English or the German web page based upon my Accept-Language header. If I nonetheless do not like your selection, I need to have the ability to merely trade the language in the domain.

Bonus tip : If you have the language before the domain both keying ger.domain.com and also de.domain.com need to bring me to the German internet site.

0
2019-05-08 10:37:16
Source

In my point of view, you need to make use of either the folder or subdomain strategy, due to the fact that they are extra instinctive to the customer. Which one refers individual preference, I directly find the folder strategy more clear. The filename alternative is much much less instinctive.

Analyzing the Accept-Language header for routing the customer to the proper web content on his first browse through is an excellent suggestion, yet you need to just do it to reroute on the folder or subdomain url. Or else, it would certainly be difficult to link to web content in a details language, and also the indexing of your internet site will certainly be a mess.

0
2019-05-07 23:41:25
Source