.htaccess Generator

.htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn loaded via the Apache Web Server, then the .htaccess file is detected and executed by the Apache Web Server software. These .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer. These facilities include basic redirect functionality, for instance if a 404 file not found error occurs, or for more advanced functions such as content password protection or image hot link prevention. The .htaccess generator below will help generate the necessary code for you, quickly and easily.

If you want to get a little more hands on with your approach to the world of .htaccess, feel free to read through one of our own .htaccess tutorials. These will start you off with learning how to create your own .htaccess file, and move on to cover creating custom error pages, setting default index files, denying access to your website, creating custom file extensions, and more.

Older browsers & certain mobile platforms may not display the above generator correctly. If this is the case for you please use the following link to access the generator: .htaccess Generator

Like every other website, this site uses cookies to analyze our traffic. Cookies may also be utilized by our advertisers and partners. By using this website you agree to the use of said cookies. More Information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings, continuing to navigate past this message, or you click "Accept" below then you are consenting to the use of cookies on the Rapid Purple website.