I use the Pelican static site generator with Attila which automatically creates a page for each of my site's categories (/categories.html
).
The default configuration for Attila created category URLs - and canonicals, for each category without a trailing slash.
e.g.
https://example.com/category/coins
...vs.
https://example.com/category/coins/
This led to a Page Redirect issue:
Search Console has identified that your site is affected by 1 Page indexing issue(s). The following issues were found on your site.
Top Issues
Page with redirect
We recommend that you fix these issues when possible to enable the best experience and coverage in Google Search.
I edited my site such that the Canonical uses the full URL. If, for example, you go to
https://example.com/category/coins
The browser redirects to
https://example.com/category/coins/
And the page source includes:
<link href="https://example.com/category/coins/index.html" rel="canonical" />
In addition, I updated all my sitemaps to point to the full URL (trailing with index.html) and all internal links point to the full URL.
I then clicked Validate Fix on the Google Search Console and the validation failed.
I'm concerned that the coins path (without trailing slash) returns a 302 and not 301 response.
I really don't care if Google indexes that page, but I took a significant hit on impressions after Google alerted me to the Page with Redirect issue.
Does anyone have any suggestions on how to validate this Page with redirect issue?