Redirects and htaccess
These tools write the server config for redirects. Make .htaccess redirect and rewrite rules, force HTTPS, write nginx redirects, redirect an old domain to a new one, or compare redirect status codes.
Tools in this group
- Domain Redirect to Another Domain — Enter the old and new domain to get the redirect config for Apache, nginx and Caddy.
- .htaccess Force HTTPS Generator — Choose your host name and options to get the .htaccess rules that force HTTPS.
- .htaccess Redirect Generator — Paste old and new URLs, one pair per line, to get the .htaccess redirect rules.
- .htaccess Rewrite Rule Generator — Pick a rewrite recipe to get the .htaccess rules, or test your own RewriteRule against a URL.
- Nginx Redirect Generator — Choose the kind of redirect and enter the URLs to get the nginx config.
- 307 Temporary Redirect and the Other Redirect Status Codes — Compare the redirect status codes, or answer three questions to get the right code and config line.