.htaccess Generator

You can use our tool to generate your .htaccess/.htpasswd files fast and easily.
All files are live-time generated and you can find them at the bottom


WWW Rewriter
Redirects domain.com to www.domain.com
Block/Allow IPs
You can enter more IPs by separating them with comma
.htpasswd Generator
301 File/Directory Redirect

File redirect

Directory redirect

Mixed settings
Protect files with password (requires .htpasswd file)
Redirect to maintance page
IPs that won't be redirected to maintance page. You can allow multiple IPs by splitting them with comma
Custom error pages
400
401
403
404
500
Change default directory page
Disallow hotlinking
File Caching
You can insert more extensions by separating them with comma
Rewrite Rule
Rules Parameters Other
Parameter Action Delete
Delimeter
Suffix
This field CAN be empty.
Prefix
This field CAN be empty.
This is how your rewritten url will look like.
Output
You'll see your .htaccess/.htpasswd down here