Ask coding questions

← Back to all posts
How do I remove .html from my URL
talkative (2)

I have a website, and i don't know how to remove it.

I tried .htaccess and the code. But It didnt work.

Answered by candies (241) [earned 5 cycles]
View Answer
Comments
hotnewtop
candies (241)

Use files. Example:

If you have a homepage. make create a file named home then add index.html in it. when you go to the page, it'll be https://example.com/home/

talkative (2)

thanks bro, should've asked you anyway lol. @candies