Redirect Generator

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!

Daniel Morell

I am a fullstack web developer, SEO, and builder of things (mostly digital).

I started with just HTML and CSS, and now I mostly work with Python, PHP, JS, and Golang. The web has a lot of problems both technically and socially. I'm here fighting to make it a better place.