Need help related to Language tag error

Aniket Kumar

Free Member
May 10, 2021
7
0
London
My business is running in different regions and to support those regions I have translated the website into different languages. As Google states the same website sunning in different languages must put a language tag on their website. I have inserted that tag into the website.

As the Google crawl crawled those links then it started to give an error as return tag not found. Help will really be appreciated. I am also getting errors like conflicting hreflang URL's.

If needed I can send you the URL for better understanding.
 
What locales and languages do you want to cater for and are how are you serving the variations of your website (sub-domain, sub-directory or different ccTLDs)?

Examples

Code:
Sub-domain: https://es.example.com
Sub-directory: https://example.com/es
ccTLD: https://example.es
 
Upvote 0
Languages are: Danish, Dutch, Finnish, Norwegian, Swedish

OK thanks.

Here are the hreflang tags you would need to use in your <head>...

Code:
<link rel="alternate" href="https://www.example.com" hreflang="en" />
<link rel="alternate" href="https://da.example.com" hreflang="da-dk" />
<link rel="alternate" href="https://nl.example.com" hreflang="nl-nl" />
<link rel="alternate" href="https://fi.example.com" hreflang="fi-fi" />
<link rel="alternate" href="https://no.example.com" hreflang="no-no" />
<link rel="alternate" href="https://sv.example.com" hreflang="sv-se" />

You may need to modify your default domain instance accordingly.

Add each variation of your website for each locale targeting in Google Search Console and go to:

Legacy tools and reports > International targeting

And ensure you specify which country each of the dub-domains is targeting.

Let me know if that helps.
 
Upvote 0
Actually, we are using different lang tag codes on our website:

Actually, we are using different tags, please visit the website given in the profile section to see if the code is right or wrong.

As here I cannot post the codes as it contains links.
 
Upvote 0
Actually, we are using different lang tag codes on our website:

Actually, we are using different tags, please visit the website given in the profile section to see if the code is right or wrong.

As here I cannot post the codes as it contains links.

I just looked at the website and you are using sub-directories for each country on a UK sub-domain - that doesn't even make a lot of sense.

I gave an example above of how it needs to be structured - just change the tags to meet your requirements.
 
Upvote 0

Latest Articles