Changing your domain name is one of the highest-risk SEO moves you can make. Google tracks every URL individually, and a domain swap means every single page gets a new address. Without proper redirects, you lose all accumulated authority overnight.
I’ve migrated over a dozen WordPress sites to new domains, and every one kept its rankings within 4 to 6 weeks. The difference between a smooth migration and a traffic collapse comes down to five steps.
Step 1: Crawl Your Current Site First
Before touching anything, crawl your existing domain with Screaming Frog or a similar tool. Export every URL. You need a complete list of pages, posts, images, and PDFs that carry any search value. This becomes your redirect map.
Step 2: Set Up 301 Redirects for Every URL
A 301 redirect tells Google the move is permanent and transfers roughly 90 to 99% of link equity to the new URL. In WordPress, the Redirection plugin handles this cleanly. Install it on your new domain and import your redirect map.
For a full domain swap where URL paths stay the same, you can also add a wildcard redirect in .htaccess:
“ RewriteEngine On RewriteCond %{HTTP_HOST} ^olddomain\.com$ [NC] RewriteRule ^(.*)$ https://newdomain.com/$1 [R=301,L] “
Keep the old domain registered and hosting active for at least 12 months. Google needs time to recrawl and reassign authority.
Step 3: Update wp-config and WordPress Settings
In wp-config.php, set the new domain explicitly:
“php define('WP_HOME', 'https://newdomain.com'); define('WP_SITEURL', 'https://newdomain.com'); “
Then run a search-and-replace across your database using WP-CLI or the Better Search Replace plugin. Every internal link, image URL, and canonical tag needs the new domain.
Step 4: Notify Google Through Search Console
Add your new domain as a property in Google Search Console. Then use the Change of Address tool under Settings on the old property. Google’s documentation states this tool “helps migrate your search results from your old site to your new site.” According to Google, most migrations see ranking recovery within 4 to 6 weeks when redirects are properly configured.
Submit a fresh XML sitemap on the new property and monitor the Index Coverage report daily for the first two weeks.
Step 5: Update External References
Reach out to any sites linking to your old domain and request updated links. Update your Google Business Profile, social media accounts, and directory listings. These signals reinforce the new domain’s authority.
Avoiding common SEO mistakes during migration saves months of recovery time.
How long does it take to recover SEO after a domain change?
With proper 301 redirects and Search Console notification, most sites recover rankings within 4 to 6 weeks. Sites with strong backlink profiles often recover faster because Google processes high-authority redirects as a priority.
Will I lose all my backlinks if I change domains?
No. 301 redirects pass link equity from the old URL to the new one. Google has confirmed that 301 redirects transfer nearly all ranking signals. The key is keeping the old domain active with redirects in place for at least a year.
Should I change my domain name for SEO?
Only if the new domain provides a clear brand or keyword advantage. A domain change is never risk-free, and ranking fluctuations during migration are normal. If your current domain works, focus on building strong on-page SEO instead.
A domain migration done right protects years of SEO investment. If you need help planning or executing a WordPress domain change, get in touch and I’ll walk you through the process.