.htaccess redirect

Mark the values you want to modify, enter your details, and press "Generate Code".

Try our sister project, the single page application CMS

Rewrite to www Domain Name
301 Redirect File Old file path
new file path
301 Redirect Directory Old directory path
new directory path
Caching File Extension

Public Private
Must Revalidate
Expiry Date
Password Protect File File Name
htpasswd file path
Stop hotlinking Valid link url
File Extension
No hotlinking Image
Custom 400 error 400 Error file path
Custom 401 error 401 Error file path
Custom 403 error 403 Error file path
Custom 404 error 404 Error file path
Custom 500 error 500 Error file path
Block users by IP Block these IPs
Allow these IPs
Block bad bots
Change default directory page Directory page
Prevent viewing of .htaccess
Prevent directory listing
For more details on how to create an 301 redirect