• Search Engine Land
  • Sections
    • SEO
    • SEM
    • Mobile
    • Local
    • Retail
    • Google
    • Bing
    • Social
    • Home
  • Follow Us
    • Follow
  • Search Engine Land
  • SEO
  • SEM
  • Mobile
  • Local
  • Retail
  • Google
  • Bing
  • Social
  • More
  • Events
    • Follow
  • SUBSCRIBE

Search Engine Land

Search Engine Land

"Medic" update recovery

How one site did it

Shopping Ads 2019

What's in store for SMBs?

Events

Join us at SMX Advanced!

  • SEO
  • SEM
  • Mobile
  • Local
  • Retail
  • Google
  • Bing
  • Social
  • Newsletters
  • Home
SEO

Sign up for our daily recaps of the ever-changing search marketing landscape.

Note: By submitting this form, you agree to Third Door Media's terms. We respect your privacy.


4 hreflang tag errors Google corrects for you

Can we fix it? Yes we can! Do we need to? Contributor Patrick Stox says it may not be worth your time to fix hreflang tags since Google is probably fixing them for you.

Patrick Stox on April 12, 2018 at 9:38 am
  • More

Hreflang tags are among the hardest elements in technical search engine optimization (SEO) to get right.

There are a lot of rules and a lot of ways that these tags can go wrong. Google uses attributes rel="alternate" hreflang="x" to serve the correct language or regional uniform resource locator (URL) in search results.

The tags swap which page is shown in the search results, but they do not actually make any page rank better.

Many of the best practices around hreflang tags that are presented in articles, at conferences and in studies won’t actually make a difference. Google is correcting a lot of things already, and in many cases, if something is wrong, correcting it won’t make a difference in your results. It’s very hard to make a business case to follow best practices when you don’t see any results from changes made.

Here are some of the items Google may be correcting for you.

Underscores

According to the specs for hreflang, you should use hyphens instead of underscores to separate the language and the country.  For example:

  • Use a hyphen: en-US
  • Don’t use an underscore: en_US

But what if you did use underscore? You won’t see any errors in the International Targeting report found in Google Search Console.

According to Webmaster Trends Analyst Gary Illyes, it seems this is something Google’s parser corrects for.

en-UK

For the United Kingdom, the correct country code to use, according to International Organization for Standardization (ISO) 3166-1 Alpha 2 format, is GB, but UK is exceptionally reserved.

Wikipedia explains the meaning of “exceptionally reserved” as it relates to code elements:

Exceptionally reserved code elements are codes reserved at the request of national ISO member bodies, governments and international organizations, which are required in order to support a particular application, as specified by the requesting body and limited to such use. 

If you use en-UK in your hreflang tags, you probably won’t see an error in Google Search Console. This is another one where Google is correcting for you because it’s used incorrectly so often.

Webmaster Trends Analyst John Mueller mentioned that Google can figure that out in a recent Ask Me Anything (AMA) on Reddit.

Self-referencing hreflang tags

The idea here is that each page should have an hreflang tag that references the current page, but do you need it?

Google’s John Mueller suggests you do not. In a recent Webmaster Central office hours hangout, John said:

It was done this way to make it easier for people to just copy a block of text that includes all of the links, but you don’t actually need to reference the page the tag is on.

Not using absolute URLs

Do you have to use absolute paths for URLs in your hreflang tags?

John Mueller says relative path URLs are fine, but maybe not the best practice.

Any time complexity is introduced, there’s more opportunity for things to go wrong.

Final thoughts on Google correcting hreflang tags

If you have any of the above issues with your hreflang tags, and you’re seeing no issues, think about whether it’s worth the time and effort to fix them.

If it takes a lot of work, convincing, or favors from developers to get these things fixed, and you will see no results, then it will be hard to get buy-in for the fixes.

If you do get them fixed, it will be harder to get buy-in for your next suggestions.


Opinions expressed in this article are those of the guest author and not necessarily Search Engine Land. Staff authors are listed here.



About The Author

Patrick Stox
Patrick Stox is an SEO Specialist for IBM and an organizer for the Raleigh SEO Meetup, the most successful SEO Meetup in the US.

Popular Stories

For retail advertisers, Shopping ads continue to overshadow text ads
Google tests ads in Assistant results
Is Google Maps what augmented reality has been waiting for?
Data: Google organic search CTRs decline on desktop, see big drop on phones

Related Topics

Channel: SEO

Sign up for our daily recaps of the ever-changing search marketing landscape.

Note: By submitting this form, you agree to Third Door Media's terms. We respect your privacy.


We're listening.

Have something to say about this article? Share it with us on Facebook, Twitter or our LinkedIn Group.

Attend Our Conferences

April 2-3, 2019: SMX Munich

May 21-22, 2019: SMX London

June 3-5, 2019: SMX Advanced

June 12-13, 2019: SMX Paris

Sept 30 - Oct 1, 2019: SMX Advanced Europe

November 13-14, 2019: SMX East

×

Attend SMX - Click Here


Learn More About Our SMX Events

Gain new strategies and insights at the intersection of marketing, technology, and management. Our next conference will be held:

April 3-5, 2019: San Jose

September 16-18, 2019: Boston

×

Attend MarTech - Click Here


Learn More About Our MarTech Events

White Papers

  • The Ultimate Guide to Site Search User Experience
  • The Marketing Analytics Buyer’s Guide 2019
  • Mission Possible: Quality Content Marketing
  • 2019 Marketing Trends: Nine factors reshaping marketing and how you can stay ahead of them
  • The Dummies Guide to Enterprise Customer Data Platforms
See More Whitepapers

Webinars

  • 2019 Martech Trends You Need To Know
  • How to Prepare for a Successful Marketing Analytics Implementation
  • Get More From Your Customer Data With Open Marketing Cloud: A Demo of Mautic’s Marketing Automation Platform
See More Webinars

Research Reports

  • B2B Marketing Automation Platforms
  • Account-Based Marketing Tools
  • Enterprise SEO Platforms
  • Call Analytics Platforms
  • Paid Media Campaign Management Platforms
  • Local Marketing Automation Tools
See More Research

Search Engine Land’s Guide To SEO

Search Engine Land’s Guide To SEO
Sign up for our daily newsletter.
Search Engine Land
Download the Search Engine Land app on iTunes Download the Search Engine Land App on Google Play

Follow Us

© 2019 Third Door Media, Inc. All rights reserved.