URL migration and 301 redirects: how to preserve search visibility
When URLs change (site redesign, structural change, domain exchange), you need 301 controls. Without them, you lose search engine visibility and the link value breaks down. 301 = permanent control, which transfers ~90% of the link value to the new address. Make a redirect map before migration and test carefully.
When do you need a URL migration?
- Site renewal: URL structure changes (e.g. /services/it-support → /it support)
- Domain exchange: oldfirma.fi → Newcompany.fi
- HTTPS Transfer: http:// → https://
- CMS exchange: WordPress → static, or the other way around
- Combining pages: Two pages into one
- Deleted pages: The page will be removed, but it has links
301 vs 302 vs 404
| Code | Meaning | SEO Impact | When to use |
|---|---|---|---|
| 301 | Permanent control | Moves ~90% of the link value | URL changes permanently |
| 302 | Temporary control | Does not transfer link value | Temporary (e.g. service page) |
| 404 | Page not found | Link value is lost | Page removed, no relevant replacement |
| 410 | Deleted Permanently | Exiting the index faster | Page intentionally removed |
301 control in practice (.htaccess)
On the Apache server, redirects are made to a .htaccess file:
# Single redirect
Redirect 301 /old-page.html /new-page.html
# Entire directory
Redirect 301 /old-directory/ /new-directory/
# Regular expression (mod_rewrite)
RewriteEngine On
RewriteRule ^blog/(.*)$ /artikkelit/$1 [R=301,L]
# Domain-vaihto
RewriteCond %{HTTP_HOST} ^vanhafirma\.fi$ [NC]
RewriteRule ^(.*)$ https://uusifirma.fi/$1 [R=301,L]
# HTTP → HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
URL migration checklist
Before the Migration
- ☐ List all current URLs (Screaming Frog, sitemap, GA4)
- ☐ Make redirect map: old URL → new URL
- ☐ Check the link value of main pages (Ahrefs, Moz)
- ☐ Backup an old site
- ☐ Test controls in a staging environment
During the migration
- ☐ Install 301 controls
- ☐ Update internal links (not just redirects)
- ☐ Update sitemap.xml with new URLs
- ☐ Update canonical tags
- ☐ Update robots.txt if needed
After the Migration
- ☐ Test all controls working (curl, Screaming Frog)
- ☐ Send a new sitemap to Search Console
- ☐ Track indexing in Search Console
- ☐ Check for 404 errors (Coverage report)
- ☐ Track organic traffic for 2-4 weeks
- ☐ Notify external linkers of new addresses
Common Errors in URL Migration
- No controls at all: All link value is lost.
- 302 when you're supposed to be 301: Google does not transfer link value.
- Control Chains: A → B → C → D. Hold max 1 jump.
- Direction to the front page: All old URLs → front page. Google considers this a soft 404.
- Not tested: The controls break and no one notices.
- Deleting redirects too early: Keep at least 1 year.
How do we test the controls?
- Browser: Type the old URL and see if it redirects correctly
- curl:
curl -I https://esimerkki.fi/vanha-sivu→ see 301/302 and Location - httpstatus.io: Test multiple URLs at once
- Screaming Frog: Crawl old URLs and check answers
Frequently asked questions
How long do you need to keep the 301 controls?
At least 1 year, preferably permanently. Google recommends keeping as long as possible. Old links cannot be managed – They will point to the old address forever.
Is the SEO value lost in 301?
A little. Previously, there was talk of a loss of ~10-15%, but Google has said that today 301 transfers almost all link value. In practice, a small decrease is normal, but recovery occurs in 2-8 weeks.
What if the same content is in two addresses?
Duplicate content. Use the canonical tag to point to the main version, or 301 to redirect the other one away. Do not leave two competing URLs.
Read also
- SEO Quick Course in 30 Minutes
- GA4events for contact monitoring
- B2B front page that sells
- Search engine optimization as a service →
Are you planning to redesign the site?
We help with URL migration: redirect map, implementation and tracking. You keep search engine visibility.
Request an estimateWhat would you like to improve in your business?
Learn about the content of the related service and Tell us about your business need.