.htaccess Tools

Redirect Generator

.htaccess Redirect Generator
For SEO-friendly Redirects

Domain Settings

Trailing Slash Settings

Trailing slash on directories
Trailing slash on non-filepath URLs
Trailing slash on query strings

Advanced Settings

Unless you have an edge case, you will most likely not need to change any of these settings.

Use HSTS preload compatible two-step redirect learn more
Redirect www to root domain (Only applicable if subdomain is blank)
Use permanent 301 or temporary 302 redirects
Redirect insecure proxy/load balancer requests to https
Reset

Additional Information

The concepts behind this generator are founded on good SEO practices and the methods of the Apache web server.

If you want to learn more about how SEO-friendly URLs and redirects on the Apache web server there are several articles I have written that may help.

Think this is Awesome?

Well, tell your friends. Oh and tell me too!

Need Help?

If something is not quite working the right or you have a question please contact me. I am happy to help.

Contact Me

Daniel Morell

I am a web developer and SEO with a focus on creative design, a passion for perfection, and an organic marketing green thumb.