django / django/djangoproject.com
Remove non-canonical docs versions from sitemap.xml
- Dominant language
- Python
- Stars
- 2k
- Forks
- 1.1k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 33
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-.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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the sitemap.xml and sitemap-.xml generation, then inspect the routes for board meeting minutes and /community/desktops/ and /community/logos/. Verify which pages are exposed on the www and docs subdomains, and check whether links or redirects are needed; done means non-canonical versions are absent without introducing 404s.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100