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

Add <link> even if post is untranslated (to stop Google complaints) #2341

Merged
merged 4 commits into from May 17, 2016

Conversation

@Kwpolska
Copy link
Member

@Kwpolska Kwpolska commented May 13, 2016

Solves this e-mail I received from Google Webmaster Tools today:

Google has detected that some pages on your site have implemented the rel-alternate-hreflang tag incorrectly. In particular, there seems to be a problem with incorrect language and region codes, or incorrect bi-directional linking (if page A links with hreflang to page B, there must be a link back from B to A as well). Google uses the hreflang attributes to serve the correct language or regional URL to the right users in search results.

Until you correct the errors on the hreflang links, your website will not benefit from additional language or region targeting.

Fix this problem now:

Find incorrect hreflang implementation
Use the examples provided in the International Targeting feature in Search Console to get a sample of pages with incorrect hreflang implementation.

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
@Kwpolska Kwpolska added bug i18n labels May 13, 2016
@Kwpolska Kwpolska added this to the v7.7.9 milestone May 13, 2016
Kwpolska added 3 commits May 13, 2016
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
@da2x
Copy link
Contributor

@da2x da2x commented May 13, 2016

I’ll check this format with Baidu, Bing, and Yandex too. Takes ~3 days for them to process.

@da2x
Copy link
Contributor

@da2x da2x commented May 17, 2016

Looks fine. 👍

@Kwpolska Kwpolska merged commit 2414db7 into master May 17, 2016
4 checks passed
4 checks passed
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@Kwpolska Kwpolska deleted the stop-hreflang-whines branch May 17, 2016
@Kwpolska
Copy link
Member Author

@Kwpolska Kwpolska commented May 17, 2016

Merging, thanks for testing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants