Today web sites around the world serve users content translated in multiple languages that’s how everyone can get access to the internet around the world. Google uses HREEFLANG attributes to make sure the right language is shown in the right region and helps you to targeting users international.
Today we’re going to show you how to create different language URLs for your website. In other words, we’re going to teach you HREFLANG tags HREFLANG tags tell Google what language your pages in by looking at its URL so let’s pretend that your website is called we love to program dot com you want to launch the Spanish version of your website for customers in Spain so you can let Google know that this page is the Spanish version of the English equivalent in a few ways You can add Hreflang tags in 2 Ways:
- HTML link element in the header (Recommended for Blogger)
- Adding in your Sitemap
Fixing No Hreflang tags error using HTML link element Firstly, HTML link element in the header in the main HTML head section of we love to program dot com you can add a link element that points to the Spanish version like this simply go to your URL adding an “es” local at the beginning. This is best way to fix your Site has No Hreflang tags Error in your Blogspot Blogger site or blog. Here’s an xample how to you can add HREFLANG tags: <html>
<title>Adding Hreflang tags in blogger website
<meta name=”description” content=”sample description”/>
<link rel =”https://www.esmoltx.com” hreflang=”es”/>
<!–Here change this URL with your site address otherwise it will cause a problem–>
<p>Body Content </p>
</html> Also, it’s required to link the English page with the Hreflang tag. So, we include the alternate version has an en locale at the end.
<link rel =”https://www.moltx.com” hreflang=”en”/>
Fixing No Hreflang tags error using Sitemap
Similarly, at the same a Hreflang tags on the Spanish page
hi dot we love the program dot com this ensures that the two pages are interlinked and Google will identify them as different language versions of the same page number two your site map if you don’t want to use hreflang markup at all then you can simply submit your sitemap in its different language versions this is a simple way of achieving the same results here we are adding the Spanish version of the URL links to the English version and just like we did for the HTML link process we need to link the English page to the Spanish page too again we can use hreflang tags in two ways one HTML link
element in the header or two adding the tags directly on your sitemap for effortless localization of your website contact us and let us manage it for you.
You can simply Submit your sitemap in its different languages versions here example: </xml version=”1.0″ encoding=”UTF-8?”
</urlset> CONCLUSION, In Conclusion, warping up the post As we Fix your Site has No Hreflang tags Error in Blogger Successfully. As we have shown 2 best possible ways to fix this error which occurs in Google Search Console you can fix your site No hreflang error by HTML link element in the header or by adding it in your Sitemap. Hope it fixed your hreflang error comment down in you have any questions.