Google recommends server-side permanent redirects from every old URL to its new URL when a site moves, and tells site owners to keep those redirects for as long as possible, generally at least a year. That instruction sits at the centre of website migration SEO, and most of the effort in a migration goes into making it possible to follow.
Public sector estates make it harder. Content belongs to many service teams, and document libraries carry their own URLs that someone has to account for. A redirect can only point somewhere once the organisation has decided what each old URL becomes, so the inventory and the content audit have to come before the build.
How do you migrate a website without losing search rankings?
The method that protects search rankings in a website migration is a complete map of old URLs to new ones, with each old URL sent to its new address by a permanent server-side redirect. Google's site move guide says it is important to map your old site's URLs to the URLs for the new site, and it names 301 and 308 as the permanent redirects to use where possible.
The same guide states that 301 and other permanent redirects do not cause a loss in PageRank, and Google's redirects documentation explains that the indexing pipeline treats a permanent redirect as a signal that the target should be canonical. Temporary redirects, listed there as 302, 303 and 307, keep the source page showing in search results.
The map is only as good as the list of old URLs behind it. Google lists sitemaps, server logs or analytics software for the URLs that get the most traffic, the Links report in Search Console and the CMS itself as places to find old URLs. A site that has already been through one migration will carry older redirects too, and those belong in the new map so that visitors are redirected to the final destination directly rather than through a chain.
Google also warns against two shortcuts. Pointing many old URLs at the new home page "can confuse users and might be treated as a soft 404 error", and JavaScript redirects are for use only where server-side or meta refresh redirects are not possible.
How long should redirects stay in place after a website migration?
Redirects should stay in place for at least a year after a website migration, and longer if you can manage it. Google's site move guide puts it plainly: "Keep the redirects for as long as possible, generally at least 1 year."
For a public body, treat that year as a minimum, because old addresses live on in other organisations' pages and in documents nobody will edit again.
Google advises using permanent redirects when you're sure that the redirect won't be reverted. That is a practical reason to agree the rollback decision point before launch day, so the team knows when the move becomes final.
The redirect map also needs an owner once the project team has gone. GOV.UK's publishing guidance tells its own editors to keep a secure record of the URLs of the content they unpublish. Record who holds the file, where the redirects are served from and who is allowed to change them.
Audit the content before anything moves
A content audit gives every URL a decision before migration: keep, merge, withdraw or remove. Migrating everything unexamined copies out-of-date and unowned pages into the new CMS, where each still needs an owner and a redirect decision.
Where service teams own the content, the decisions belong to them, so the web team cannot finish the audit alone. Set a deadline for decisions and a default outcome for content nobody claims, agreed by the head of digital before the audit starts. Without that default, silence usually means a page migrates.
Pages the organisation publishes because a law or policy requires it need separate handling. Ask the information governance lead for that list at the outset and mark those pages so none can be removed or moved without a recorded decision.
Withdrawing sits between keeping and removing. On GOV.UK, content that is no longer current can be withdrawn, which leaves the page live with a banner saying it has been withdrawn. That guidance is written for GOV.UK's own publishing tool, but the distinction suits any public body whose readers still need older decisions.
Documents are a migration of their own
Documents need their own inventory, owners and URL map, because Google indexes them as search results in their own right. Google lists "Adobe Portable Document Format (.pdf)" among the file types it can index, so a PDF that disappears at launch loses its search traffic as a page would.
Each document needs the same decision as a page, plus a second one about format. GOV.UK guidance says "HTML is the most accessible format for publishing documents" and advises turning existing PDFs into HTML, which makes a migration the natural moment to convert the documents people use most.
A scripted transfer can only apply decisions that have already been recorded. We migrated the Office of Rail and Road's website and intranet to Drupal 9, and the intranet project included a scripted migration from SharePoint with integration into Dynamics, Azure AD and SharePoint Online.
What should you measure before the old site is switched off?
Measure a search and usage baseline for the old site before switch-off, and keep measuring both sites after launch. Google's guidance is to verify both the old and new sites in Search Console and to use web analytics to study usage on both, then monitor the traffic on both the old and new URLs as the move beds in.
Export the top landing pages and queries for a period long enough to include your normal seasonal peaks, and include document URLs in that export. After launch, compare the same pages against the same period, and chase any old URL that still receives visits but returns an error.
Set expectations with senior managers early. Google says to "expect temporary fluctuation in site ranking during the move" and that for medium-sized websites it can take a few weeks or more for Google to gradually start showing the new URLs instead of the old ones, and even longer for larger sites. A monitoring period of a week or two may end before that has happened.
Hosting needs planning as well. After a migration, Google will temporarily crawl the new site more heavily than usual, and it suggests timing the move to coincide with lower traffic where possible. Your analytics baseline will show which weeks those are for each service.
Does Drupal 10 end of life mean a website migration?
Drupal 10 end of life means an upgrade is due, and whether that upgrade is a website migration in search terms depends on whether the URLs change. Drupal 10 will reach end of life on 9 December 2026, no new Drupal 10 releases will be made after that date, and Drupal 12 is scheduled for release in the week of 7 December 2026.
Google's separate guide for moves that keep the same URLs is written for changing hosting provider or moving to a content distribution network, and says it is only for migrations that don't affect the user-visible URL. An upgrade from Drupal 10 to a later version that keeps its paths and aliases changes no URLs either, so the redirect method above largely does not apply, although the baseline and monitoring still do. A rebuild that changes the information architecture is a site move with URL changes and needs the full map.
Councils weighing LocalGov Drupal as the destination should read what to verify before adopting LocalGov Drupal first.
Writing website migration SEO into the tender requirement
Public sector website tenders commonly ask for a migration methodology that covers a stated number of pages and documents, the removal of content that is out of date, redirects and limited effect on search rankings. Those requirements often leave out who audits the content and who owns the redirect map after launch, and they seldom define acceptable search performance at sign-off. A bidder can price around each gap.
Take the page and document counts from your own crawl and CMS export, so every bidder prices the same estate. State who carries out the content audit and who in your organisation makes the keep or remove decisions. The tender should also say whether content editing, reformatting, PDF conversion and uploading are inside the fee.
Name the redirect map as a deliverable. Require it in a format you can open without the supplier, and say who maintains it after launch. Set the period for keeping redirects no shorter than Google's guidance of generally at least 1 year. Where the redirects are served from matters when the contract ends, which our piece on avoiding vendor lock-in on a public sector website covers.
Ask for a rollback plan with a named decision point, and for acceptance criteria based on evidence rather than rankings. Google expects rankings to fluctuate during a move, so a contract that makes sign-off depend on no ranking change will either be ignored or priced as a risk.
A strong answer names its inventory sources, such as server logs, analytics, sitemaps and a CMS export, and treats the redirect map as a document you receive and approve. It sends every old URL to a relevant page with a 301 or 308, or returns a 404 or 410 by recorded decision, and it describes the baseline, the monitoring period in weeks and the reports you will get.
A weak answer says "we will migrate all content" and "redirects will be put in place", or promises that rankings will not change.
| Workstream | Owner | Evidence at acceptance |
|---|---|---|
| URL and document inventory | Supplier, with buyer sign-off | Crawl and CMS export reconciled into one list |
| Content audit decisions | Buyer's service teams | Keep, merge, withdraw or remove recorded against each URL |
| Redirect map | Supplier builds, buyer owns | Every old URL returns 301 or 308 to a relevant page, or 404 or 410 by decision |
| Documents | Shared | Document URLs mapped and a format decision recorded for each |
| Search Console and analytics | Buyer | Old and new properties verified, pre-launch baseline saved |
| Launch monitoring | Supplier, for an agreed period | Reports on traffic, indexing and errors at set intervals |
| Rollback | Supplier | Tested rollback plan and an agreed decision point |
Before you write the migration requirement
Crawl the current site and export the CMS this quarter, so the page and document counts in the tender are your own figures. Ask the information governance lead for the list of pages published under a duty, and agree the default outcome for content no team claims.
If your site is captured by the UK Government Web Archive, contact the archive before you set a switch-off date, because the archive process can take several weeks to complete.
Then draft the website migration SEO requirement around the evidence in the table above, and decide now who in your organisation will hold the redirect map for the years after launch.
Frequently asked questions
Should pages we are deleting return a 404 or redirect somewhere?
Pages with no replacement should return a 404 or 410 on the new site, and Google's site move guide says to make sure those URLs do exactly that. Redirect a deleted page only when a relevant page replaces it. Sending many deleted URLs to the home page can confuse users and might be treated as a soft 404 error.
Can a large public sector site be migrated in phases?
Google's site move guide says that large sites can be moved one section at a time. Phasing lets the team check redirects, indexing and traffic on one section before moving the next. It also means running two platforms for longer, so the tender should say who hosts and supports both during the overlap.
Do PDFs need redirects when a website moves?
PDFs need the same treatment as pages, because Google indexes PDF files and they can rank in search results. Each PDF URL that is kept should redirect permanently to its new address, or to the HTML page that replaces it. A PDF you are not keeping should return a 404 or 410 by decision.


