Generate .htaccess Redirects

Build .htaccess redirect rules without writing the syntax from scratch.

Enter the path you want to redirect from (e.g., /old-page)
Enter the destination path or full URL.
Redirects all HTTP traffic to secure HTTPS.

Generated .htaccess Code

Copy the generated code below into your .htaccess file.

Create .htaccess redirect rules for common redirect patterns without hand-writing Apache syntax.

canonical URL generator and HTTP status code checker cover nearby work for .htaccess redirects.

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us