Opened 9 months ago
Incorrect canonical redirect if p=123 query argument present in "paged" archives
|Reported by:||kasparsd||Owned by:|
URLs that include page/n AND p=n query variable, such as:
will issue a 301 redirect to the homepage. This is being reported as incorrect behaviour in Google Webmaster Tools, because:
The target URL does not exist and your server is not returning a 404 (file not found) error.
Your server is redirecting requests for a non-existent page, instead of returning a 404 response code. This creates a poor experience for searchers and search engines.
A fix would be to strip the p= query variable and redirect to the paged archive.