How to fix URLs hreflang to non-canonical?

How to fix URLs hreflang to non-canonical?
Fast Links

Free SEO Audit

Crawl the website for technical issues and get a prioritized to-do list with detailed guides on how to fix.

Something went wrong. Please, try again later.
Sitechecker crozdesk rating Sitechecker crowd rating Sitechecker capterra rating
Sitechecker trusted company

Hreflang is the attribute that tells search engines what language you’re using on a specific page. This way, search engines can display results to users in their language if it is available. The hreflang attribute is the correct attribute to use for Google.

However, you may encounter an issue with non-canonical URLs and your hreflang annotations. Below, we’ll discuss everything you need to know to solve the problem.

If you prefer watching, you can also check out the video discussing how to fix hreflang to non-canonical:

You can also check out this guide created by Google Devs to learn more about localizing your webpage for Internet users across the world.

What Does “Hreflang to Non-Canonical” Mean?

As we stated above, the hreflang tag lets the search engines know that a certain URL is the best content for visitors coming from a specific language and region. Meanwhile, a non-canonical page lets the search engines know that the URL shouldn’t be indexed. It means that the page has a better version with better content that should get indexed instead.

Remember that rel=””alternate”” hreflang=””x”” will instruct search engines to show the translated (localized) version of a page. Meanwhile, rel=canonical attribute will mark that this is not the authoritative or canonical version.

What Triggers This Issue?

This error comes up when you have URLs that link back to a non-canonical URL from their hreflang annotations. Non-canonical URLs can be:

  • A duplicate piece of content
  • A canonical duplicate of another URL

You can determine a non-canonical page based on whether the canonical URL matches the page’s URL. If the pages don’t match, the page is non-canonical. These non-canonical pages aren’t the focus of SEO assessments or audits.

How to Check the Issue?

The notification will pop up in an error report. You can also check for this issue in your source code or go to your website as a visitor and see for yourself.

Find out not only the information about Hreflang to non-canonical, but also the presence of technical errors on it!

Conduct a full audit to find out and fix all the site level and page level issues on your website.

Something went wrong. Please, try again later.
Sitechecker rating on crozdesk Sitechecker rating on crowd Sitechecker rating on capterra

Why Is This Important?

When you have URLs linking to a non-canonical version of a page from hreflang annotations, the search engines reading your source code can get misled and confused. Since non-canonical URLs can be accessed, failing to check these codes can lead visitors to pages they shouldn’t be seeing.

How to Fix the Issue?

If you want to fix the issue, first make sure you review all the pages that were listed in the error report. Next, modify the hreflang annotations of the pages in the report. Ensure that they point to or link to canonical pages.

If you find that the page linked from hreflang annotations unintentionally got a non-canonical status, remove its rel-canonical element. You can also edit it to become self-canonical.

Check Your Website for SEO Errors

Something went wrong. Please, try again later.
close