This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.




  • Creates a new meta box under Posts, Pages and Categories named HREFLANG
  • Supports all languages that WordPress supports
  • Integrates with WordPress Multisite

HREFLANG Tags Pro features!

  • HTML GeneratorGenerate HTML code instantly for use on your non-WordPress websites
  • Bulk EditorSave yourself the hassle of opening each page, post or product one-by-one and use this tool to update all your entries in one convenient location. Improved Bulk Editing capabilities, including the ability to save and delete all your HREFLANG Tags in one click. Comes with a Master Template that you can use to set all your posts and pages default tags in one click!
  • Validation toolTest your hreflang implementation directly from the meta box you are working from. No more external tools or waiting for Google to index your pages
  • HTML Language AttributeFor improved SEO, you can now set the per post or page.
  • Enhanced WooCommmerce SupportYou can now set hreflang tags on the shop main page (or block them completely)
  • BULK Validation Tool – Do you use our Bulk Editor to enter all of your tags? If so, you no longer have to check the validation results page-by-page. View all of your validation results in one place with our brand new Bulk Validation Tool.
  • NEW – Select Language independent from region in our latest pro version. Click here to upgrade now
  • IMPORTANT NOTICE – These features are NOT available with our Lite version. You may visit our website for more information regarding our Pro version.

Tutorial/How to Video

I get a lot of requests for a user manual or a tutorial on how to best set up the hreflang tags.

Here it is.

You can easily upgrade to the powerful Pro tools via our online store.

If you enjoy using this plugin and it saves you time and/or money, please help out with a small donation to show your appreciation. This keeps me motivated to continue developing cool plugins for the community. Even $1 is fine!

-> Click here to donate $1


Please contact at us for any questions.


  • Meta box
  • Dashboard
  • HTML Generator (Pro feature, upgrade easily from plugins settings page)
  • Bulk Editor (Pro feature, upgrade easily from plugins settings page)


Follow the steps below to install the plugin.

  1. Upload the hreflang-tags-for-wordpress directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


How can I purchase the Pro version?

HREFLANG Tags Pro is now HREFLANG Tags for WordPress. Drop by and view our many different pricing models.

What are HREFLang Tags?

Hreflang Attribute. The hreflang attribute (also referred to as rel=”alternate” hreflang=”x” ) tells Google which language you are using on a specific page, so the search engine can serve that result to users searching in that language.

Who should use this plugin?

Google recommends the use of hreflang tags if the any of the following are true:

*You keep the main content in a single language and translate only the template, such as the navigation and footer. Pages that feature user-generated content, like forums, typically do this.
*Your content has small regional variations with similar content in a single language. For example, you might have English-language content targeted to the US, GB, and Ireland.
*Your site content is fully translated. For example, you have both German and English versions of each page.

What does Google say about hreflang tags?

Watch the video below to see what Google says about using hreflang tags

Why can’t I get my tags to validate?

Important: Make sure that your provided hreflang value is actually valid. Take special care in regard to the two most common mistakes:

Missing confirmation links: If page A links to page B, page B must link back to page A. If this is not the case for all pages that use hreflang annotations, those annotations may be ignored or not interpreted correctly.

Incorrect language codes: Make sure that all language codes you use identify the language (in ISO 639-1 format) and optionally the region (in ISO 3166-1 Alpha 2 format) of an alternate URL. Specifying the region alone is not valid.

Do I have to add these tags one post/page at a time?

No. If you upgrade to our powerful Pro tools, you can update all of your pages and posts in one place, with a single click.

Check out this video.


March 17, 2022
not even going to refer to the plugin itself. Purchasing the pro version is not a good experience. lots of glitches, the website does not build credibility. However, the team is responsive and willing to help, and with a little bit of patience you get it sorted out.
January 3, 2022
I bought the pro version. Solved my issues of running a mixed language blog. The developer was very supportive, and patient. Wish them the best.
May 30, 2020
Un plugin muy sencillo de usar primero entras en el escritorio y seleccionas los sitios donde vas a usar el plugin en mi caso es: <br> Entradas <br> Paginas <br> Categorías <br> Después tienes que entrar a editar la entrada, pagina y categoría. Dentro de gutenberg aunque uses elementor las opciones de plugin están abajo, por que lo único que hace es añadir html al <head> de la pagina no necesita implantarse con el constructor. ¿Que hecho yo en mi pagina? <br> Añadir la etiqueta de idioma España para que google pueda reconocer mi pagina en todos los idiomas y no solamente en el país(españa) porque mi pagina trata de contenido que puede ser legible en idiomas hispanohablantes sin hacer traducción. <br> Lo interesante seria unir este plugin con rankmath para permitir añadirlo al mapa del sitio y automatizar todo el proceso. <br> En definitiva es muy fácil de usar y si quieres ahorrar tiempo entonces ya dispones de la versión pro recuerda que tienes que especificar la pagina del lang en cada pagina exactamente o puede ocurrir un caos en google.
Read all 25 reviews

