Importance: High
Error «Hreflang: Relative Links» Description
Indicates HTML pages or PDF files containing relative links with hreflang attributes in the <link rel="alternate" /> tag or HTTP response header 'Link: rel="alternate"'.
The Importance of the Problem
Hreflang instruction allows you to point the search engines to the localized versions of your pages. It is one of the signals for local ranking in the search results.
Search engines will not process instructions with relative URLs (for example, <link rel="alternate" hreflang="en" href="/page" />). It may lead to low search results rankings and traffic loss.
How to Fix Error
Replace all relative URLs with absolute ones. For example, replace <link rel="alternate" hreflang="en" href="/page" /> with <link rel="alternate" hreflang="en" href="https://site.com/page" />.
|