In short
During the first few weeks after a redesign or migration, a 20 to 30 minute daily routine checks for the errors that cost visibility: broken redirects, 404s on old URLs, 5xx errors, staging noindex or robots.txt left in place, canonicals pointing to the wrong host, sitemaps with errors. Once this task is done, every critical error is spotted within 24 hours, assigned to someone and recorded in a log.
Why it matters
After a migration, Google crawls the new site more intensively than usual and follows the redirects from the old URLs it knows. Google says so itself in its documentation on site moves: plan server capacity for this extra crawling and monitor the access and error logs. This is the period when a template error multiplies fastest: a badly written redirect rule hits every product page at once, a forgotten noindex every page of a given type.
Search Console reports arrive several days late: only active checks (replaying the redirects, reading the logs, testing the indexing directives) detect the problem on the same day.
Typical launch errors: redirect rules overwritten by a deployment or a regenerated .htaccess, staging robots.txt or noindex copied to production, canonicals pointing to staging.example.com, forgotten URL variants (trailing slash, upper case, parameters), 5xx errors under the load of crawlers, analytics tag missing from a template. On the GEO side, AI assistants link to URLs they have already cited: if those return 404, the answer leads to a dead page.
What it improves
- Indexing Errors are fixed before Google removes the affected pages from the index or slows down its crawling.
- Transfer of signals Every important old URL redirects to its equivalent and keeps the benefit of its external links.
- Conversions A broken checkout flow is spotted on the same day.
- Citations in AI answers URLs that have already been cited keep leading to a useful page. Indirect effect, with no guarantee of citation.
How to check
The routine is in place if you answer yes to these six questions:
- The redirect map exists as a CSV file (old URL, new URL) and a script replays it automatically every day.
- A daily check verifies robots.txt, the meta robots tags, the
X-Robots-Tagheader and the canonicals on a sample of URLs per template. - Someone reads the 404s and 5xx errors in the logs every day, or in a tool that replaces them.
- The Page indexing report, the Crawl stats and the Sitemaps report are checked at least every other day.
- Every issue has an owner and a deadline for fixing it.
- A dated log keeps track of what was seen and fixed.
How to implement
The examples follow Thé des Lisières, a fictional online shop selling loose-leaf tea, whose old URLs /produits/sencha-bio become /thes/the-vert/sencha-bio/. The figures are made up.
Before you start
Define what is critical, who receives the alert and how quickly the error must be fixed. The following table is a starting point; the deadlines are business conventions, not search engine rules.
| Error | Where to see it | Threshold | Target fix time |
|---|---|---|---|
| Site or template returning 5xx | Logs, monitoring probe, CDN | more than 1% of requests | within the hour |
noindex or Disallow: / in production |
Script from step 2 | a single occurrence | within the hour |
| Missing or wrong redirect on an important page | Script from step 1 | a single occurrence | within the day |
| Old URL returning 404 with traffic or links | Logs, 404 plugin | any known URL | within the day |
| Redirect to the home page instead of the equivalent | Script from step 1 | more than a few cases | within 48 h |
| Canonical pointing to another host | Script from step 2 | a single occurrence | within the day |
| Sitemap with errors | Search Console | any error | within 48 h |
| Analytics tag missing from a template | Source code check | one template | within the day |
Length of the routine: daily for at least four weeks, then weekly until the third month. Google says that a medium-sized site can take a few weeks or more for its new URLs to be taken into account: keep going as long as the figures are moving.
Prepare three files before launch: redirections.csv (taken from the redirect map (opens in a new tab)), echantillon.txt (three to five URLs per template of the new site) and the log.
Step 1 — Replay the redirect map
This script reads redirections.csv (one ancienne_url,nouvelle_url line, no header), follows the redirects and reports anything that does not end up at the right URL with HTTP 200, or that goes through more than one redirect. Write both URLs in full, with the protocol and host, exactly as the server returns them. File controle-redirections.sh:
#!/usr/bin/env bash
FICHIER="${1:-redirections.csv}"
ERREURS=0
while IFS=, read -r ancienne attendue; do
[ -z "$ancienne" ] && continue
resultat=$(curl -s -o /dev/null -L --max-redirs 5 -w "%{http_code} %{num_redirects} %{url_effective}" "$ancienne")
read -r code sauts finale <<< "$resultat"
if [ "$code" != "200" ] || [ "$finale" != "$attendue" ] || [ "$sauts" -gt 1 ]; then
echo "ERROR $ancienne -> $finale (code $code, $sauts redirects, expected $attendue)"
ERREURS=$((ERREURS + 1))
fi
done < "$FICHIER"
echo "$ERREURS error(s) out of $(grep -c . "$FICHIER") URLs checked."
Sample output:
ERROR https://example.com/produits/sencha-bio -> https://example.com/ (code 200, 1 redirects, expected https://example.com/thes/the-vert/sencha-bio/)
ERROR https://example.com/blog/infusion-froide -> https://example.com/blog/infusion-froide (code 404, 0 redirects, expected https://example.com/journal/infusion-froide/)
2 error(s) out of 1840 URLs checked.
The first line shows a redirect to the home page, the second a missing redirect. Schedule the script every morning with crontab -e and send the output by email:
0 7 * * * /opt/controles/controle-redirections.sh /opt/controles/redirections.csv | mail -s "Redirects example.com" [email protected]
Beyond a few thousand URLs, check the priority URLs every day and the rest every week. Screaming Frog performs the same check in list mode (Mode > List).
Step 2 — Check the indexing safeguards
For each URL in echantillon.txt, this script checks the HTTP code, the X-Robots-Tag header, the meta robots tag and the host of the canonical, then robots.txt:
#!/usr/bin/env bash
HOTE="https://example.com"
curl -s "$HOTE/robots.txt" | grep -n -i -E "^disallow:\s*/\s*$" && echo "ALERT robots.txt blocks the whole site"
while read -r url; do
[ -z "$url" ] && continue
entetes=$(curl -s -D - -o /tmp/page.html "$url")
code=$(echo "$entetes" | head -n 1 | awk '{print $2}')
xrobots=$(echo "$entetes" | grep -i "^x-robots-tag" | tr -d '\r')
meta=$(grep -o -i '<meta[^>]*name="robots"[^>]*>' /tmp/page.html)
canonique=$(grep -o -i '<link[^>]*rel="canonical"[^>]*>' /tmp/page.html | grep -o 'href="[^"]*"')
[ "$code" != "200" ] && echo "ALERT $url: code $code"
echo "$xrobots $meta" | grep -q -i "noindex" && echo "ALERT $url: noindex"
echo "$canonique" | grep -q "$HOTE" || echo "ALERT $url: canonical $canonique"
done < echantillon.txt
A Disallow: / in a group that does not target Googlebot may be intentional: read the flagged line. Details in check canonicals, hreflang, sitemaps and robots.txt (opens in a new tab).
Also check, on one example of each template, that the analytics tag is present in the source code: a page without the tag reports no visits. See check tracking (opens in a new tab).
Step 3 — Read today's 404s and 5xx errors
On a server with logs in the combined format, these commands list the URLs returning errors since the start of the day:
JOUR=$(LC_ALL=C date +%d/%b/%Y)
grep "$JOUR" /var/log/nginx/access.log | awk '$9 == 404 {print $7}' | sort | uniq -c | sort -rn | head -30
grep "$JOUR" /var/log/nginx/access.log | awk '$9 ~ /^5/ {print $9, $7}' | sort | uniq -c | sort -rn | head -30
Then the errors received by search engine crawlers, both traditional and generative:
grep "$JOUR" /var/log/nginx/access.log \
| grep -i -E "googlebot|bingbot|oai-searchbot|chatgpt-user|perplexitybot|claudebot|claude-searchbot" \
| awk '$9 >= 400 {print $9, $7}' | sort | uniq -c | sort -rn | head -30
On Apache, replace the path with /var/log/apache2/access.log (Debian, Ubuntu) or /var/log/httpd/access_log (Red Hat family). Since the user agent can be spoofed, check the IP address before concluding that it is a real crawler; the method is in analyze server logs (opens in a new tab).
For each old URL returning 404 that had traffic or backlinks before the redesign, add a redirect to its equivalent; otherwise, leave the 404.
Step 4 — Read Search Console and Bing Webmaster Tools
Every other day, then every week:
- Crawl stats: the host status should remain free of problems; in the breakdown by response, the share of 404s and 5xx errors should not climb. A rise in 301s is normal after a migration.
- Page indexing: watch “Server error (5xx)”, “Not found (404)”, “Excluded by ‘noindex’ tag”, “Blocked by robots.txt” and “Redirect error”. Open each reason to see the example URLs.
- Sitemaps: “Success” status and a number of discovered pages consistent with the new site. See submit new sitemaps (opens in a new tab).
- URL Inspection: inspect three to five strategic pages every day; the selected canonical should be the URL itself.
In Bing Webmaster Tools, do the same with URL Inspection and the Sitemaps report.
Good to know: an error that appears in Search Console today has often been fixed yesterday: check the current state with curl before fixing anything.
Step 5 — Record and escalate
Keep a dated log, shared with the technical team. Columns and examples:
| Date | Check | Issue | URL or template | Severity | Owner | Status | Fixed on |
|---|---|---|---|---|---|---|---|
| 2026-11-18 | Redirects | 212 product pages redirected to the home page | /produits/* |
Critical | Karim | Fixed | 2026-11-18 |
| 2026-11-19 | Logs | 404 on /blog/infusion-froide (32 visits, 3 backlinks) |
article | High | Léa | Fixed | 2026-11-19 |
| 2026-11-21 | Search Console | 18 URLs “Excluded by ‘noindex’ tag” | /thes/*/page/2 |
Medium | Karim | Intentional, closed | — |
Decide in advance what triggers the rollback plan (opens in a new tab), for example a critical error not fixed within 24 hours. Then add the log to the incident log (opens in a new tab).
Cloudflare
Versions Cloudflare dashboard, Pro plans and above for filtering by status code, November 2026.
If visitors go through Cloudflare, your origin logs do not see requests served from the cache or those blocked at the edge. In the zone, open Analytics, then Add filter on “Edge status code” or “Origin status code” to isolate 404s and 5xx errors. This filtering is not available on the Free plan: rely on the origin logs.
Also check the security events: a firewall rule carried over from the old site can block the new URLs or the crawlers.
AWS
Versions AWS console, CloudFront and Application Load Balancer, November 2026.
On CloudFront, the console reports break requests down by status code; enable standard logs to get the URLs. On an Application Load Balancer, create CloudWatch alarms on HTTPCode_Target_4XX_Count and HTTPCode_Target_5XX_Count, then read its access logs in S3.
Plesk
Versions Plesk Obsidian 18.0.
In Websites & Domains > your domain > Logs, filter the access logs on the 404 or 5xx code and on today's period. The raw files are in /var/www/vhosts/system/example.com/logs/: the commands from step 3 work there.
cPanel
Versions cPanel, Jupiter theme, November 2026.
Metrics section: “Errors” shows the latest entries of the error log, “Raw Access” downloads the domain's access log, to analyze with the commands from step 3.
Shared hosting
Without SSH access, download the access log every day from the host's customer area and open it with GoAccess or a spreadsheet. If no logs are available, rely on the CMS's 404 plugin, the script from step 1 and Search Console.
WordPress
Versions WordPress 6.4 and later.
The Redirection plugin records the redirects served and the 404s: open its 404s tab, sort by URL and create the missing redirect directly from the row. Rank Math offers an equivalent module, the 404 Monitor. Turn logging off once the daily phase is over, or limit how long entries are kept, so as not to bloat the database.
Also check Settings > Reading: the “Discourage search engines from indexing this site” box carried over from staging is the most frequent cause of a site-wide noindex.
Shopify
Versions Shopify admin, all plans, November 2026.
Shopify gives no access to the server logs. Replay the redirect map with the script from step 1 and check the redirects in Content > Menus > View URL redirects. A Shopify redirect only applies if the old URL no longer matches any existing page: an old page left published blocks the redirect. To spot the 404s seen by visitors, filter the page views in your analytics tool whose title is that of your 404 page.
Laravel
Versions Laravel 11 to 13.
404s go through the exception handler without being logged by default. To record them in the application logs, add a custom render callback in bootstrap/app.php:
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
->withExceptions(function (Exceptions $exceptions): void {
$exceptions->render(function (NotFoundHttpException $exception, Request $request) {
Log::channel('daily')->warning('404', [
'url' => $request->fullUrl(),
'referer' => $request->header('referer'),
'user_agent' => $request->userAgent(),
]);
});
})
The function returns nothing: Laravel then displays its usual 404 page. Read storage/logs/laravel-YYYY-MM-DD.log every day.
Common mistakes
- Only looking at Search Console: its reports arrive several days late, when the error has already cost pages.
- Testing redirects by hand on ten URLs: errors hide in the variants (trailing slash, upper case, parameters) and in the templates nobody has opened.
- Redirecting all 404s to the home page to make the alerts go away: Google treats these redirects as soft 404s. See avoid redirecting all removed pages to the homepage (opens in a new tab).
- Forgetting the other hosts:
http://, the oldwwwsubdomain or the old domain must also be replayed. - Fixing without recording: without a log, a traffic drop three weeks later remains unexplained.
Frequently asked questions
How long should a site be monitored daily after a migration?
Monitor critical errors every day for at least four weeks after a migration, then every week until the third month. Google says that a medium-sized site can take a few weeks or more for its new URLs to be taken into account, and longer for a large site. As long as the indexing and crawling reports are changing noticeably, keep the daily pace; once the curves have stabilized, switch to a weekly pace.
Which errors should be checked first after a redesign goes live?
After a redesign goes live, first check what affects thousands of pages at once: a staging robots.txt or noindex left in production, redirects that are missing or pointing to the home page, 5xx errors on a template, canonicals pointing to the old host. Next come 404s on old URLs that have traffic or links, sitemaps with errors and missing analytics tags.
Is Search Console enough to detect errors after a migration?
No, Search Console is not enough to monitor a migration day to day. Its indexing and crawling reports arrive several days late and only show a sample of URLs. It confirms what Google sees, but fast detection relies on active checks: replaying the redirect map every day, testing robots.txt and noindex on each template, and reading the 404s and 5xx errors in the server logs.
Should every 404 be fixed after a redesign?
No, not every 404 needs fixing after a redesign. Redirect to their equivalent the old URLs that had traffic, external links or citations, as well as the URLs still frequently requested in the logs. A URL with no equivalent and no value can return 404 or 410. Redirecting all 404s to the home page is a mistake: Google treats these redirects as soft 404s.
Resources
- Google Search Central: Site moves with URL changesdevelopers.google.com
- Google Search Central: HTTP status codes, network and DNS errorsdevelopers.google.com
- Search Console Help: Page indexing reportsupport.google.com
- Search Console Help: Crawl Stats reportsupport.google.com
- Cloudflare: zone analyticsdevelopers.cloudflare.com
- Shopify Help: URL redirectshelp.shopify.com
- Redirection: WordPress plugin documentationredirection.me
- Bing Webmaster Tools: help centerbing.com
Updated on
Topic checklist (PDF)