Here is a simple blank (empty) .htaccess file, ready for download.
Download blank .htaccess fileVersion 1.0 ( 376 bytes ZIP )
👉 Read notes below.
Why?
Because .htaccess files by default are hidden on most systems. In some cases it is easier to simply download a blank copy instead of trying to create one manually.
As someone who works a lot with Apache/.htaccess, it’s nice to have a “go-to” place for downloading and sharing a blank/empty .htaccess file.
Notes
- The download is a tiny (376 bytes) ZIP file
- Unzip the download file to get a folder named
/blank-htaccess-file/ - Inside of
/blank-htaccess-file/is a blank.htaccessfile - To view the file, your OS must be configured to display hidden files
- For more details, check out my post on how to create and use .htaccess files
- To learn how to use Apache/
.htaccessto optimize and secure your site, check out my book .htaccess made easy and related free tutorials - For tons of related tutorials and code snippets, check out the Apache and .htaccess archives here at Perishable Press
- If you have any questions or comments, feel free to share in the comments section below, or reach me anytime via my contact form



