WhoDNS

Redirect Rule Generator

Build redirect rules for Apache (.htaccess) and Nginx. Copy the output into your server config.

Frequently Asked Questions

What kind of rules does this tool generate?
It produces ready-to-use Apache (.htaccess) and Nginx redirect rules based on the source and target you enter, so you just copy them.
What do "Force HTTPS" and "www" do?
"Force HTTPS" sends http visitors to the secure version; the www option redirects the non-www address to the www version (or vice versa) for a consistent URL.