Can you remove the html suffix from a page?

Say I want to have a “” page…

Currently, all I can figure out is “” Is it possible to remove the suffix on glitch?

This depends a lot on what frameworks you’re using, but if you’re using Node with Express, like the “node-app” starter project, you’ll need to add a route to your server file.

For instance if you look at line 15 in!/hello-express?path=server.js:15:0, the part that says app.get(“/“...) defines a route for the home page of that app. If you changed “/“ to “index” then what you see at would instead show up at without any “.html”

1 Like

I was trying to do the same thing and eventually found a way.

So, for “” you would create a file named “home/index.html”, then edit that file as per usual.
The, if you go to “”, it will display the same as “

However, you would need a normal index.html file just for redirecting to the /home file.

Hope this helps.

1 Like

Or you can use .htaccess if you use the apache server on glitch.