27 votes
Accepted

Same Arabic phrase encoding into two different urls, why? How to handle?

The difference comes from normalization. I know nothing about Arabic language but if I use both strings in a Unicode viewer, the difference starts right at the left part of the string. First string is ...
Patrick Mevzek's user avatar
12 votes

Why is a message showing in Google Analytics language column?

Google Analytics Spam is linking to THIS discussion thread now. If you got to this thread because you saw a referral in your Google Analytics, YOU HAVE BEEN FOOLED. Check the Language for those ...
Mike Sullivan's user avatar
10 votes
Accepted

Why is a message showing in Google Analytics language column?

You can ignore this. It has no impact on your site.¹ What is happening? When requesting resources from your site, clients (i.e., bots, humans using a browser, …) can send additional request headers (...
unor's user avatar
  • 21.7k
8 votes

Can a <link /> element's href attribute be relative?

Looks like it. This example comes from the HTML5 specs: For example, the following link is a French translation that uses the PDF format: <link rel=alternate type=application/pdf ...
RolfRB's user avatar
  • 363
8 votes
Accepted

SEO impact of using non-Latin characters in URL

Some SEOs are wary of using these non-Latin characters in URLs because of the way it might display in certain browsers, or in certain text cases when the link is copied and pasted somewhere online....
Josip Ivic's user avatar
  • 3,878
5 votes

Why would my website language be incorrectly detected, and how do I set it to the right language?

Try this in the <head> section: <meta charset="UTF-8"> <meta name="google" content="notranslate"> <meta http-equiv="Content-Language" content="en">
Steve's user avatar
  • 8,458
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
5 votes
Accepted

Why would my website language be incorrectly detected, and how do I set it to the right language?

One thing to note is that when Google suggests, "This page is in XYZ" and offers translation, it doesn't necessarily mean it thinks the entire page is in that language. Even if it thinks ...
DocRoot's user avatar
  • 4,297
5 votes

Should permalinks be in English on a non-English website for better SEO?

Permalinks, like all other site content, should be in the native language of the website if possible. As far as I know, there is no SEO benefit to having permalinks in a different language from the ...
Maximillian Laumeister's user avatar
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

Recommended approach for slug generation with multiple languages

You'll have better user metrics, if you create slugs in language according to the language version: users will easier remind about page addresses to visit them twice, users will faster understand ...
Evgeniy's user avatar
  • 10.1k
4 votes

French language comes up before English language site for site: search on English version of Google

To answer your questions: If you do not have localized country-specific versions of your site live at the https://www.construct.net/en-us and https://www.construct.net/fr-fr URLs, then remove those ...
Maximillian Laumeister's user avatar
3 votes
Accepted

How to make sure Chinese text is rendered in webpage?

If the specified font doesn’t contain a glyph for a character, browsers typically use a fallback font to render this character. (Browsers don’t have do this, of course, and how it exactly works ...
unor's user avatar
  • 21.7k
3 votes
Accepted

How to make a website with another language but support to English Search Queries (Local Site)?

First off, I want to address the decision over language - as I initially thought that you would want to use both languages on your website... but the more I researched, the more I realized that it is ...
Josh Salganik's user avatar
3 votes

How to make a website with another language but support to English Search Queries (Local Site)?

@BenoitLussier If you read my answer, English is (to some degree) naturally integrated into the Sinhala Language. Not to mention, Google understands the user's language based on their interface ...
Josh Salganik's user avatar
3 votes
Accepted

Do you use the country or country and language for subdomains?

Google determines language by running your page through a machine learning algo, they don't use tags: Google uses the visible content of your page to determine its language. We don’t use any code-...
Maximillian Laumeister's user avatar
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

Hreflang attribute on <a> tag

The a hreflang attribute is indeed a semantically correct way to signal that a linked page is in a different language than the current page. Regarding SEO, it never makes sense to worry about the ...
Maximillian Laumeister's user avatar
3 votes
Accepted

For language URLs, should the default language gets its own subdirectory or take the document root?

Either way can work fine for SEO. There is going to be no difference in crawl rate. Targeting can be done either way with hreflang. I have a site with great SEO with English at the root of the ...
Stephen Ostermiller's user avatar
3 votes

SEO impact of default language duplication vs redirects

Regardless of redirects (Saw your comment), if you don't set hreflang annotations and canonicalize pages Google will likely consider them duplicates. Via document <head> <head> <title&...
Mike Ciffone's user avatar
  • 6,360
2 votes

Language of friendly URLs

According to this, you should use same language in your url as your content. Besides, that just makes sense.
Joshua Goossen'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

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
Accepted

Serve index.html by language and charset (a thing from the past)

Those files are almost certainly meant to be served via Apache content negotiation. Since there does not appear to be a .var file to serve as an explicit type map, and since the file name extensions ...
Ilmari Karonen's user avatar
2 votes

Serve index.html by language and charset (a thing from the past)

I would recommend issuing redirects so that search engines can view unique urls for each language. Here are some rewrite rules that you could use in your .htaccess file: RewriteCond %{HTTP:Accept-...
Stephen Ostermiller's user avatar
2 votes

Does any major website have a language specific sub-directories rather than sub-domains?

Yes there are some sites that still do use the subdirectory name for different languages. Most have moved away from that method and are using domain names such as example.es instead of es.example.com. ...
norcal johnny's user avatar
2 votes
Accepted

Should I put my locale query param in sitemap url?

You are correct that adding the locale parameter to the sitemap would let Google know that is the preferred canonical version of the URL. John Mueller who works at Google on sitemaps gives that as ...
Stephen Ostermiller's user avatar
2 votes

Duplicate titles being flagged are on pages with different languages

Try implementing hreflang metadata on each page. It can be a long process, but it should help search engines to see each page as language- and region-specific, and prevent these pages from showing up ...
Henry Visotski's user avatar
2 votes

How should I structure my URLs for both SEO and localization?

The latest adoption into this direction like Single Page Application (SPA) for SAAS based products - Using different websites for different countries will be lose link juice that would otherwise go ...
Prem Nath Vishwakarma's user avatar

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