Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render same set of hreflang tags across languages #50

Open
psolbach opened this issue Dec 14, 2022 · 0 comments
Open

Render same set of hreflang tags across languages #50

psolbach opened this issue Dec 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request invalid This doesn't seem right

Comments

@psolbach
Copy link
Member

A recent Semrush report indicated that we should render the same set of hreflang tags across languages and include a reference to the current language version as well. This matches what Google writes in their documentation

So instead of this for e.g. foobar.com/en:

<link rel=alternate hreflang=x-default href=https://foobar.com/en>
<link rel=alternate hreflang=de href=https://foobar.com/de>

We want this:

<link rel=alternate hreflang=x-default href=https://foobar.com/en>
<link rel=alternate hreflang=en href=https://foobar.com/en>
<link rel=alternate hreflang=de href=https://foobar.com/de>
@psolbach psolbach added enhancement New feature or request invalid This doesn't seem right labels Dec 14, 2022
@sebil sebil removed their assignment Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

6 participants