How to remove .HTML from a url

How to remove .HTML from a url


  • About Us
  • |
  • Contact Us
  • |
  • Login/SignUp
  • |
  • Subscribe
How to remove .HTML from a url

For example you have a url called and you want to remove the .html extension and leave it like this How it works is this: When you link a url to a folder like, by default, it will look for either an index.html or index.php file in the folder. If it is not found, it throws a 404 error. Therefore, What you just need to do is create a folder in your root directory and name it about then create an index.html file in it about folder. In that case, the will point directly to the index.html file in the about folder in your root directory. Please if you find this helpful share it...
Do you want to get Updates on things like this? Join our Telegram channel

Like this article? Share with your friends.

Please SUBSCRIBE to our Youtube Channel to get Our Tutorial Videos

  • Joseph Onipede

    112 Articles, 4 Followers
    View all posts by:

    #webdesigner #webdeveloper #maintainer #editor #coder #mathematician #engineer #scientist #lasuite Visit my main portfolio @

Leave a comment