Contributors & Developers

“HREFLANG Tags Lite” is open source software. The following people have contributed to this plugin.


“HREFLANG Tags Lite” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “HREFLANG Tags Lite” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Updating statistics
  • Updated readme to indicate support for WP 5.7.1


  • Improvement
    • Blocks the loading of our js and css files unless logged in and in Dashboard.


  • Fully supports PHP 7.3+
  • Announcement of new Facebook group and page


  • Updated readme to indicate support for WP 5.5.1


  • Improvements
    • code improvements


  • Improvements
    • added many new English regions


  • improvements
    • Added mt Maltese
    • Added en-MT English (Malta)
    • Added mt-MT Maltese (Malta)
    • Bug fix in Admin HTML


  • Improvements
    • Code Improvements


  • Improvements
    • Bug fix


  • Improvements
    • Code Improvements


  • improvements
    • Added en-KE English (Kenya)


  • Improvements
    • Language improvements


  • Improvements
    • Added button to delete all hreflang tags
  • Bug Fix
    • Fixed a bug that cause PHP Notices


  • Improvements
    • Codebase improvements
    • Updated Tested version
    • Improvements to localization


  • Improvements
    • Codebase improvements
    • Updated Tested version


  • Improvements
    • Changes to documentation
    • Fixed a few typos
    • Updated Tested version


  • Improvements
    • Minified CSS for improved page load


  • Enhancements
    • Added en-FR English (France)
    • Added zh-FR Chinese (France)


  • Enhancements
    • Added en-NZ English (New Zealand)
    • Added en-PK English (Pakistan)


  • Bug fix

    • Fixes an issue where tags were being deleted by a few Page Builder plugins.
  • Enhancement

    • Added sv-FI Swedish (Finland)
    • Added es-US Spanish (USA)
    • Added th-TH Thai (Thailand)
    • Added es-EC Spanish (Ecuador)
    • Added es-PY Spanish (Paraguay)
    • Added es-PA Spanish (Panama)
    • Added en-GI English (Gilbraltar)
    • Added es-UY Spanish (Uruguay)
    • Added es-NI Spanish (Nicaragua)
    • Added es-PR Spanish (Puerto Rico)


  • Bug fix

    • Added $keys=array to initialize variable and revent PHP Notice.
  • Enhancement

    • Added he Hebrew
    • changed he-IL to Hebrew (Israel)
  • Plugin Announcement

    • Added a permanently dismissable notice offering reduced price upgrade to all Lifetime licenses.


  • Bug Fix
    • Changed count($keys) == 0 to empty($keys) to remove notice message


  • Enhancement
    • Modified language names in dropdowns for better clarity
    • Code improvements


  • Enhancement
    • Added fr-CH Français (Suisse)
    • Added en-BE English (Belgium)
    • Added en-AE English (UAE)
    • Added en-CH English (Switzerland)
    • Added en-TH English (Thailand)
    • Added en-NL English (Netherlands)
    • Added tr Turkish (Default)
    • Added pl Polish (Default)
    • Added nl Dutch (Default)
    • Added no Norwegian (Default)


  • Skipped


  • Enhancement
    • Added en-IN English (India)


  • Enhancements
    • UI Improvements


  • Enhancements
    • Added en-CN English (China)


  • Plugin Announcement

    • Removal of all admin notices
  • Enhancements

    • Added en-NL English (Netherlands)
  • Improvements to readme.txt


  • Plugin Announcement
    • Changes to Admin Notices


  • Plugin Announcement
    • Changes to Admin Notices


  • Plugin Announcement
    • Changes to Admin Notices


  • Enhancements
    • Added en-SG English (Singapore)
    • Added en-MY English (Malaysia)
    • Added sv Swedish


  • Code base improvements


  • Enhancement

    • Added default language CS (Czech)
  • Bug fix

    • Fixed a few possible PHP noticed on 404 pages


  • Bug fix
    • Fixes in issue that prevented hreflang tags being displayed on tag pages.


  • Bug fix
    • Blocks hreflang tags on main shop page of WooCommerce powered shops (Pro Version allows configuration of tags on main shop page)


  • Enhancements

    • Added nl Dutch
    • Added en-RO English (Romanian)
    • Added fr-LU French (Luxembourg)
  • Bug fix

    • Fixes an issue reported by John Parker (thanks): PHP Notice: Undefined variable: href_lang in {PATH}/plugins/hreflang-tags-by-dcgws/includes/functions.php on line 227


  • Bug fix
    • Resolves an issue where HREFLANG Tags are displaying on tag pages


  • Enhancements
    • Added en-MM English (Myanmar)


  • Enhancements
    • Added en-ID English (Indonesia)


  • Enhancements

    • Added ru – Russian
    • Changed ru-RU from Russian to Russian (Russia)
  • Bug fix

    • Resolves an issue where HREFLANG Tags are displaying on author pages


  • Bug fix
    • Resolves an issue that prevented a saved x-default tag being marked selected=”selected” in the metabox.

