How to hide the .html extension from url?

I want to hide .html extension from every URL of my website, Is there any way to do it?

Typically this is best done on the webserver itself, with Apache this would typically be in .htaccess, other servers will have similar. It would be possible on Cloudflare if you wrote a custom worker to do what you want, but this would add a lot of complexity for something that is normally relatively trivial on most webservers.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.