20 votes
Accepted

Is using optional URL segments bad for SEO?

If you canonicalise appropriately, it is fine. Use rel="canonical" to specify that the pages are identical, and hreflang for the alternate languages. <link rel="canonical" href="https://example....
grg's user avatar
  • 3,207
13 votes
Accepted

Hreflang & duplicate content on a multi-language website

With the rel=canonical across languages (eg, de -> canonical -> en), you're saying that these pages are equivalent and that you have a preference regarding which URL to index. If that's the case, if ...
John Mueller's user avatar
  • 7,451
6 votes
Accepted

When the root URL of a domain doesn't have a specific site, how should visitors be directed to language folders?

Many multi-lingual sites don’t have the language tag for the default/primary language in the URL¹, but I think it’s better to include it. So yes, in my opinion, it’s not only good design, it’s the ...
unor's user avatar
  • 21.7k
5 votes

Proper status code for language redirection (301, 302, … 307)?

For users either a 302 or 307 redirect is fine. The only practical difference between those and a 301 redirect is caching. Browsers cache a 301 redirect. If the user changes their browser language ...
Stephen Ostermiller's user avatar
5 votes
Accepted

Foreign text on English website

You should use the lang attribute (e.g., on the html element) to declare the language, not a meta tag. This allows you to overwrite the language declaration for other parts on the page (note the lang ...
unor's user avatar
  • 21.7k
4 votes
Accepted

Should we localize URLs for default language or not?

I think it’s better to include the language code for the default language, too. Quoting the pros from my answer on Stack Overflow: If you decide to change the default language, you don’t have to ...
unor's user avatar
  • 21.7k
4 votes

What is the difference between HTML lang attribute and LINK hreflink attribute?

Which method should I use ... What is the difference between <html lang> and <link hreflang>. You can use both. The lang attribute on the html tag informs user-agents the language of the ...
DocRoot's user avatar
  • 4,297
4 votes
Accepted

Are hreflangs needed in the XML sitemap if they are used in the head of each page?

Wherever you put the hreflang is fine you have to use only one of the above methods. Find the methods suggested by Google here: Tell Google about localized versions of your page Methods for ...
John Could's user avatar
4 votes
Accepted

Creating a multilingual page or two different versions of a page?

The only flaw would be that _ is not a Google-recommended separator for filenames. Unless there are technical reasons to use _, it is better to use - instead. This has historical reasons and Google ...
Malte Landwehr's user avatar
3 votes
Accepted

When translating a site go with URLs in Chinese or English?

The URLs should be in the same language as the content. Ideally you would also translate the relevant path segments (like "product" in your example), not only the slug. A URL that’s in a language ...
unor's user avatar
  • 21.7k
3 votes

Clean URLs at multilingual single-page site

There is nothing wrong with your desire to clean the URL's up a but per-sey, however I will point out a few things here... Users are generally accepting of having a language code in the URL (either ...
Chris Rutherfurd's user avatar
3 votes

How can I use dual language metadata?

So you have a page with content (in the body) in one language, and you want to provide the metadata (in the head) in multiple languages. HTML In general this is easily possible by providing ...
unor's user avatar
  • 21.7k
3 votes

Does different IP address of similar sites affect SEO?

Separate IP addresses for different languages is not in and of itself something that can improve SEO. Hosting content within the country to which it is targeted can improve SEO. There are a couple ...
Stephen Ostermiller's user avatar
3 votes
Accepted

German site is not indexed, Search Console says it is duplicate of the English site, even though it is different language content

Your German site isn't 100% translated. It has an English footer, site notice, and privacy policy. If all of those were translated, I would bet that Googlebot wouldn't see your site as duplicate ...
Stephen Ostermiller's user avatar
3 votes
Accepted

Root index.html file of a multi-language website

Search engines love multiple-languages and are super flexible Google and Bing are very flexible when it comes to structuring a website with multiple languages. The first thing you should know about ...
Simon Hayter's user avatar
3 votes

How to configure the robots.txt file with a multilingual site?

Your question is not clear. Are you trying to block any version of your site? Robots.txt is used to disallow or allow search engines from crawling particular locations of your website. Also, your ...
idk's user avatar
  • 988
3 votes
Accepted

SEO impact on switching the landing page language

That's really interesting question, Google generally consider it as some kind of mistake by webmaster and will lower the position of that page, for example when site is hacked by someone, Google ...
Goyllo's user avatar
  • 5,507
3 votes

Why do some websites have language specific URLs, when the users still use the .com version?

Automatic language detection doesn't work well. It is usually based on either the geographic region associated with the IP address or based on the Accept-Language parameter. Geo IP databases are ...
Stephen Ostermiller's user avatar
3 votes
Accepted

How to exclude a site address without url prefix from being crawled by search engines?

It is desirable to let search engine bots crawl your domain's root URL. You just need to implement an alternative to the redirect. For users, you also need a page for when the browser language does ...
Stephen Ostermiller's user avatar
3 votes
Accepted

Multi-Language Website Language Redirect Google Index Compatibility

Instead of using a fallback to English, create a simple page that lets the user choose their language. It can be very bare, saying little more than: Deutsch | English | Français This page can also ...
Stephen Ostermiller's user avatar
3 votes

Do different language versions of websites rank as good as the main

Having the site rank high in one language does not mean it will be high in other languages. However, if you link your English instance (with high reputation) with the instance in other languages, it ...
NeNaD's user avatar
  • 286
3 votes
Accepted

Home page redirection (due to multiple language versions)

I have a similar setup and asked a similar question here: localized-start-page You might want to define one default language and allow the user to change the language. An alternate solution would be ...
Peter206's user avatar
  • 181
2 votes

Why doesn't Google index the translated versions of my page?

Google does not use the rel=alternate links in crawling a website and indexing other language pages. You need some form of linking on your site to access the translated sections of your site so that ...
Chris Rutherfurd's user avatar
2 votes
Accepted

Multiple languages what to do with title tags alt tags etc

Alt attributes are essentially to tell users what an image is about, so if you have the rest of your content localized, it would make sense to localize those too.
John Mueller's user avatar
  • 7,451
2 votes
Accepted

hreflang tag to be added on each page of the website or only on homepage?

Yes, every page with an alternate. This is clearly stated in the specification: rel="alternate" hreflang="x" is used as a page level, not a site level, and you need to mark up each set of pages, ...
GDVS's user avatar
  • 7,795
2 votes
Accepted

How can a two language page (about learning a language) be optimized for search engines?

As this page is for people that can speak English and want to learn Italian, the URL path as well as most parts of the content (the header, the navigation, the footer, etc.) should be in English. If ...
unor's user avatar
  • 21.7k
2 votes

How can a two language page (about learning a language) be optimized for search engines?

How should I SEO a page like that? you should firstly think about: what SEO value has the page? To be honest, the answer would be: nearly zero. then you should think about users, who maybe are ...
Evgeniy's user avatar
  • 10.1k
2 votes

Proper status code for language redirection (301, 302, … 307)?

The problem with automatic redirection based on the user's language is that it could prevent users and search engines from viewing all the versions of your site. The best approach is to cross link ...
marcanuy's user avatar
  • 2,644
2 votes

Multilanguage Website with language parameters inside URL and HTACCESS redirect

Two points here. Conditional redirection and SEO The conditional redirection isn't a problem if correctly configured. In Google's case, they're now using "locale aware crawling", whereby their ...
GDVS's user avatar
  • 7,795

Only top scored, non community-wiki answers of a minimum length are eligible