.HTACCESS GENERATOR

 

WWW Rewrite

Redirects yourwebsite.com to www.yourwebsite.com

Password Protect File

Requires .htpasswd file

htpasswd Generator

301 Redirect File Or Directory

Caching Javascript, CSS, And Images

Comma separated list. Omit leading "."

Public Private
Must Revalidate

Prevent Hotlinking

The domain that is hotlinking to you.
Comma separated list. Omit leading "."
What to show instead of the intended image. (optional)

Custom Error Pages (400, 404, 500, etc)

"Bad Request"
"Access Denied"
"Forbidden"
"File Not Found"
"Internal Server Error"

Block or Allow An IP Address

Comma separated list
Comma separated list

Change Default Directory Page

Block Bad Bots

Enable

Block Viewing .htaccess

Enable

Prevent Directory Listing

Enable

.htaccess Code

.htpasswd Code