Page rules question

If my website is html5

and my other pages are displaying as example.com/contact-us.html

Is there anyway through Cloudflare to remove the “.html” like a simple page rule fix or other way that involves a simple fix?

Regards
Chris

Not if that’s what the pages are called, no.

1 Like

Ok lol just checking as this service offers lots of features and addons. I’ll find another way to remove the .html from the pages

Several Things. Chose your fav

Create a sub folder ‘contact’ put your form there and rename it to 'index.html

.htaccess is your friend

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]

Reference

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.