How To Add Hreflang Tag In WordPress (With And Without Plugin)

WordPress is not just a blogging platform anymore, nowadays more and more companies are using it WordPress to build their full fledge websites, and if you too using WordPress to make your own website and your website publish contents in more than one language then you should be aware of Hreflang tag, how important this Hreflang tag is for you and for your website, and it can make your website perform well in SERP, it can improve your SEO those regions and languages.

What Is Hreflang Tag?

Hreflang tag tells the search engine to show a particular page for region and language, you can even show your content is targeted toward another variant of the language, by extending the hreflang attribute which indicates to which region the content is targeted for, like in below example es-es is targeted for Spanish in Spain, whereas, es-mx is for Spanish in Mexico:-

<link rel=”alternate” href=”itechnixnetwork.net” hreflang=”en-us” />
<link rel=”alternate” href=”itechnixnetwork.net/fr/” hreflang=”fr-fr” />
<link rel=”alternate” href=”itechnixnetwork.net/es/” hreflang=”es-es” />
<link rel=”alternate” href=”itechnixnetwork.net/es/” hreflang=”es-mx” />

Noawadays Search Engine is smart enough to identify the language of the page and automatically match it to the language settings on user’s browser. But if you are publishing same contents in the different language then your own contents will be competing with each other.

To solve this issue, you can use hreflang tag, here we will see how you can add this tag in WordPress with Plugin or Without Plugin.

How To Add Hreflang Tag in WordPress With a Plugin:-

If you don’t want to dig yourself in code, and want a simple way out then you can use Polylang plugin, it is a free multilingual plugin which you can use to make your multilingual WordPress site.


This plugin will take care of all technical things and lets you focus on your content only. Polylang has a simple but very useful interface.

How To Add Hreflang Tag in WordPress Without a Plugin:-

If you don’t want to use a plugin or want more control over your control then you can do it, this is the beauty of WordPress, it lets you publish contents they way you want, it lets your take control of your contents.

HREFLANG Tags Lite Plugin

You can install HREFLANG Tags Lite, a free plugin, and once install and activated, it will add a menu to your WordPress Admin page, just navigate to it and select the post type on which you want to enable it.

HREFLANG Tags Lite Plugin Option

Once done, edit page or post and you will see a new meta box there, first, you need to add the URL and then add a language, you click Plus button to add other variations. Once done, update your post and you are done.

How To Check:-

To check whether you have implemented Hreflag tags properly or not, then you need to visit your page and view its source code and press CTRL+F or Command+F and search for hreflang tags there.

Do let us know how you like to use hreflang tags, with a plugin or without a plugin.

Leave a Reply