RankifyPro

Technical SEO

301 Redirects and 404s During a Website Move

Plan old-to-new URL mappings, validate redirects and distinguish removed pages from live replacements.

Classify old URLs before you change them

Use a permanent redirect for a URL that has moved and has a relevant replacement. If the resource has gone away without a useful replacement, return a real 404 or 410. List the old URLs before a migration and match each one to the nearest equivalent by purpose. A visit to the old URL should still lead to an expected outcome.

Start with Search Console landing pages, your sitemap and important pages linked from other websites. Record the old path, new path, agreed response and owner. Bulk rules are helpful only after you verify they will not send unrelated addresses to an unsuitable destination.

Trace a worked migration

A calculator moves from /tools/seo-checker.php to /seo-checker/. The old PHP URL should redirect directly to the new page. The old URL can remain in external links, while your current sitemap and navigation use the new address. If /calculator-demo/ was retired and offered different functionality, return 404 unless you have a real replacement.

Test HTTP and HTTPS variants as well as the URLs people use on phones. A single redirect from the old canonical URL to the new one is easier to debug than a chain that adds HTTPS, changes hostname and then renames the path. Confirm the last response is the correct page and not another redirect or an error template with status 200.

Run a post-launch check

Use a spreadsheet or a simple set of requests to record the first and final statuses. Use a custom 404 page that helps people navigate to popular tools, while preserving the 404 response. Watch key landing pages in Search Console after the move. Keep useful old redirects where people and external links may still rely on them.

Preserve the ability to undo a mistaken mapping

Keep your redirect list with the date and reason for each rule. If a newly mapped page turns out to have a different purpose, you can identify and change the specific entry. Before launch, use a list of expected pairs and a few intentional exceptions. A migration test should include a legitimate old URL, a current URL and a path that never existed.

Frequently asked questions

Should removed URLs all redirect to the homepage?

Only send users to the homepage when it really replaces the old destination. Irrelevant redirects make the migration harder to understand.

Is 302 suitable for a permanent URL change?

Use a permanent redirect for a permanent move. Use a temporary redirect when the original URL is expected to return.

Why does a missing page show status 200?

Some rewrite rules send unknown URLs to a generic app page. Return a proper 404 for paths that never had valid content.

Sources