On this page
What this issue is
You moved your site from one domain to another, for example oldbrand.com to newbrand.com. A 301 redirect is a server answer that says a page has moved permanently and tells the browser and Google where it went. Without it, the old address has nothing to point to the new one.
Typical broken setups: the old domain was switched off or its DNS removed, every old URL returns a 404, everything redirects to the new homepage, or the redirect is a temporary 302. Only a one-to-one 301 from each old URL to its new equivalent keeps the history of the page.
- Old link or adoldbrand.com/pricing from Google, email or a backlink
- Old domainNo 301 rule: returns 404 or does not load
- New pagenewbrand.com/pricing is never reached
- Lead or saleForm or checkout never seen
The break is at the old domain: nothing sends the visitor or Google to the new page.
Why it costs you leads or sales
Search engines treat the new domain as a new site. The links other sites gave your old pages stop passing value, and old results in Google lead to error pages. Anyone clicking an old ad, email, bookmark, QR code or printed URL hits a dead end.
Example: illustrative numbers for a site that moved with and without page-to-page 301s.
How to check if your site has it
Open old URLs in a browser
Try the old homepage and 5 to 10 important old pages, such as pricing, contact and top blog posts. Each should land on the matching new page.
Check the status code
Run
curl -I https://oldbrand.com/pricing. You want301and alocation:header with the new URL. A 404, 302, 200 or connection error is a problem.Test both www and non-www, http and https
All four variants of the old domain should redirect to the new one in a single hop.
Crawl a list of old URLs
Export old URLs from your sitemap, Search Console performance report, analytics landing pages or a backlink tool. Run them through a crawler in list mode and look at status codes and final URLs.
Watch Search Console
On the new property, look at Indexing and Performance. If the old property still shows impressions but the new one is flat weeks later, redirects are probably missing.
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" https://oldbrand.com/pricingHow to fix it
First build a redirect map: a list of every old URL and the new URL that replaces it. Keep paths the same where you can, so oldbrand.com/pricing goes to newbrand.com/pricing. For pages that no longer exist, redirect to the closest relevant page, not blindly to the homepage.
Apache (.htaccess on old domain)
Add the rule from the snippet below at the top of .htaccess on the old domain's hosting.
Nginx
Add a server block for the old domain with
return 301 https://newbrand.com$request_uri;and reload Nginx.Handle renamed paths
Add specific rules above the catch-all for any URL whose path changed.
Keep hosting for the old domain
Point the old domain at a host where you can edit .htaccess or use server redirects.
Use a redirect plugin for path changes
A redirect manager plugin can handle individual path mappings. Import your redirect map as a CSV if the plugin supports it.
Update Site Address
On the new site, check Settings > General shows the new domain for both address fields.
Set the new primary domain
In Settings > Domains, make the new domain primary. Shopify then redirects other connected domains to it.
Keep the old domain connected
Leave the old domain connected so it redirects to the primary domain.
Add path redirects
For changed paths, use Content > Menus > View URL Redirects to add old path to new path.
Set the new domain as default
In Project settings > Publishing, set the new domain as default. Webflow 301s the other domains in the project to it.
Add 301 redirects
Under Hosting > 301 redirects, add old paths and new paths for any URL that changed.
Set the new domain as primary
In Domains, set the new domain as the primary domain for the site.
Add URL redirects
Use the URL Redirect Manager in SEO tools to add old path to new path. For a full domain move from another host, set the redirect at the old host.
Set the new domain as primary
In Settings > Domains, set the new domain as primary.
Add URL mappings
In Settings > Developer Tools > URL Mappings, add lines like
/old-page -> /new-page 301.
Attach the new domain
Connect the new domain to your funnel or website and set it as the live domain.
Add path redirects
Use the URL redirects option in the site or funnel settings, if your account has it, for changed paths. For the full old domain, set the redirect at the old domain's DNS or host.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?oldbrand\.com$ [NC]
RewriteRule ^(.*)$ https://newbrand.com/$1 [R=301,L]server {
listen 80;
listen 443 ssl;
server_name oldbrand.com www.oldbrand.com;
# ssl_certificate lines for the old domain go here
return 301 https://newbrand.com$request_uri;
}Keep query strings
$request_uriand the rules above keep UTMs andgclidon the redirect. Test one URL with parameters.Avoid chains
Redirect straight to the final URL in one hop, including https and the preferred www choice.
Add the new domain to Search Console
Verify the new domain, submit its sitemap, then use Settings > Change of address on the old property.
Update links you control
Change ad destination URLs, email signatures, social profiles, Google Business Profile and key backlinks to the new domain.
How to confirm it's fixed
curl -Ion 10 old URLs returns 301 with the right new URL- http, https, www and non-www variants all end on the new domain in one hop
- UTMs and gclid survive the redirect
- Final pages return 200, not 404
- Old sitemap URLs crawl cleanly to the new domain
- Change of Address accepted in Search Console
- New domain's impressions and indexed pages grow over the following weeks
How to prevent it happening again
Weeks before
Export all old URLs and build the redirect map.
Launch day
Turn on 301s, test them, submit the new sitemap.
Launch day
File Change of Address in Search Console.
Weeks 1 to 4
Re-test old URLs and watch for crawl errors.
Next 12 months
Keep the old domain renewed and the redirects live.
Put the redirect map in your launch checklist, and don't sign off a migration until a person has tested old URLs on the live old domain. Set a calendar reminder to renew the old domain.
How FunnelGuard handles this
FunnelGuard does not check for this yet. A check that tests old-domain URLs for 301s is a possible future addition, but it is not available today.
What FunnelGuard does do is run your real customer journeys, such as lead forms, checkouts and booking buttons, on a schedule on the live site, and check each step, the tracking hits sent to ad and analytics platforms, and whether test leads arrive. After a domain move, that can show whether the new domain's forms and tags work. It will not tell you that the old domain lacks redirects.
To watch for missing redirects yourself, re-run the curl -I checks on a list of old URLs after launch and monthly for a while. You can also use a crawler in list mode, or an uptime monitor that follows redirects and expects the new domain. A free FunnelGuard Free plan covers 1 site and 2 journeys with daily checks if you want the new site's journeys watched.
Without 301s
- Old URLs return 404 or fail to load
- Backlinks and rankings are not carried over
- Old ads and emails send visitors to errors
With 301s
- Each old URL lands on its matching new page
- Links and history pass to the new domain
- Old ads and emails still reach the site
Frequently asked questions
Questions people ask
Why did my traffic drop after changing domain?
The most common cause is missing or wrong 301 redirects from the old domain. Google then sees the new domain as a new site and old links point to nothing. Test old URLs with curl -I and add page-to-page 301s.
How do I redirect my old domain to my new domain?
Keep the old domain's hosting or DNS active and add a server-level 301 that sends every old URL to the same path on the new domain. On Apache use a RewriteRule in .htaccess, on Nginx use return 301. Platforms like Shopify, Webflow and Squarespace set this when you make the new domain primary.
Should I redirect everything to the new homepage?
No. Redirect each old page to its closest equivalent on the new site. Sending everything to the homepage is often treated like a soft 404 and loses the page-level relevance.
Is a 302 redirect OK for a domain change?
No. A 302 says the move is temporary, so search engines may keep the old URL indexed. Use a 301 (or 308) for a permanent domain change.
Do I still need the Change of Address tool if I have 301s?
It is recommended. The tool in Google Search Console tells Google about the move and speeds it up, but it requires working 301s on the old site. Use both.
How long should I keep the old domain redirecting?
At least a year, and ideally permanently if you can afford the renewal. Old backlinks, bookmarks and printed material keep sending people to the old address.
Can I fix missing 301s after the move?
Yes. If you still own the old domain, add the redirects now. Recovery is usually faster the sooner you act, but there is no way to guarantee how long Google takes.
Does FunnelGuard check for missing domain redirects?
Not yet. FunnelGuard checks your live journeys, tracking and lead delivery on the site you configure. Checking old-domain redirects is a possible future addition.
Related issues
- SEO-297Old URLs not redirected after redesign (lost rankings)Fix guide
- SEO-298Redirect map lost when changing CMS or platformFix guide
- SEO-307Internal links still point to old domainFix guide
- SEO-308URL structure changed without updating backlinksFix guide
- SEO-306Analytics or Search Console verification tag lost in migrationFix guide
- SEO-310DNS change breaks a subdomainFix guide