Skip to content
Rank Tactix
Technical SEO

301 Redirect Generator

Moving to a new site or URL structure? Paste your old and new URLs and get ready-to-use 301 redirect rules, with checks for the chains and loops that quietly lose rankings in a migration.

Built and maintained by Nouman Sabir AI search & SEO specialist Updated October 2026

  • 100% free
  • No sign-up
  • Runs in your browser, nothing is stored

Separate with a comma, tab or space. Full URLs are reduced to paths. Lines starting with # are ignored. Paste straight from a spreadsheet.

Shopify, Wix and Squarespace have their own redirect screens: use the old and new paths from this list there.

4 redirects

# 301 redirects (Apache .htaccess). Place above other rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^old-services/plumbing\.html$ /services/plumbing [R=301,L]
RewriteCond %{QUERY_STRING} ^p=123$
RewriteRule ^blog/$ /blog/fix-a-leaky-faucet? [R=301,L]
RewriteRule ^contact-us$ /contact [R=301,L]
RewriteRule ^about-us$ /about [R=301,L]
</IfModule>

No chains, loops or duplicates found.

Test a few old URLs after you add the rules: each should return one 301 to a page that loads. Generated in your browser.

Your inputs are saved in this browser only, so they're here when you come back.

Free migration check

Planning a redesign or platform move?

Send me your website and I'll review your URL structure and redirect plan, then reply with what could cost you rankings.

Reviewed by Nouman Sabir
Top Rated on Upwork · 100% Job Success

No spam. Your details go only to me, never to a list.

How to use the 301 Redirect Generator

  1. 1

    Paste one redirect per line: the old URL, then the new URL, separated by a comma, tab or space.

  2. 2

    Choose your server: Apache, Nginx, or Netlify and Cloudflare Pages.

  3. 3

    Fix any chains or loops flagged, then add the rules and test a few old URLs.

Why redirects protect rankings

When a URL changes, a 301 redirect tells Google the page moved permanently and passes its ranking signals to the new address. Missing redirects turn backlinks and bookmarks into 404s, which is the most common reason traffic drops after a redesign or platform move.

Avoid chains and loops

Each extra hop slows the redirect and weakens the signal. The generator flags:

  • Chains: A redirects to B, which redirects to C (point A straight to C)
  • Loops: A redirects to B, which redirects back to A
  • Duplicates: the same old URL listed twice with different targets
  • Self-redirects: an old URL that points to itself

A safe migration checklist

Crawl the old site before launch, map every URL that has traffic or backlinks, launch the redirects with the new site, then crawl the old URL list again to confirm each returns a single 301 to a 200 page. Watch the Pages report in Search Console for a few weeks.

Frequently asked questions

301 or 302?

Use 301 for permanent moves so ranking signals transfer. Use 302 only for temporary changes.

Should I redirect everything to the homepage?

No. Redirect each old page to its closest equivalent. Google treats mass redirects to the homepage like 404s.

How long should redirects stay in place?

At least a year, and ideally permanently for URLs with backlinks.

Is my data stored?

No. Rules are generated in your browser.

More free SEO tools

All tools →
eCommerce

ROAS Calculator

Find your ROAS, break-even ROAS and the most you can pay per order.

Open the tool

Free 30-min strategy call

No obligation

Book now