Redirect Checkers for Safe Site Migrations

MT
Written by the MyToolDock team
Category: SEO Tools · Published

In this guide

When a page moves, a redirect tells browsers and search engines where it went. Done well, a migration keeps visitors and rankings; done badly, it leaves a trail of broken links and lost traffic. This guide covers how redirects work and how to plan them.

Permanent and temporary

A 301 redirect says the page has moved permanently, and search engines transfer their understanding of the old URL to the new one. A 302 or 307 says the move is temporary. Use 301 for migrations, renamed pages and the switch from http to https.

Plan a redirect map

Before a migration, list every old URL and the single most relevant new URL for each. Send each page to its closest equivalent, not everything to the home page, which search engines treat as a soft error and which frustrates visitors.

Avoid chains and loops

A chain is A to B to C; each hop slows loading and may lose signals. Point old URLs directly to the final destination. A loop, A to B to A, makes the page unreachable. After changes, test the important URLs to follow where they end up.

What you can do here

MyToolDock can generate redirect rules for an Apache .htaccess file, canonicalise URLs, build and validate sitemaps and find broken links in HTML you provide. It cannot fetch live URLs to trace a redirect chain from a browser tool, which is why there is no redirect checker here; use your browser's developer tools, or a command-line request, to see the real status codes.

After the move

Update internal links to the new addresses, submit the new sitemap, watch Search Console for crawl errors, and keep the redirects in place for at least a year.

Worked example: moving one page

The htaccess Redirect Generator, given the old address /old-page.html and the new address /new-page/ with a 301 type, produced two equivalent rules: Redirect 301 /old-page.html /new-page/ and, as a mod_rewrite alternative, RewriteRule ^old-page\.html/?$ /new-page/ [R=301,L]. The dot in the old address is escaped in the rewrite rule so it matches a literal dot.

Use one of the two forms, not both, and keep the rules in the .htaccess file of the site root. After adding them, request the old address in a browser or with a header checker and confirm that it answers 301 and lands on the new page in one step; chains of several redirects waste crawl effort.

Key Takeaways

Frequently Asked Questions

Will a 301 keep my rankings?

It usually passes most signals, but you may see temporary fluctuation.

Should I redirect everything to the home page?

No. Redirect to the most relevant equivalent page.

How long do I keep redirects?

At least a year, longer if the old URLs still get links.

Free tools mentioned in this guide

Browse every SEO Tools utility, or see all tools.

Recommended Reading

Developer Scratchpad

Copied to clipboard!