Page Rules - convert a trailing sash into an .html

So I’m considering purchasing a website and converting it from a WordPress site to a static website hosted on AWS and using Cloudflare to Cache all files (including html)

What I need to do is create a page rule that would convert a trailing sash into an .html extension (for ease of use with AWS, good old Dreamweaver and that could be cached on Cloudflare)

I see there are page rules to remove the trailing sash such as

(Cloudflare rule: strip trailing slash)

but could it be also used to combine a .html extension at the end.

Hi there!

Have a look at this documentation:

We have examples for that specific use cases.

Take care!