Make .htaccess file visible and editable for the Replit users

Describe your feature request
I’d like that Replit to make visible and editable the .htaccess file. This a very important file that gives a lot of features to a web page, without it a web is not so good.

What problem(s) would this feature solve?
It will let people :

  1. Create a custom 400 page
  2. Create a custom 401 page
  3. Create a custom 403 page
  4. Create a custom 404 page
  5. Create a custom 500 page
  6. Get rid of the HTML file extension in the URL
  7. Stop making people create a folder and putting an index.html file inside to not get the HTML extension in the URL
  8. Make people write less JS code making webs have a higher score in Lighthouse

Explain what you were trying to do when you came across the problem leading to this feature request
I was trying to make a custom 404 page, I didn’t know how so I tried searching in Stackoverflow for some JS code that could help, but sadly I didn’t find anything that worked, that’s why I tried accessing the .htaccess file, but I couldn’t find it.


I agree that this would be very very useful.

It would also allow users to:

  • Change the web server root directory so that you can have a folder with all HTML files and have other files outside that folder that are not accessible via the Web
  • Allow for making a specific file/folder require Authorization

It would be great if this was added.


you can already do #1. Just uncomment the hosting table in the .replit file and change the directory


Ok but what about custom 404 pages on HTML Repls?

1 Like

You need the .htaccess file!

1 Like