How can I edit site pages URL (example.com/page1.html)

Hello everyone,

I was wondering if you can help me with this problem. After I have uploaded the files to my hosting service and the website went live, I noticed the pages are displayed in the browser with the “.html” ending. I hope I explained this well enough, thank you.

1 Like

if you have access to your server (not using bss server) then you can change with htaccess

RewriteEngine on
RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
RewriteRule ^ /%1 [NC,L,R]
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]

Or you can change the file structure as outlined here:

Thank you for the help

1 Like