Conflicting hreflang and rel=canoncial
-
I did an audit with Semrush and I got the following errors:
de Conflicting hreflang and rel=canonical?
— No self-referencing hreflang?Upon checking the html code I found this in regards to hreflang and canonical url:
<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /><link rel="alternate" hreflang="en" href="https://site.com/category/story/" /> <link rel="alternate" hreflang="de" href="https://site.com.com/de/kategorie/berichte/" /><link rel="alternate" hreflang="x-default" href="https://site.com/category/story/" /> <!-- This site is optimized with the Yoast SEO plugin v21.6 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="Lesen sie mehr" /> <link rel="canonical" href="https://site.com/de/kategorie/berichte/" />
We are using WPML for the translation part.
How can this be conflicting?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Conflicting hreflang and rel=canoncial’ is closed to new replies.