Digital Marketing and Web Design Agency WebCoreLab

Digital Marketing and Web Design Agency WebCoreLabDigital Marketing and Web Design Agency WebCoreLab

  • Terms
  • Privacy
  • SUPPORT
  • ABOUT US
  • CONTACTS

Digital Marketing and Web Design Agency WebCoreLabDigital Marketing and Web Design Agency WebCoreLab

  • WEBSITE DEVELOPMENT
    • CATALOG
    • DIGITAL COMPLEX
    • LANDING PAGE
    • CUSTOM WEBSITE
    • ONLINE SHOP
    • PROMO SITE
  • DIGITAL MARKETING
    • CONTEXT ADVERTISING
    • SMM
      • Facebook
      • Instagram
      • Youtube
      • LinkedIn
      • Pinterest
      • Google+
      • Twitter
  • LOCAL MARKETING
    • CREATION AND OPTIMIZATION
    • WORKING WITH BUSINESS LISTINGS
    • DAILY SUPPORT
  • SEMANTIC CORE
    • Audit of the Semantic Core
  • ORGANIC SEO
    • Development of the semantic core
    • Analysis of the reference mass
    • Site Audit
    • Usability Audit
    • SEO optimization of the site at the development stage
    • Site output from the FILTERS OF GOOGLE
  • DEVELOPMENT
    • Custom CRM for Enterprise Company
    • DEVELOPMENT OF MOBILE APPLICATIONS
      • Android Apps Development
      • iOS apps Developing
  • UX DESIGN
  • WEB-DESIGN
    • Online Store Design
    • Individual Site Design
    • Corporate Site Design
    • Landing Page Design
    • Adaptive Design
    • Website redesign
CONTACT
  • Home
  • News
  • News
  • Errors in the hreflang attributes: what they are and how to fix them

Errors in the hreflang attributes: what they are and how to fix them

Thursday, 25 April 2019 / Published in News

Errors in the hreflang attributes: what they are and how to fix them

Problems with hreflang are mainly caused by typos, the use of incorrect codes and non-existent links. If there are errors, the search robot ignores this attribute.

Common errors in the hreflang attribute

      • Wrong format. The first is the language code and only then the region code. To determine the code, you must use the ISO 639-1 language and regional ISO 3166-1 Alpha 2 standards. Before introducing an attribute, it is important to verify that the format of the link meets the specified standards.

For example, you need to create a page for English-speaking citizens living in the United States. It will be correct to use the format “en-us”. For English-speaking citizens from the UK, the correct sequence is “en-gb”, but not “en-uk”. According to the rules for setting the attribute, the language must be specified, and the region may be completely absent.

In some links, only the region is found, and this is wrong. It is allowed to use only the language so that the page is given out to people who speak a specific language but are located anywhere in the world.

      • Separate the language and region using a dash or underscore. The only correct option involves the use of a hyphen. For example, “en-us” is correct, and “fr_uk” is wrong.
      • Conflicts in attribute code. Configuring hreflang means using a single page for one language. In other words, a single language version corresponds to a single URL in the code. Multiple pages can not be written in the same language. In the example, the English version is used for all pages. This is mistake:
      • Typos in letters. For example, instead of “fr” – France is used “fi” – Finland. The content on the page is written in French. This page is not indexed by the search engine. To avoid such errors, use the hreflang tag generator.
      • Attributes hreflang with errors in the links:
      1. on pages that don’t exist. Clicking on the URL gives an error 4xx or 5xx;
      2. with a shortage of a specific hreflang element. If the language version exists, but the attribute for it is not created;
      3. with redirect to another page. In this case, the second URL is not indexed;
      4. without full indication of its components. These are the so-called relative links with the missing first part.

        Неправильно: /catalog1/file1.html

        Правильно: http://site.ru/catalog1/file1.html


      • No backlinks. Problems with hreflang occur when there are no returnable supporting references to the attribute. If page 1 refers to page 2, on page 2 there should be a back link to page 1.

Any of these errors on a particular page leads to the fact that it will not be indexed by the search robot.

How to find errors in hreflang and fix them?

To detect errors in writing letters, hyphens, and checking the correspondence of languages ​​and regions, it is necessary to revise the attribute code hreflang independently. To determine if a single language version of a single page does not match, use the Screaming Frog service:

What you need to do to prevent errors:

  1. Use absolute links instead of relative ones.
  2. Each time the hreflang attribute is added, check the data for compliance with the standards.
  3. Delete URLs that generate error codes 4xx or 5xx and redirect pages.
  4. Determine what is more important for the site: the language or region of the user. In the first case, do not use the location indication, in the second – indicate the language and country.

Conclusion

Problems with the hreflang attribute are mainly related to:

  1. errors in writing languages ​​and regions according to standards;
  2. the use of non-existent links,
  3. redirects; lack of backlinks to pages with an attribute;
  4. the order of writing the constituent links with hreflang;
  5. specifying multiple pages for one language version.

To find the hreflang attributes with errors and fix them, you need to conduct a small audit of the pages and correct everything that does not comply with the rules for setting up sites with several language versions.

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...
  • Tweet
Tagged under: SEO, Site audit, technical seo

What you can read next

Top marketing strategies of digital marketing agencies
Top marketing strategies of digital marketing agencies
How the ranking in google search works in 2020 – all secrets
What should be the amount of text on the page for successful SEO-promotion

Leave a Reply Cancel reply

Recent Comments

    Recent Posts

    • THE MAIN ERRORS OF WEBSITE DESIGN

          Website design is more than just ...
    • 10 SIGNS OF AN OUTDATED SITE: HOW TO CHECK AND PREVENT.

      The site is the face of the organization, so it...
    • Main Reasons Why Fresh Content is Important for Your SEO and Web

        What are different reasons it is signifi...
    • How the ranking in google search works in 2020 – all secrets

      How Google Ranks Sites: Algorithms and the Sear...
    • Eight non-obvious things in SEO, that will increase the visibility of the site

      Hello everyone, watching the work on website pr...

    Archives

    • January 2020
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • April 2019
    • June 2017

    Categories

    • News

    webcorelab

    120 Eglinton East, Suite 500
    Toronto ON M4P1E2
    Toll free Canada: +16475465599
    Secondary phone Canada: +18888931842 for US
    +380891205858 for UA & RU
    Email: info@webcorelab.com

    • WEBSITE DEVELOPMENT
      • CATALOG
      • DIGITAL COMPLEX
      • LANDING PAGE
      • CUSTOM WEBSITE
      • ONLINE SHOP
      • PROMO SITE
    • DIGITAL MARKETING
      • CONTEXT ADVERTISING
      • SMM
        • Facebook
        • Instagram
        • Youtube
        • LinkedIn
        • Pinterest
        • Google+
        • Twitter
    • LOCAL MARKETING
      • CREATION AND OPTIMIZATION
      • WORKING WITH BUSINESS LISTINGS
      • DAILY SUPPORT
    • SEMANTIC CORE
      • Audit of the Semantic Core
    • ORGANIC SEO
      • Development of the semantic core
      • Analysis of the reference mass
      • Site Audit
      • Usability Audit
      • SEO optimization of the site at the development stage
      • Site output from the FILTERS OF GOOGLE
    • DEVELOPMENT
      • Custom CRM for Enterprise Company
      • DEVELOPMENT OF MOBILE APPLICATIONS
        • Android Apps Development
        • iOS apps Developing
    • UX DESIGN
    • WEB-DESIGN
      • Online Store Design
      • Individual Site Design
      • Corporate Site Design
      • Landing Page Design
      • Adaptive Design
      • Website redesign
    TOP
    %d bloggers like this: