django/djangoproject.com

Remove non-canonical docs versions from sitemap.xml

Aberta

#878 aberto em 2 de mar. de 2019

 (9 comentários) (1 reação) (0 responsável)Python (1.100 forks)user submission
good first issue

Métricas do repositório

Stars
 (2.001 estrelas)
Métricas de merge de PR
 (Mesclagem média 7d 20h) (25 fundiu PRs em 30d)

Description

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

Guia do colaborador