0

It seems that if I have in my page links that use the .html extension, Google Search Console's crawling or live test will fail to retrieve those resources, with a Redirection Error message under Page resources: x/x couldn't be loaded, even though a client browser can get the results just fine.

Side note: If those .html URLs are tested directly for a live URL test, they show they can be retrieved and can be indexed.

Is there any solution to this besides removing all the .html path extensions in production? Keeping the extensions is for the local testing Python server.

David Min
  • 1,246
  • 8
  • 27
  • You mention a `redirect` in the question title. Where is a redirect happening exactly? Also do you have `link rel="canonical"` tags on these pages? And if so what is the value of those canonical URLs? – Mark B Nov 30 '22 at 20:00
  • Redirect from `.html` to its nameless paths is a standard Pages feature that cannot be opted out as per docs: https://developers.cloudflare.com/pages/platform/serving-pages/#route-matching – David Min Dec 01 '22 at 23:52

0 Answers0