= 1.5.1

  • Bug Fix
    • Resolves an issue that prevented hreflang tags from being updated from the Edit (taxonomy) page. Update highly recommended.


  • Improvements
    • Added support for all registered taxonomies


  • Improvements
    • Added support video tutorial to dashboard
    • Improvements to localization


  • Enhancements
    • Added en-HK – English (Hong Kong)


  • Enhancements

    • Added zh-HANS – Chinese (Simplified)
    • Added zh-HANT – Chinese (Traditional)
    • Blocking HREFLANG Tags on dynamic home pages
  • Improvements

    • Added support for Media pages


  • Enhancements
    • Added pt – Portuguese


  • Enhancements
    • Added no-NO – Norwegian


  • Enhancements
    • Added nl-BE – Dutch (Belgium)


  • Enhancements
    • Added en-IE – English (Ireland)


  • Enhancements
    • Added en-PH – English (Philippines)


  • Enhancements
    • Added non-regional variations for:
      • Italian
      • French
      • Spanish


  • Enhancements

    • Added interface support for
      • Italian
      • French (Canada)
      • Thai
  • Improvements

    • Updated interface support for
      • Spanish (Mexico)
      • Portuguese (Brasil)
      • German (Germany)
      • French (France)
      • Dutch (Netherlands)
      • Danish (Denmark)


  • Improvements
    • Made functions pluggable
    • Improved code base


  • Enhancements
    • Added interface support for
      • Dutch (Netherlands)
      • Danish (Denmark)
  • Improvements
    • Updated interface support for
      • Spanish (Mexico)
      • Portuguese (Brasil)
      • German (Germany)
      • French (France)


  • Improvements
    • Removed “Upgrade” tab
    • Removed domain limitations in license keys
    • Added video demomnstration to HTML Code Generator
    • Added video demonstration to Bulk Editor


  • Improved handling of the x-default tags
  • Improvements to code organization


  • Removes dismissable notice reminding users to upgrade to Pro version


  • Bug Fix
    • Fixes a bug which caused x-default to show on all posts and pages.


  • Bug Fix
    • Fixes the way x-default is presented in the alternate tags


  • Bug Fix
    • Repaired corrupted package


  • Corrupted Package


  • Enhancements
    • Removed direct access to Pro features


  • Enhancements
    • Improvements to German language tagging (Kudos to wpgerd for his suggestions)


  • Bug Fix
    • Urgent fix to bulk editor js file


  • Enhancements

    • Added confirmation email upon successful license purchase
    • Impproved Spanish and Portuguese translations
  • Bug Fixes

    • Fixed popup to alert user when a data row has been updated in the Bulk Editor


  • Enhancements

    • Added support for custom post types
  • Features

    • Added a new Dashboard page where you can chooose which posts types you would like to use our metabox on
    • Added new Pro features
      • HTML Generator – Generate HTML code instantly for use on your non-WordPress websites
      • Bulk Editor – Save yourself the hassle of opening each page, post or product one-by-one and use this tool to update all your entries in one convenient location


  • Enhancements
    • Added support for Kazakhstan, Turkmenistan, Uzbekistan, Tajikistan, and UAE


  • Enhancements
    • Added support for English (EN), English/United States (EN-US), and German (DE)
    • Improved alphabetical sorting of language dropdown
    • Added support for x-default


Release date: June 6, 2016

  • Enhancements
    • Setup localization


Release date: June 6, 2016

  • Features
    • Adds HREFLANG Tags interface to Add Category and Edit Category screens
    • Adds HREFLANG Tags to head section on Category pages.


Release date: May 27, 2016

  • Features
    • Adds HREFLANG Tags interface to Add Post and Edit Post screens
    • Adds HREFLANG Tags interface to Add Page and Edit Page screens
    • Adds HREFLANG Tags to head section on Pages.
    • Adds HREFLANG Tags to head section on Posts.