.htaccess Redirect Generator
Generate 301 redirects, HTTPS and www rules for Apache .htaccess.
Loading tool…
How to use the .htaccess Redirect Generator
- 1
Choose the redirect type.
- 2
Enter the old and new URLs.
- 3
Copy the rules into your .htaccess file.
Frequently asked questions
Should I use 301 or 302?
Use 301 for permanent moves so search engines transfer ranking to the new URL.