WEB DEVELOPMENT

How to plan redirects before a website migration

Build a page-by-page redirect plan before a website migration, then test the routes and monitor old URLs after launch.

Nigerian web team reviewing a website URL redirect map in a Lagos office
01

Start with an inventory of the old site

Before a Nigerian business replaces its website, collect every important address that people or search engines can still visit. Export URLs from the current sitemap, crawl the live site, review Search Console landing pages, and add URLs from analytics, adverts, social profiles and email campaigns. Include PDFs and image files when they have earned links or are part of a client journey. A menu list alone misses pages that remain indexed after navigation changes.

Record each old URL exactly, including case, trailing slash, query parameters where they matter, and the preferred host. Add page purpose, recent traffic, enquiries, backlinks, owner and proposed destination. For a Lagos law firm, an old property due diligence guide may have no menu link but still receive diaspora enquiries from search. Losing that page at launch would matter more than losing a short lived announcement.

02

Choose a destination that answers the same need

Give every retained old page a new URL with substantially matching purpose. An old guide to title verification should point to the updated title verification guide, not the new homepage. If the new site consolidates two overlapping articles into one fuller resource, document why that destination serves both audiences. Where no useful replacement exists, decide deliberately whether to keep an archive page, create a relevant resource or return an honest not found response.

Use a mapping sheet with columns for old URL, new URL, reason, redirect type, implementation owner and test result. Mark unresolved rows clearly. For example, if /services/land-search and /property-due-diligence both become /services/property-verification, test that the destination explains the different terms and preserves a clear enquiry route. The mapping sheet becomes the launch checklist and the record for later troubleshooting.

03

Specify permanent redirects correctly

Google Search Central recommends server side permanent redirects such as HTTP 301 or 308 for lasting URL moves. Put the rule at the old address so a visitor or crawler reaches the intended new page in one hop where practical. Avoid a chain that first changes HTTP to HTTPS, then changes host, then changes path. Test the response status and final destination with a browser and an HTTP checker, including mobile and www variants.

A redirect is not a substitute for updating the new site itself. Change navigation, in page links, canonical tags, sitemap entries, structured data URLs and campaign destinations to use the final addresses directly. Keep old redirects running for as long as possible; Google's site move guidance says generally at least one year. If an old domain is involved, budget for continued domain and hosting control so those rules can remain available.

04

Separate simple patterns from exceptions

A path pattern can save time when the relationship is truly uniform. For example, /insights/slug may become /blog/slug for every valid article. Check a sample and inspect exceptions before applying a broad rule. A pattern that quietly sends a removed service page or a former staff profile to an unrelated destination can mislead users and make migration faults harder to find.

Create explicit rules for high value pages first: homepage variants, major service pages, top organic landing pages, campaign pages, the contact page and frequently downloaded files. Then cover the long tail with reviewed patterns. If the former site was WordPress and the new site is Next.js, inspect WordPress year and month archives, attachment pages and pagination separately. Their old URL structures often need different treatment from ordinary posts.

05

Test before switching the live site

Run the mapping against a staging environment or deployment preview. Ask the technical team to test every high value URL and a representative set of lower traffic URLs. For each, record old response, redirect status, final URL, final page status and whether the destination shows the expected content. Watch for loops, chains, wrong language or location pages, missing images, login walls and redirects to a generic homepage.

Have a nontechnical reviewer try real tasks. Can a prospective client who bookmarked a Lagos property search page still find the service and submit an enquiry? Can a returning customer follow an invoice email link? Keep a rollback plan for routing configuration, but preserve a copy of the final mapping and test report. Resolve failed high value routes before launch rather than hoping search engines will sort them out.

06

Monitor the first weeks after launch

Immediately after launch, crawl the old URL list again against the live site. Compare results with the approved mapping. Watch server logs and Search Console for 404 responses, redirect errors and newly discovered old URLs. Check enquiry and booking flows as well as rankings: a page may load correctly while its form no longer reaches the right team. Keep one named person responsible for triage and a dated issue log.

Submit an updated sitemap containing the new canonical URLs. For a move between domains or subdomains, review whether Google's Change of Address tool applies; it is not needed for path changes on the same domain. Expect some search visibility fluctuation during a move and investigate patterns rather than judging success by one day's ranking. Google's official guide explains the recommended site move process at https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes.

07

A compact handover example

A Nigerian professional services firm moves /blog/lagos-land-search to /resources/lagos-title-checks. Its handover file records the old and new URLs, the 301 rule, who installed it, the successful test response, and the new page's canonical URL. The editor updates internal links and the marketing team changes the URL in active ads. A second row flags an obsolete event page for human review because it has no clear successor.

ChamanTech Solutions can prepare the URL inventory, agree destination logic with the content owner, implement redirects and verify the live migration. The most useful starting material is the current sitemap, Search Console access, a list of critical landing pages and the proposed new site structure.

← Explore more ChamanTech articles

LET'S WORK TOGETHER

Ready to make progress?

Tell us what you are planning. We will review your enquiry and discuss a practical way forward.

Discuss Your Project