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

Set hreflang #1335

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Set hreflang #1335

merged 1 commit into from
Apr 26, 2024

Conversation

deivid-rodriguez
Copy link
Member

@deivid-rodriguez deivid-rodriguez commented Apr 26, 2024

Apparently this is what Google considers to show localized versions with otherwise duplicate content.

What was the end-user problem that led to this PR?

The bundler.cn site shows up in search results when looking for bundle check in Google.

What was your diagnosis of the problem?

According to https://moz.com/learn/seo/hreflang-tag, Google uses hreflang and not language metatags like the ones we are setting:

Note that while Google and Yandex currently use the hreflang attribute, Bing uses language meta tags instead.

What is your fix for the problem, implemented in this PR?

My fix is to try set hreflang to see if it helps with #1333.

Why did you choose this fix out of the possible options?

I chose this fix because I guess it may help and shouldn't do any bad?

Apparently this is what Google considers to show localized versions with
otherwise duplicate content.
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-deivid-rod-b8qoxj April 26, 2024 15:28 Inactive
Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@olleolleolle olleolleolle merged commit 5882bd6 into master Apr 26, 2024
3 checks passed
@olleolleolle olleolleolle deleted the deivid-rodriguez/set-hreflang branch April 26, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants