Htaccess generator

# Rewrite to www
Redirects to
# 301 Redirect File or Directory
# Caching Javascript, CSS, and Images
Comma separated list. Omit leading "."
# Prevent Hotlinking
The domain that is hotlinking to you. Comma separated list. Omit leading "." Optional. What to show instead of the intended image.
# Custom Error Pages (400, 404, 500, etc)
Bad Request Auth Required Forbidden Not Found Internal server error
# Block or Allow an IP
Comma separated list Comma separated list
# Block bots
# Change default directory page
# Prevent viewing of .htaccess file
# Prevent Directory Listing
.htaccess code

Htacess generator is used to generate htaccess file as per your requirment. You can implement htaccess redirect functionality for your doamin to www, 301 redirect files and directories, caching javascript, css and images, define custom error pages path, block and allow ip addresses, block bots and much more.

Htaccess is a configuration file for use on web servers running the Apache Web Server software. 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 .

Why should use htaccess generator ?

We provide a quick way to generate htaccess code. Generally we do mistake while writing htaccess codes. It is also difficult to remember these codes so it is the best way to generate the code which is easy and time saving for us.