django/djangoproject.com

Remove non-canonical docs versions from sitemap.xml

Open

#878 建立於 2019年3月2日

在 GitHub 查看
 (9 留言) (1 反應) (0 負責人)Python (1,100 fork)user submission
good first issue

倉庫指標

Star
 (2,001 star)
PR 合併指標
 (平均合併 7天 20小時) (30 天內合併 25 個 PR)

描述

Acceptance criteria

  • Board meeting minutes are accessible only on the www subdomain, not on the docs subdomain
  • Community pages such as /community/desktops/ and /community/logos/ are available only on the www subdomain, not the docs subdomain
  • If needed, links are updated or redirects are added to avoid 404s for these pages (investigation needed)

Original report

It looks like we may be sending confusing signals to Google by putting old docs versions in sitemap-<lang>.xml, but then telling it only one of those versions is canonical:

Google's commentary on this error: https://support.google.com/webmasters/answer/7440203#submitted_url_not_selected_as_canonical

貢獻者指南