Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

hreflang tag error #34

Closed
straube opened this issue Jan 8, 2019 · 0 comments
Closed

hreflang tag error #34

straube opened this issue Jan 8, 2019 · 0 comments
Assignees
Labels

Comments

@straube
Copy link
Owner

straube commented Jan 8, 2019

consultant1027 said on WP.org Support Forum:

Not sure if this is specific to my site or a bug in a recent update but SemRush monitors my site for on-page errors and a new slug of errors appeared since the last check a month ago. hreflang tag errors. I had to grep all my plugins to find which one was insertin the tag and it’s this plugin.

It’s missing a slash in the url.

<link rel=”alternate” href=”https://www.mydomain.comabout-us” hreflang=”x-default”/>

Should be

<link rel=”alternate” href=”https://www.mydomain.com/about-us” hreflang=”x-default”/>

@straube straube added the bug label Jan 8, 2019
@straube straube self-assigned this Jan 8, 2019
straube added a commit that referenced this issue Jan 12, 2019
Fix #34. Added a leading slash to hreflang's URI.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant