Your WooCommerce community in Madrid

If you are passionate about eCommerce in general and about WooCommerce and WordPress in particular you already have your own community if you live in or near Madrid: WooCommerce Madrid .

If you questions why creating a specific community for a WordPress plugin is because its goal is not only those who are already WordPress and WooCommerce users who want to learn more and share experiences, as well, but reach all those users of online stores, entrepreneurs, marketeers, ecommerce lovers who want to know more, and who knows? migrate to the leading online store creation software in Spain and the rest of the world: WooCommerce .

In addition, will not only talk about WooCommerce in the community but they are welcome companies and users of other systems, entrepreneurs with doubts, payment gateway platforms, POS software physical or virtual stores, all those interested and part of eCommerce in Madrid in particular, and Spain in general.

I encourage you to join the WooCommerce Madrid community in your meetup group to visit the WooCommerce website Madrid or follow your account on Twitter and, in this way, participate and be part of the next WordPress milestone as a leader in eCommerce thanks to plugins like WooCommerce.

hreflang in WordPress – Detailed step by step guide

What are hreflang tags?

 languages ​​flags keyboard

hreflang tags are essential to indicate the browser, and search engines , the language in which the content of the web page is, that's why it's important to add these hreflang tags in WordPress .

Why and when do you have to use hreflang tags?

Tags hreflang above all tell search engines the language in which each page is created so that they know for what results in which language to index your content .

Therefore, it is especially important to include it when you have on your website similar contents in several languages ​​indicating in the header of each page what language it is in.

It is especially important in websites, not to mention online stores, with contents orien Users of different countries or regions with different languages ​​.

For example, in Catalonia (Spain) it is very common, practically obligatory, to always offer your content in Spanish and Catalan.

How are the hreflang tags?

Basically there are 3 possible variations :

  • Content with regional variations, like en-us or en-us .
  • Content in different languages, com in is and fr .
  • A combination of different languages ​​and regional variations.

How I suppose you have already Understanding that attributes hreflang tell Google about the availability of translated or local content, the following is to create a link structure that reflects those variations / versions of your content.

To explain it in a simple way, you have to tell the search engine is that the content B is equivalent to the content A but in another language . This is achieved with the hreflang tags.

But it also implies that there must be a correlation because a hreflang tag does not go alone. If content B has a link to content A, as its translation, content A must also link to content B, again as its translation.

Come on, that must all be linked together ]not only in one sense.

Thus, if we have content in Spanish, Basque and English, the Spanish version has to link to the Basque and English versions, and each translation to the rest of the available ones .

This graphic shows this type of structure.

 hreflang in wordpress structure links

The fact of offering content in multiple languages ​​and / or oriented to different locations ] is irrelevant if you do it from the same domain, subdomains or different domains, the important thing is the correlation of links between them .

The tags hreflang and SEO

Basically there are two benefits for the SEO of the labels as hreflang :

Optimizes for the user

The first, and most important, is that if you have a version of a page optimized for the language and location of your users – I guess – you'll want them to reach that page No?

Therefore, establishing the language and location of the content improves the user experience and makes fewer visitors increase your bounce rate back to search engine results by finding information in another You know that the less people bounce back to the search engine results the better for your score in the search engine right?

Avoid penalties for duplicate content

second benefit is that the hreflang tag prevents duplicate content problems . If, for example, you have the same content in Spanish but with different URLs for your audience, say, from Spain and Mexico, the difference between those pages can be as small as small variations in price and currency.

Y Google may not understand what you are doing and think it is duplicate content . With the hreflang tags you make it clear to the search engine that it is (almost) the same content, but adapted to a different audience, in this case location, and small language variations.

When a user performs a search, Google performs this process: [19659033] Determine that you want to display a URL

  • Check if the URL has hreflang attributes
  • Show the search engine user the results with the most appropriate URL for him
  • and which determines the most appropriate URL for the user of the search engine is the current location and its language settings .

    And, as a user can have multiple languages ​​in the settings of your browser, such as Galego and Spanish, the order in which those languages ​​appear in their settings also determine the most suitable URL for them in the results .

    So should I use hreflang in WordPress? or when to use it and when not?

    Having seen the above, I think you should already be quite clear that you should use hreflang if …

    • You have content in several languages.
    • You have content oriented to different geographical locations even if they have the same language.

    How to add the hreflang tags manually

    The most basic, traditional method is to add them to the code of the header, inside the tags with this structure:

    And the same structure , to maintain the correlations that I mentioned above, at the head of each language / location, such that:

    But you certainly do not want to complicate doing it by hand right? that for we use WordPress.

    hreflang x-default

    In the event that a user's browser settings have a language / location for which you do not have specified content, there is a value called x-default that specifies which URL to send to you.

    It would be like this:

    It is thought for international pages, for example the web matrix of a multinational, and would be the URL to send to any user for whom you do not have content for your language or location .

    How to add the hreflang tags in WordPress

    Yes, in WordPress it is very easy to add them, dynamically; because you do not want to have to add them manually – and correlatively – every time you create a new content in several languages ​​/ locations, why not?

    For that we have our friends the plugins, and the main ones are these:


    This professional plugin for multilanguage sites carries the label management hreflang . To generate them only you have to make sure that in your settings you have the corresponding box active and that's it.

    You only have to go to the administration menu WPML> Languages ​​ and in the section called SEO options check that you have active the option to show the language alternatives in the header. And I recommend you in the drop-down to choose the option " As early as possible ".

     options seo wpml hreflang


    Also in this multilanguage plugin you can automatically add the hreflang tags easily . You only have to add the languages ​​in which your content will be and, when these contents exist, it will add the corresponding ISO 639-1 code.

     hreflang wordpress polylang settings

    HREFLANGS Tags Lite [19659026] The objective of this plugin is exactly what we are looking for, add the hreflang tags to your content in several languages ​​or locations.

    Its operation is very simple. First set in your settings for what kind of content will be available e.

     hreflang tags lite wordpress settings

    Once you save the changes you will see in the editor of the types of content that you have activated a new meta case in which to create the hreflang attributes for the language in which that content is when publishing it, so that the plugin generates the corresponding hreflang tags in the header of it.

     add tags hreflang wordpress

    Should I add hreflang in WordPress if I only have content in one language?

    No, it's not necessary. Even if you see an ugly notice in the Google Search Console nothing happens, do not panic.

     without hreflang in search console google

    You just have to specify, if so you prefer, the destination country of your content in the section of International segmentation .

     international segmentation google search console

    Questions, ideas?

    If you know more plugins or modes to add the tags hreflang in WordPress it's your turn 🙂

    Loading …

    That may also help you: