This is a bad canonical link (404) since /3/ at the moment points at 3.9 (and very soon will point at 3.10) where there is no "What's New in Python 3.11" page. This is a problem because search engines and social networking link scrapers redirect to canonical links by default.
We should be smarter about this so that newer documentation editions than the default /3/ should simply skip the canonical link altogether. This is the simplest thing we can do that will ensure that:
there is no 404 redirect
nothing breaks when that version becomes the default and we start redirecting it to /3/
The text was updated successfully, but these errors were encountered:
Example:
https://docs.python.org/3.11/whatsnew/3.11.html
In HTML source, you'll find:
This is a bad canonical link (404) since /3/ at the moment points at 3.9 (and very soon will point at 3.10) where there is no "What's New in Python 3.11" page. This is a problem because search engines and social networking link scrapers redirect to canonical links by default.
We should be smarter about this so that newer documentation editions than the default /3/ should simply skip the canonical link altogether. This is the simplest thing we can do that will ensure that:
The text was updated successfully, but these errors were encountered: