# Prepare a rollback plan

- Check 44.25 · Redesign and migration · Critical
- Source: https://checklist-seo-geo.com/en/redesign-migration/prepare-rollback-plan
- Prepare the return to the old site before a redesign: decision criteria, old site ready to restart, data, reversed redirects and a rehearsed procedure.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/redesign-migration/prepare-rollback-plan.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

A rollback plan describes, before a redesign or migration goes live, how to put the old site back into production if the new one fails: who decides, on what criteria, with which technical steps, and how to handle the orders, accounts and content created in the meantime. It includes an often forgotten SEO component: reversing the redirects, restoring robots.txt and the sitemaps, cancelling the change of address. Once this task is done, the procedure is written down, rehearsed on staging and can be carried out in under an hour.

## Why it matters

A launch can fail for reasons the tests did not reveal: a checkout flow that breaks under real load, redirects that cannot be applied, missing data. Without a plan, the team fixes things in production for days, while search engines crawl a broken site.

A badly executed rollback also has an SEO cost. New URLs that Google has already discovered return 404s, and forgotten redirects from old to new lead to pages that no longer exist. Google describes the steps for cancelling a domain change: remove the redirects from the old site to the new one, add 301s from the new site to the old one, then cancel the move in the Change of Address tool.

The plan also forces you to decide in advance what justifies a rollback: you avoid rolling back for a minor defect just as much as persisting with a version that costs sales every day.

## What it improves

- **Business continuity**: a serious incident is resolved in an hour instead of several days.
- **Indexing**: crawlers do not spend days on a broken or badly redirected site.
- **Data**: orders placed on the new site are not lost.
- **Ranking and AI citations**: no direct effect. The plan limits the damage of a failure; it does not protect against a loss caused by the content or structure of the new site.

## How to check

The plan is ready if:

1. The trigger criteria and the decision-maker are written down.
2. The old site can restart without being rebuilt: code, database, files and configuration are kept and dated.
3. The TTL (Time To Live, caching duration) of the DNS records involved has been lowered.
4. Bringing back the data created on the new site has been planned.
5. The old robots.txt, the old sitemaps and the old redirect rules are archived.
6. The reverse redirect file (new URL to old) is ready.
7. The procedure has been rehearsed and timed on staging.

## How to implement

The examples follow Thé des Lisières, a fictional online shop selling loose-leaf tea, which is moving from a custom-built Laravel shop to a new platform and changing its URLs. The durations are indicative.

### Step 1 — Write the trigger criteria

Distinguish what can be fixed going forward (fix forward) from what justifies a rollback. The thresholds below are conventions to adapt to your business:

| Situation | Example | Decision |
|---|---|---|
| Critical function down, with no fix within 2 to 4 h | payment impossible, quote form broken | Rollback |
| Site unavailable or repeatedly returning 5xx | more than 5% of requests failing for 30 min | Rollback if the cause has not been identified |
| Redirects cannot be applied on the new platform | impossible to redirect the old product pages | Rollback, then rework the plan |
| Missing or corrupted data | stock, prices, customer accounts | Rollback |
| Defects limited to one template | category page displayed incorrectly | Fix forward |
| Drop in organic traffic in the first week | expected fluctuation | No rollback: [monitor](https://checklist-seo-geo.com/en/redesign-migration/monitor-rankings-traffic-ai-citations) |

Also set a **rollback window** of a few days: beyond it, the data diverges too much and search engines have gone too far in processing the move; you then fix forward, or roll back a single template. Name a decision-maker and a deputy who can be reached during the 72 hours after launch, and avoid launching the day before a weekend or a sales peak.

### Step 2 — Keep the old site ready to restart

Before the switchover:

- **Code**: tag the last version of the old site (`git tag avant-refonte-2026-11-17`) or archive the site folder.
- **Database**: full backup just before the switchover, with the exact time. Test restoring it. See [automate backups and test restores](https://checklist-seo-geo.com/en/security-infrastructure/automate-backups-test-restores).
- **Hosting**: keep the old hosting, the old virtual host or the old subscription active at least during the rollback window, ideally for a month.
- **Configuration**: copy the old robots.txt, the old sitemaps, the old rewrite rules, the CDN configuration and a snapshot of the DNS zone.
- **DNS**: lower the TTL of the records that will change to 300 seconds, at least one current TTL period before the switchover (often 24 to 48 hours before), otherwise the rollback takes hours to reach all visitors. Raise it again after the rollback window.

Check the current TTL:

```bash
dig +noall +answer example.com A
dig +noall +answer www.example.com CNAME
```

The second number on each line is the TTL in seconds.

### Step 3 — Plan what happens to the data created in the meantime

This is the most often neglected part, and the most costly for an online store:

| Data | Example | Handling in case of rollback |
|---|---|---|
| Orders | orders paid on the new platform | CSV export, manual entry or import into the old system, reconciliation with the payment provider |
| Customer accounts | sign-ups, address changes | export and import, or a message to the customers concerned |
| Forms | quote requests, contact messages | check that they also arrive by email |
| Content | articles published after the switchover | editorial freeze during the rollback window |

The simplest approach: an editorial freeze during the rollback window and an automatic export of orders every hour.

### Step 4 — Prepare the SEO side of the rollback

Three cases depending on what the migration changed:

- **URLs unchanged**: putting the old site back is enough, with the old robots.txt, the old sitemaps and a cache purge.
- **URLs changed on the same domain**: the old URLs must no longer redirect, and the new URLs, which Google may have discovered, must redirect with a 301 to their old equivalents. Prepare this reverse file from the [redirect map](https://checklist-seo-geo.com/en/redesign-migration/create-comprehensive-redirect-map).
- **Domain change**: follow Google's cancellation procedure. Remove the 301s from the old domain to the new one, add 301s from the new domain to the old one, then click “Cancel move” in the [Change of Address tool](https://search.google.com/search-console/settings/change-address) of the old site's property. Resubmit the old sitemaps.

Reversing the redirect file, from `redirections.csv` (old,new) to `redirections-inverses.csv`:

```bash
awk -F, 'NF == 2 {print $2 "," $1}' redirections.csv | sort -u -t, -k1,1 > redirections-inverses.csv
```

If several old URLs pointed to the same new URL, the command keeps only one: review these cases and choose the most relevant old URL.

During the switchover itself, if the site has to be taken down for a few minutes, respond with a 503 and a `Retry-After` header rather than an error page returning 200 or 404. See [use 503 during temporary maintenance](https://checklist-seo-geo.com/en/http-redirects/use-503-during-temporary-maintenance).

> **Warning:** do not use 302 redirects “just in case” during the migration. Google recommends permanent redirects for a move; the rollback relies on a ready-to-use reverse file.

### Step 5 — Write the procedure and rehearse it

A one-page, printable document that any team member can follow. Template:

```txt
ROLLBACK PLAN — example.com redesign — launch 2026-11-17 at 07:00
Decision-maker: Claire (06 00 00 00 00) — deputy: Karim
Rollback window: until 2026-11-20 at 18:00

1. Announce the decision in the #migration channel (time, reason).
2. Freeze publishing and orders: maintenance page returning 503 (Retry-After: 1800).
3. Export the orders and accounts created since 07:00 (script export-nouveau-site.sh).
4. Switch the DNS / origin back to the old server (see the environment section).
5. Restore the old robots.txt and the old sitemaps; remove the old -> new redirects.
6. Enable redirections-inverses.csv on the new site's host.
7. Purge the CDN and application caches.
8. Check: 20 key URLs returning 200, 20 new URLs returning 301 to the old one, checkout flow, analytics tag.
9. Re-import the orders and accounts exported in step 3.
10. Search Console: resubmit the old sitemaps; if the domain changed, cancel the move.
11. Record the incident in the log; schedule the root cause analysis.
Duration measured in rehearsal: 45 min.
```

Rehearse the procedure on staging, stopwatch in hand: a procedure that has never been rehearsed almost always fails on a detail (missing access, unreadable backup, forgotten TTL).

### Cloudflare

Versions: Cloudflare dashboard, all plans, November 2026.

If the site is proxied (orange cloud), changing the origin in the [DNS records](https://dash.cloudflare.com/?to=/:account/:zone/dns/records) takes effect without waiting for the TTL to expire for visitors. Edit the `A` or `CNAME` record so that it points to the old server, disable the redirect rules added for the migration in the [rules overview](https://dash.cloudflare.com/?to=/:account/:zone/rules/overview) and in [Bulk Redirects](https://dash.cloudflare.com/?to=/:account/bulk-redirects), then purge the entire cache in [`Caching > Configuration`](https://dash.cloudflare.com/?to=/:account/:zone/caching/configuration). Prepare the reverse Bulk Redirects list in advance, disabled.

### AWS

Versions: AWS console, Route 53, CloudFront and Elastic Beanstalk, November 2026.

- **Route 53**: put the old and new environments behind weighted records; rolling back consists of setting the old one's weight back to 100 and the new one's to 0.
- **CloudFront**: if only the origin changes, edit the default behavior's origin to go back to the old one, then run a `/*` invalidation.
- **Elastic Beanstalk**: in a blue/green deployment, swapping the environment domains puts the old environment back into production in a single operation.

### Apache

Versions: Apache 2.4.

Keep the old virtual host in `/etc/apache2/sites-available/`. Rolling back consists of re-enabling the old one and disabling the new one:

```bash
sudo a2dissite example.com-nouveau.conf
sudo a2ensite example.com-ancien.conf
sudo apachectl configtest && sudo systemctl reload apache2
```

The reverse redirects are loaded with a `RewriteMap`, as in [keep redirects for at least a year](https://checklist-seo-geo.com/en/redesign-migration/keep-redirects-at-least-year-ideally-longer).

### Nginx

Versions: Nginx 1.24 and later.

Same principle with the symbolic links in `sites-enabled`:

```bash
sudo rm /etc/nginx/sites-enabled/example.com-nouveau.conf
sudo ln -s /etc/nginx/sites-available/example.com-ancien.conf /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
```

Behind a reverse proxy, prepare two `upstream` blocks and change only the `proxy_pass` target.

### Plesk

Versions: Plesk Obsidian 18.0.

Before the switchover, create a full backup of the domain in `Websites & Domains > Backup & Restore`. Rolling back consists of restoring it, which overwrites the orders created since: export them first.

### cPanel

Versions: cPanel, Jupiter theme, November 2026.

Download a full backup from `Files > Backup` before the switchover. Better still: keep the old site in a separate folder (`ancien_site/`); rolling back then consists of pointing the domain's document root back to it in `Domains`.

### Shared hosting

Ask the host how to restore a snapshot and how long it takes. Keep the old site in a separate folder, with an export of its database, and note how to change the domain's root folder.

### Vercel

Versions: Vercel, all plans, November 2026.

Instant Rollback puts a previous deployment back into production immediately: the project's “Production Deployment” tile, **Instant Rollback** button, choose the deployment, then **Confirm Rollback**. The Hobby plan only lets you go back to the previous deployment; Pro and Enterprise, to any deployment that has been in production. After a rollback, new pushes no longer go live until you promote a deployment (**Manage** button or `vercel promote`). Environment variables are not restored.

### Netlify

Versions: Netlify, all plans, November 2026.

In the site's deploy list, open a previous successful deploy and click **Publish deploy**: publishing is instant, with no new build. If the site publishes automatically from Git, then lock publishing (**Lock to stop auto publishing**), otherwise the next push overwrites the rollback. The `_redirects` file of the republished deploy applies with it.

### WordPress

Versions: WordPress 6.4 and later.

For a simple theme redesign, reactivate the old theme in `Appearance > Themes`, provided you kept it. For a broader redesign, restore the host's snapshot or your plugin's backup (files and database), then re-import the exported WooCommerce orders. If the backup comes from staging, untick “Discourage search engines from indexing this site”.

### Shopify

Versions: Shopify admin, all plans, November 2026.

For a theme redesign, keep the old theme in the theme library under `Online Store > Themes` and publish it again; content, collections and URL redirects do not come back with it. For a migration to Shopify, rolling back consists of pointing the DNS back to the old platform, whose subscription must remain active, after exporting the Shopify orders.

### Laravel

Versions: Laravel 11 to 13, deployment with Laravel Forge.

With Forge's zero-downtime deployments, each version is a release in `releases/` and the `current` symbolic link points to the active version; by default Forge keeps the last four releases (setting in `Settings > Deployments`). Rolling back the code consists of pointing `current` back to the previous release, or redeploying the Git tag of the old version.

For the database, write reversible migrations with a tested `down()` method and back up before the switchover. `php artisan migrate:rollback --step=1` is only safe if the redesign has not dropped any column or data; otherwise, restore the backup and re-import the data from step 3.

## Common mistakes

- **Cancelling the old hosting or the old store on launch day**: rolling back becomes impossible.
- **Forgetting the DNS TTL**: the rollback reaches some visitors within minutes and the others the next day.
- **Restoring a backup without exporting the orders** created since the switchover.
- **Putting the old site back without handling the new URLs**: they return 404s even though Google has already discovered them.
- **Leaving the old-to-new redirects active** after the rollback: the old site redirects to pages that no longer exist, or loops.
- **Not purging the caches**: visitors keep seeing the new site.

## Frequently asked questions

### What is a rollback plan for a site migration?

A rollback plan is the procedure written before a site migration to put the old version back into production if the new one fails. It sets out the decision criteria, the decision-maker, the technical steps (DNS, server, caches), the handling of orders and accounts created in the meantime, and the SEO side: reversed redirects, old robots.txt and old sitemaps restored, change of address cancelled in Search Console.

### Does rolling back after a migration hurt SEO?

A quick, well-executed rollback does little harm to SEO, especially if the URLs had not changed. The risk comes from new URLs already discovered by Google, which must redirect with a 301 to their old equivalents, and from the redirects from the old site to the new one, which must be removed. The later the rollback, the further search engines have gone in processing the move and the longer the disruption lasts.

### How do you cancel a domain change in Search Console?

To cancel a domain change, Google first asks you to remove the 301 redirects from the old site to the new one, then to add 301 redirects from the new site to the old one. Next, open the Change of Address tool in the old site's Search Console property and click the button to cancel the move. Finally, resubmit the old site's sitemaps.

### How long should the old site be kept after a redesign?

Keep the complete old site, with its code, its database and its hosting active, at least during the rollback window defined in the plan, and ideally for a month after launch. After that, keep a dated archive of the code, the database and the SEO configuration files: robots.txt, sitemaps and redirect rules. It also helps diagnose a later drop in traffic.

## Resources

- [Search Console Help: Change of Address tool](https://support.google.com/webmasters/answer/9370220?hl=en)
- [Google Search Central: Site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes?hl=en)
- [Google Search Central: Pause or disable a website](https://developers.google.com/search/docs/crawling-indexing/pause-online-business?hl=en)
- [Vercel: Instant Rollback](https://vercel.com/docs/instant-rollback)
- [Netlify: Manage deploys](https://docs.netlify.com/deploy/manage-deploys/manage-deploys-overview/)
- [Laravel Forge: deployments](https://laravel.com/forge/docs/sites/deployments)
- [Cloudflare: Manage DNS records](https://developers.cloudflare.com/dns/manage-dns-records/)
- [Laravel: database migrations](https://laravel.com/docs/migrations)

Next steps: [monitor critical errors daily](https://checklist-seo-geo.com/en/redesign-migration/monitor-critical-errors-daily) and [automate backups and test restores](https://checklist-seo-geo.com/en/security-infrastructure/automate-backups-test-restores).
