Free Tool

htaccess Redirect Generator

Create bulk 301/302 redirects, force HTTPS, canonicalize www, and fix trailing slashes — output as Apache Redirect, RewriteRule, or Nginx, with loop & chain checks.

Old URL / pathNew URL / path
One-click recipes
Apache redirect rulesapache

Migrate URLs without losing rankings

When you change a URL, a 301 redirect tells search engines the page moved permanently and passes its ranking signals to the new location. This generator handles one-off redirects and full migrations alike: paste thousands of old→new pairs from a spreadsheet, layer on site-wide recipes (force HTTPS, www canonicalization, trailing-slash policy), and choose Apache Redirect, RewriteRule, or Nginx output. It automatically flags duplicate sources, self-loops, and redirect chains so you ship clean rules the first time.

Frequently Asked Questions