Changing your WordPress blog’s domain name can feel overwhelming, but it’s achievable with proper steps. Whether you’re rebranding, improving SEO, or switching to a more memorable name, this guide will walk you through everything you need to do.
Why Change Your WordPress Blog Domain?
Before diving into the steps, it’s important to understand why you might want to change your blog’s domain:
Rebranding or Business Expansion
SEO Improvements (e.g., using a domain with target keywords)
Shifting to a Country-Specific Domain (e.g., .ng, .uk)
Making the URL Easier to Remember
Fixing a Misspelling or Unprofessional Name
Step-by-Step Guide to Changing Your WordPress Domain Name
Changing a domain involves more than just updating the URL. You need to ensure that all assets, redirects, and SEO signals are preserved.
1. Backup Your Entire WordPress Site
Before making changes, back up your site completely. This includes:
Files (themes, plugins, media)
Database (posts, settings, users)
You can use plugins like:
UpdraftPlus
Backuply
All-in-One WP Migration
A full backup ensures you can revert if anything breaks during the process.
2. Register Your New Domain Name
Purchase your new domain from a reliable registrar like:
Namecheap
GoDaddy
Google Domains
Whogohost (for Nigeria-based users)
Make sure the domain is live and pointing to your hosting provider’s nameservers.
3. Add the New Domain to Your Hosting
Log into your hosting account (e.g., cPanel, Plesk, or managed WordPress hosting). Then:
Add the domain as an Addon Domain or Primary Domain
Set the document root to your existing blog folder
Assign the domain to the correct website directory
If using services like Cloudflare, add the new domain and update DNS settings accordingly.
4. Update WordPress Site URL and Home URL
Go to your WordPress Dashboard:
Navigate to: Settings > General
Update:
WordPress Address (URL)
Site Address (URL)
Click Save Changes
You may get logged out. Log back in using the new domain URL.
5. Update wp-config.php (Optional but Recommended)
In your site files, find the wp-config.php file and add:
define(‘WP_HOME’, ‘https://yournewdomain.com’);
define(‘WP_SITEURL’, ‘https://yournewdomain.com’);
This ensures the new domain is locked in at the configuration level.
6. Fix Broken Links and Media URLs
Use a plugin like Better Search Replace to update internal URLs:
Find: old-domain.com
Replace with: new-domain.com
Make sure to select all tables, and run a dry test first.
7. Set Up 301 Redirects
301 redirects help preserve your SEO rankings by telling search engines your content has moved.
Add this to your .htaccess file (for Apache servers):
RewriteEngine on
RewriteCond %{HTTP_HOST} ^old-domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.old-domain.com$
RewriteRule ^(.*)$ https://new-domain.com/$1 [R=301,L]
This will redirect all old URLs to the new domain automatically.
8. Update Google Search Console and Analytics
For Google Search Console:
Add the new domain as a property
Use the Change of Address tool to notify Google
For Google Analytics:
Go to Admin > Property Settings
Update the default URL to the new domain
9. Update Sitemap and Submit to Google
If you use SEO plugins like Yoast or Rank Math:
Regenerate the sitemap
Submit the new sitemap URL in Search Console
This helps search engines reindex your new URLs faster.
10. Monitor and Fix SEO Issues
Use these tools to monitor post-migration performance:
Google Search Console – for crawl errors and indexing
Ahrefs / SEMrush – for broken backlinks
Screaming Frog – for crawling internal issues
Make sure all redirects work and traffic flows to the new domain without errors.
Common Mistakes to Avoid
Skipping backups
Not updating internal links and image paths
Forgetting to set up 301 redirects
Not notifying Google through Search Console
Letting the old domain expire too quickly
Keep your old domain active for at least 6–12 months, and redirect all traffic during this time.
SEO Tips for Domain Name Changes
Choose a domain that includes keywords related to your niche
Keep the domain name short and easy to spell
Avoid hyphens, numbers, or obscure TLDs
Use HTTPS for better trust and ranking
Notify your audience via blog posts, email, and social media
Final Thoughts
Changing your WordPress blog’s domain name is a detailed process, but with the right steps, it’s safe and SEO-friendly. Always start with a full backup, set up proper redirects, and inform search engines. With time, your traffic and rankings should recover and even improve.
FAQs About Changing WordPress Domains
1. Will I lose SEO rankings after changing my domain?
You may see a temporary drop, but with proper 301 redirects and updates, your rankings will recover.
2. Can I revert to my old domain?
Yes, if you keep a full backup and the domain is still active.
3. How long does it take for Google to recognize the new domain?
It can take a few days to weeks. Using the Change of Address tool helps speed it up.