Skip to content
🖤 Lifetime deal from $4917 left · See the deal →
← Blog

How to Move a WordPress Site to a New Domain (2026 Step-by-Step)

2026-11-23

Move a WordPress site to a new domain without losing SEO: backup, migrate, update URLs safely, set up 301 redirects and tell Google.

Rebranding, switching from a .net to a .com, or merging sites: whatever the reason, moving WordPress to a new domain is more than changing one setting. Your content links to the old address in thousands of places, Google has the old URLs indexed, and visitors have them bookmarked. Get it right and you keep your traffic. Get it wrong and you get broken images, redirect loops and a drop in rankings.

This guide walks through how to migrate a WordPress site to a new domain safely, step by step.

Before you move WordPress to a new domain

Take ten minutes to prepare:

  • Point the new domain at your hosting and wait until it resolves (DNS can take a few hours).
  • Install an SSL certificate on the new domain before the move. Most hosts offer free Let's Encrypt certificates. Moving to https:// from day one avoids a second round of redirects later.
  • Keep the old domain registered. You need it for redirects, ideally for years.
  • Make a full backup of the current site. If anything goes wrong, you can go back.
  • Note your settings: the Search Console property, analytics, any external services that use the old URL (payment gateways, newsletter tools, social profiles).

Step 1: Back up the site

Install NoLimit Migration on the current site, open NoLimit Migration → Backup / Export and make a backup. You get one compressed file with the database, media, themes and plugins. It's your migration package and your safety net in one.

Step 2: Copy the site to the new domain

There are two common situations.

The new domain is on a different server or a new WordPress install

  1. Install WordPress on the new domain, then install NoLimit Migration.
  2. On the old site, go to Backups, click Transfer link on the backup and copy the private link (valid from 1 hour to 7 days).
  3. On the new site, open Restore / Import, paste the link into Import from URL, and click Restore now when it's ready.

The new server downloads the backup directly in resumable chunks, so even a very large site doesn't have to go through your computer or fit under an upload limit.

The new domain points at the same WordPress install

You can change Settings → General → WordPress Address and Site Address to the new domain, but that only changes two values. Every link, image and page-builder setting in the database still points at the old domain. You'll need to replace those URLs too (step 3).

Step 3: Update every URL, including serialized data

This is the step that breaks most domain changes.

WordPress and its plugins store many settings as serialized PHP data, which records the length of every string, like s:22:"https://oldsite.com/x/". If you run a plain find-and-replace on the database and the new domain has a different length, the recorded length is wrong, PHP can't read the value, and widgets, theme options or page-builder layouts silently disappear.

Page builders like Elementor and the block editor add more traps: URLs inside JSON, with escaped slashes, and URL-encoded values.

When you restore with NoLimit Migration, URLs and paths are replaced automatically, inside serialized data, JSON and URL-encoded values, with correct lengths. If you need extra changes (say, an old CDN hostname or an email address), add your own find & replace rules.

Doing it by hand? Use WP-CLI, which understands serialized data:

wp search-replace 'https://oldsite.com' 'https://newsite.com' --all-tables --dry-run

Check the dry run, then run it again without --dry-run. Never use a text editor or sed on the SQL file. Our guide to migrating a WordPress database explains why.

Step 4: Set up 301 redirects from the old domain

A 301 redirect tells browsers and search engines that a page has moved permanently, and passes its ranking signals to the new address. Redirect every old URL to the same path on the new domain, not everything to the home page.

On Apache, put this in the .htaccess file of the old domain (replace the domain names):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?oldsite\.com$ [NC]
RewriteRule ^(.*)$ https://newsite.com/$1 [R=301,L]

On Nginx:

server {
    server_name oldsite.com www.oldsite.com;
    return 301 https://newsite.com$request_uri;
}

Many hosts also offer domain redirects in their control panel. Whatever you use, test a few deep URLs: oldsite.com/some-post/ should land on newsite.com/some-post/ in one hop, over HTTPS.

Keep the redirects in place for a long time. Google recommends at least a year; longer is better, because old links on other sites never go away.

Step 5: Tell Google with the Change of Address tool

  1. Add and verify the new domain as a property in Google Search Console.
  2. Make sure the 301 redirects from step 4 are live.
  3. In the old property, open Settings → Change of address, choose the new property and submit.
  4. Submit the new sitemap (for example https://newsite.com/sitemap.xml) in the new property.

Then watch the coverage and performance reports in both properties for the next few weeks. Some movement in rankings is normal while Google processes the move.

Step 6: Check SSL and fix mixed content

Open the new site and look for the padlock. If the browser warns about "mixed content", some images or scripts are still loaded over http://. Replace http://newsite.com with https://newsite.com in the database with wp search-replace, or avoid the problem by entering the https:// address from the start and adding a find & replace rule when you restore. Check theme files and custom code for hard-coded URLs too.

Step 7: Final checklist

  • Log in at newsite.com/wp-admin and save Settings → Permalinks once.
  • Click through the main pages, a few posts, forms and the checkout if you have one.
  • Update analytics, ad accounts, payment webhooks, social profiles and your email signature.
  • Clear any caching plugin and CDN cache.
  • Update important backlinks you control (directories, guest posts, your own other sites).
  • Make a fresh backup of the new site, and mark it Keep forever.

What if something goes wrong?

With NoLimit Migration, a failed import never leaves a half-restored site: the database is imported next to the live tables and switched in at once, and a restore point is made before every restore. If the result isn't what you expected, restore the restore point from Backups and try again.

Not on a single site? Multisite networks aren't supported yet; it's on our roadmap.

FAQ

Will changing domain hurt my SEO?

There's usually a short dip, but with page-to-page 301 redirects and the Change of Address tool, rankings normally recover. The biggest losses come from missing redirects or redirecting everything to the home page.

Can I move WordPress to a new domain on the same host?

Yes. Either change the addresses on the same install and update the URLs, or restore a backup into a new install on the new domain, then turn the old domain into a redirect.

How long does it take?

The copy itself takes minutes for most sites. Budget an hour for redirects, Search Console and testing.

Move your site to its new domain

Download NoLimit Migration free and let it handle the backup, the transfer and the URL replacement. For a full guide to moving hosts, see how to migrate a WordPress site. Rather not touch DNS and redirects yourself? Our team does the whole move for you, from $49.

More guides