Free technical SEO tool · no sign-up

Free 301 Redirect Generator (.htaccess & Nginx)

Moving or renaming pages? Generate clean 301 redirect rules for Apache (.htaccess) or Nginx so you keep your rankings and never leave a visitor on a 404. Add your old and new URLs in bulk.

Why use 301 redirects?

A 301 redirect is a permanent redirect that sends both visitors and search engines from an old URL to a new one. Crucially, it passes the large majority of the old page’s ranking signals and backlink value to the new URL — so you keep the SEO equity you worked to build.

Use 301s whenever you change a URL, migrate domains, switch to HTTPS, consolidate duplicate pages, or retire content that has a clear replacement.

Redirect best practices

Frequently asked questions

What is the difference between 301 and 302 redirects?
A 301 is permanent and passes ranking signals to the new URL. A 302 is temporary and tells search engines to keep the original URL indexed. For permanent URL changes, always use 301.
Do 301 redirects hurt SEO?
A single, direct 301 to a relevant page preserves almost all ranking value. SEO harm comes from redirect chains, redirecting to irrelevant pages, or mass-redirecting to the homepage.
Where do I add these rules?
Apache rules go in your site’s .htaccess file at the document root. Nginx rules go in your server block (then reload Nginx). Always back up the file before editing.
Is this redirect generator free?
Yes — free, no sign-up, generated in your browser.

More free tools