Hreflang errors ignored by Polylang
-
Hi, I have the following hreflang errors with Polylang on thousands of pages on my website:
Missing reciprocal hreflang (no return-tag)
Self-reference hreflang annotation missing
Hreflang to non-canonical
X-default hreflang annotation missing
Links crawled and errors signaled by ahrefs site audit.
Also found by semrush website audit, but on a lower number of pages, because their free version only crawls 100 URLs.
Also identified by Website auditor v4.49.7
(Links to screenshots at the end of this message)Permalink settings
Common Settings: https://www.the-travel-bunny.com/sample-post/
Optional:
– Product category base product-category
– Product tag base product-tag
Product permalinks: Custom base /product/
I am using a static front page.Polylang settings
URL modifications
– The language is set from the directory name in pretty permalinks
– Hide URL language information for default language
– Remove /language/ in pretty permalinks
– The front page url contains the language code instead of the page name or page id
Detect browser language deactivated
Media activated
Custom post types and Taxonomies
– Custom post types: Products
– Custom taxonomies: Brands, Product categories, Product tags, Product shipping classes
Synchronization: Published date
WPML compatibility activated by default (no option to select otherwise)
Link to my site: https://www.the-travel-bunny.com/I made sure WordPress, theme, Polylang, and all other plugins are the latest versions.
I didn’t find an answer on the forum, but several have reported the same issue and nobody answered.
I deactivated other plugins and switched to the default WordPress theme. Problem persisted.Screenshots:
Ahrefs: https://prnt.sc/10sytv8
Semrush: https://prnt.sc/10syu4c
Website Auditor: https://prnt.sc/10syvw5
- The topic ‘Hreflang errors ignored by Polylang’ is closed to new replies.