Cloudflare Pages Route Matching: Disable extensionless HTML redirect

Hi,

I’m trying to host an old web 1.0 website with HTML pages whose permalinks ending in .html to be preserved because they are linked from everywhere. CF Pages however 308 redirects the html pages to their extensionless counterparts.

A switch or an option to disable this would allow me to host the website with Pages, because it’s important that the links don’t change. I know this is currently not possible to do in CF Pages, but I wonder if something is in the works or there’s any way to put an exception for this web property.

Thanks,
Soumik

1 Like

I’m also looking for a solution, currently using github pages, waiting for a solution