Technical SEO
What a technical audit checks and how the errors are fixed.

A website redesign costs you rankings when Google cannot find the old pages at their new addresses, or when important content gets lost on the way. You can prevent both:
This guide walks through a website migration step by step. Each section has a demo where you can try the idea yourself, and there is a checklist at the end.
The example is my own website, which moved from WordPress to Astro on 29 September 2026: how the move went.
A website migration is a change that affects the whole site at once. The most common ones are:
A redesign does not lower rankings by itself. The drop usually comes from one of these:
Some fluctuation will still happen. According to Google’s guide, visibility may vary during the move, and rankings settle over time.
Try the demo: choose what changes in the redesign to see what Google notices and what you need to do.
Example: the price list page of Kampaamo Kulma, a made-up hair salon.
What Google notices Addresses change
The addresses change, so the most important job is the redirect map. Without it the old pages return a 404 error and drop out of the search results.
Step 1: before the move
Before you move anything, you need two things: a list of all the old addresses and a baseline to compare the results with.
The address list. No single source finds every address, so build the list from these:
The baseline. Export the pages and queries with their clicks and impressions from Search Console, plus the rankings of the most important search terms. Without them you will not know what changed after the move.
Fix the errors the audit finds at the same time, so they do not move to the new site. Read more: SEO audit.
Try the demo: select sources and see which old addresses each one finds.
Example.
Old addresses 7/10 found
The selected sources found 7/10 addresses. Missing: old campaign page the site no longer links to; PDF price list that other sites link to; post that has already moved once and is still linked to. If they are not redirected, their visitors and links end up on a 404 page.
A redirect map is a table that gives every old address a new one. When a visitor or Google opens the old address, the server redirects them to the new one.
Google’s guide to moving a site gives clear rules for the map:
If an old page has no counterpart, let it return a 404 error.
Try the tool: the map checks every row and writes the redirect rules ready to copy.
Example: the new website of Kampaamo Kulma, a made-up salon.
Pages of the new site
Redirect map 3 errors
The button fixes chains and 302 redirects. Loops, missing pages and redirects to the home page need a decision: choose a matching page for them.
Redirect rules
# .htaccess: Kampaamo Kulma redirects (example)
# FIX: chain
Redirect 301 /hinnasto/ /hinnat/
Redirect 301 /hinnat/ /palvelut/hinnasto/
# FIX: 302
Redirect 302 /varjaykset/ /palvelut/varjays/
Redirect 301 /yhteys/ /yhteystiedot/
# FIX: loop
Redirect 301 /varaus/ /varaus-aika/
# FIX: loop
Redirect 301 /varaus-aika/ /varaus/
# FIX: to home page
Redirect 301 /tarjous-kevat-2021/ /
# FIX: 404
Redirect 301 /blogi/kesan-hiustrendit-2020/ /blogi/hiustrendit/
Redirect 301 /wp-content/uploads/hinnasto.pdf /palvelut/hinnasto/In Apache the lines go into the .htaccess file in the root folder of the site. In WordPress you can also make the same redirects with the Redirection plugin.
Step 2: building
A new site is usually built on a test server. It must not end up in the search results, because the unfinished site would then compete with the old one for the same searches.
The safest way is a password. robots.txt alone is not enough: according to Google, an address blocked by robots.txt can still be indexed if it is linked from elsewhere. A noindex tag or a password keeps a page out.
At launch the same protection works against you. If the blocks stay on, the site looks finished to visitors, but Google cannot put it in the search results. Check at least these:
Try the demo: switch the setup and see what Google does in each case.
Staging
Log in to see the page.
Username and password
robots.txt
User-agent: *
Disallow: /Page <head>
<meta name="robots" content="noindex, nofollow">What Google does Hidden
Right for a staging site. The unfinished site does not end up in the search results to compete with the old one.
Blocks left on
Price list
Men’s haircut €29
robots.txt
User-agent: *
Disallow: /Page <head>
<meta name="robots" content="noindex, nofollow">
<link rel="canonical" href="https://testi.kampaamokulma.fi/hinnasto/">What Google does Google cannot get to the pages
The launch failed silently: the site looks right to visitors, but Google cannot put it in the search results.
Launched correctly
Price list
Men’s haircut €29
robots.txt
User-agent: *
Allow: /
Sitemap: https://kampaamokulma.fi/sitemap.xmlPage <head>
<title>Price list – Kampaamo Kulma, Tampere</title>
<link rel="canonical" href="https://kampaamokulma.fi/hinnasto/">What Google does Google can get to the pages
Ready. Google can fetch the pages, and every page states its own, correct address.
Google ranked the old pages based on what they said and how they linked to each other. If the redesign changes these, the new page is not the same page to Google, even if the redirect works.
Compare the most important pages with the old ones before launch:
In its guide, Google reminds you that every new page needs a canonical address that points to the page itself, and that hreflang tags must be updated to the new addresses. I cover language versions in the international SEO guide.
Try the demo: compare the first and the corrected version of a pricing page with the old one.
The price list page of Kampaamo Kulma, a made-up salon, before and after a redesign. Example.
First version
Old → new 8 items got worse
The page looks better, but Google sees a weaker page than before. This is exactly where the drop comes from.
Fixed version
Old → new Everything was kept
The look was renewed, but everything Google ranked the page for was kept.
Step 3: launch day
On launch day you do three things, in this order:
Test at least the addresses that bring the most visitors and the ones other sites link to. Each one should end up, in a single redirect, on a page that responds normally (status code 200).
Launch early in the week if you can. That leaves time to fix errors before the weekend.
Try the demo: run the launch day check, fix the errors and run it again.
The new website of Kampaamo Kulma, a made-up salon, after launch. Example.
Settings 1 error
Old addresses 3/6 OK
Three errors and one warning: robots.txt blocks crawling, two old addresses end in a 404 error and the price list redirect goes through a chain. Fix and run again.
Test your own old addresses
while read -r url; do
curl -s -o /dev/null -L -w "%{http_code} %{num_redirects} $url -> %{url_effective}
" "$url"
done < old-addresses.txtSave the old addresses in a file called old-addresses.txt, one per line, and run the command in a terminal (Mac, Linux or Git Bash on Windows). Each line shows the status code, the number of redirects and the address where the visitor ends up.
Step 4: after launch
Processing a move takes time. According to Google, most pages of a small or medium-sized site move in the index within a few weeks; larger sites take longer.
Do these in the first weeks:
Fix server errors right away: according to Google, 5xx errors make it crawl the site less. You can also find lost pages in Google’s index.
Try the demo: filter the errors from a server log and see what they tell you.
The server log of Kampaamo Kulma on the morning after launch. Example lines.
What the lines tell you 10 requests
Among them are three 404s and two server errors.
The same filters for your own log
# 404 errors, most common first
awk '$9 == 404 {print $7}' access.log | sort | uniq -c | sort -rn | head -20
# Server errors (5xx)
awk '$9 ~ /^5/ {print $7}' access.log | sort | uniq -c | sort -rn | head -20The commands work with the usual log format of Apache and Nginx. They list the error addresses, the most common first.
I moved my own website from WordPress to Astro on 29 September 2026. Astro turns the pages into ready-made HTML. On 30 November 2026 I moved the site back to WordPress, and it runs on an Alwaysdata server.
In the move to Astro:
On 2 October 2026 the audit showed zero errors and a health score of 98/100. The sitemap listed 158 pages at the time.
Reindexing was still slow: three days after the move Google had recrawled only 21 of the 158 pages. It is worth requesting indexing for the most important pages in Search Console.
My move to Astro in figures, with a few redirect lines from that time.
Pages Google had recrawled 21/158
Three days after the move Google had recrawled 21 of the 158 pages in the sitemap.
.htaccess: an old address and the old sitemap to the new ones
RewriteRule ^mina/?$ /tapio-kauranen/ [R=301,L]
RewriteRule ^sitemap_index\.xml$ /sitemap-index.xml [R=301,L]wp-content/uploads/.htaccess: an image got a descriptive name
Redirect 301 "/wp-content/uploads/black-bg_cut.png" "/wp-content/uploads/tapio-kauranen-kadet-ristissa-valkoinen-t-paita.png"The checklist pulls the guide together. Some items are done weeks before launch, others only after it.
Tick off what is done, and the list shows what comes next. Each item takes you to the section of the guide that explains it.
Checklist 0/17 done
According to Google, most pages of a small or medium-sized site move in the index within a few weeks; larger sites take longer. Rankings may fluctuate in the meantime.
After I moved my own site to Astro on 29 September 2026, Google had recrawled 21 of its 158 pages in three days, so you need patience.
Google advises keeping them as long as possible, generally for at least a year. Links from other sites to the old addresses do not disappear, so it pays to keep the redirects for as long as the site exists.
Only when the domain or subdomain changes. According to Google it is not needed when you move from http to https or from a www address to one without www, or when addresses change within the same domain.
It is not a good idea. Google may treat pages redirected to the home page as soft 404 errors, and visitors do not find what they were looking for. Redirect each old page to the matching new page. If there is no counterpart, let the address return a 404 error.
A list of all the old addresses, the baseline (queries, clicks and rankings) and the technical errors worth fixing before the move. The redirect map is built on them.
The less that changes at once, the easier it is to find out where a possible drop comes from. If the addresses can stay the same, keep them.
When my own site moved, the platform changed but the addresses stayed.
Technical SEO is part of the Coding SEO Consultant service, which costs €760/month (excl. VAT). There is no start-up fee, and you can cancel any time.
In the free SEO check we look at what your redesign needs to take into account.
Technical SEO is part of the Coding SEO Consultant service. In the free SEO check we look at what your redesign needs to take into account.
Read more: technical SEO and SEO audit.
Recommended
Coding SEO Consultant
€760/month
Fixes and SEO every month, and website maintenance and Google Ads for the same price.
Typically 8 hours a month. Price excl. VAT. No start-up fee. Cancel any time.
The price includes
Need only one thing? Custom quote

This website ranks #1 for “hakukoneoptimointi” (SEO).
Try it yourself: Google search “hakukoneoptimointi” (opens in a new tab)
Muuttohaukat ranks #2 for “muuttopalvelu” (moving service).
Try it yourself: Google search “muuttopalvelu” (opens in a new tab)
Next Live: search “tapahtumatekniikka” (event technology).

Jerry Ketola: search “osteopaatti helsinki” (osteopath Helsinki).

Navy Blue: search “pellavavaatteet” (linen clothing).

Kylälääkärit: search “lääkäri ruovesi” (doctor in Ruovesi).

Energio reached #1 for “aurinkopaneelit” (solar panels).
What a technical audit checks and how the errors are fixed.
Language versions and hreflang need updating in a migration too.
After the move, find the addresses that return a 404 error.
A deeper guide for those who do the optimization themselves.
A new website with SEO built in from the start.
A quick guide to the most important SEO actions.