kiwix / web

Bugs, enhancements, ideas for our Web presence
https://kiwix.org
7 stars 7 forks source link

SEO Fixes - Hreflang: Non-200 hreflang URLs #202

Closed ghost closed 1 year ago

ghost commented 1 year ago

Link for the URLs - https://docs.google.com/spreadsheets/d/1tYT8q4qoWiX4mIYKskC3ybYu08hoQatr8PYpzh49-JY/edit#gid=380510043

Priority High

Description URLs contained within rel="alternate" hreflang annotations that do not have a 200 response code, such as URLs blocked by robots.txt, no responses, 3XX (redirects), 4XX (client errors) or 5XX (server errors). Hreflang URLs must be crawlable and indexable and therefore non-200 URLs are treated as errors, and ignored by the search engines. The non-200 hreflang URLs can be seen in the lower window 'URL Details' pane with a 'non-200' confirmation status. They can be exported in bulk via the 'Reports > Hreflang > Non-200 Hreflang URLs' export.

Resolution Ensure URLs within hreflang annotations are to the correct canonical and indexable pages. If Google can't see pages pointing to each other due to a non-200 response, the tags will be ignored.