Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Easily Move WordPress to a New Domain (Without Losing SEO)

Moving your WordPress site to a new domain is a big step that requires careful planning. Changing your domain name can affect your SEO rankings, so it’s essential to handle the process with care.

We’ve successfully navigated the domain-change process numerous times, so we know firsthand the potential pitfalls and how to avoid them.

While temporary SEO fluctuations are inevitable during a domain migration, you can reduce the impact. With the right approach, you’ll be able to quickly regain your search traffic and rankings.

In this guide, we’ll walk you through the correct way to move WordPress to a new domain without losing SEO.

Migrating a WordPress website to a new domain name without loosing SEO

Migrating your WordPress site to a new domain name can be scary, but it doesn’t have to be. We are here to walk you through every step of the process.

You can click on any of the links below to go to a particular step of migrating your WordPress site to a new domain name:

Video Tutorial

Subscribe to WPBeginner

If you’d prefer written instructions, then just keep reading.

What to Know Before You Change Domains

Before you start, there are a few things you should know.

The process of transferring to a new domain will temporarily affect your search engine rankings since Google and other search engines will need to adjust to the changes.

It will also temporarily affect your search traffic. Please keep in mind that this is normal, and it happens to all websites that switch to a new domain.

However, you can dramatically decrease the SEO impact by following this guide. We will show you the right way of moving your WordPress site to a new domain name, setting up proper 301 redirects, and notifying search engines.

Please note that this guide is not for moving a WordPress site to a new host. This is for switching a domain name only. While the process is similar, there are a few extra steps. These extra steps will help you to protect your SEO rankings and traffic.

Lastly, if your old website is on WordPress.com, then you need to follow the instructions in our guide on how to move from WordPress.com to WordPress.org instead.

Pre-Steps: What You Need to Get Started

In this guide, we are assuming that you have your WordPress website set up on oldsite.com, and you are trying to migrate it to newsite.com.

We are also assuming that you already have a WordPress hosting account and you are familiar with your web hosting control panel.

You’ll also need to know how to use an FTP client like FileZilla or how to edit files using the File Manager app available in your hosting account dashboard.

In case you don’t have a web hosting provider or are looking to switch to a new one, we recommend using Bluehost (great for small sites + comes with a free domain) and either SiteGround or WP Engine (great for larger sites or online stores).

Once you have those things in place, you are ready to start the process!

Step 1: Create a Duplicator Package of Your WordPress Site

The first thing you need to do is create a full backup of your WordPress site.

You’ll then use this backup to create a duplicate of your website so that you can set up the redirects properly from your old domain to the new one.

While there are many WordPress backup plugins available, we will be using Duplicator for this tutorial.

Duplicator is the best WordPress backup and migration plugin. We have used it to migrate countless websites for our own businesses as well as customers. We have found it to work reliably, even for very large websites.

Note: There is also a free version of Duplicator available, which you can use for this migration. However, we recommend upgrading to a paid plan to unlock more features like automatic cloud backups, 1-click website recovery, easier migrations, and more.

Let’s start by installing and activating the Duplicator plugin on your old domain name. For more details, see our step-by-step guide on how to install a WordPress plugin.

Once activated, the plugin will add a Duplicator menu item in your WordPress admin. You need to go to Duplicator » Backups page and then click on the ‘Create New’ button to create a new backup or copy of your WordPress site.

Create new backup in Duplicator

Duplicator will now initialize the back wizard it will automatically assign a name to this package.

Click on the ‘Next’ button to continue.

Name backup package

Duplicator will now run some tests to see if everything is in order. If the plugin finds an issue, then you will see a warning with instructions.

If all items are marked ‘Good,’ then click on the ‘Build’ button.

Build package

The plugin will now start creating a duplicator package of your website files. Depending on the size of your site, this process may take a few minutes.

Once finished, you’ll see a ‘Download’ option. Clicking it will show you options to download Both Files or download Installer and Archive (zip) separately.

Choose ‘Download Both Files’ to download them to your computer.

Download both backup files

The Archive file is a complete copy of your WordPress files. It includes your WordPress themes, permalink settings, plugins, uploads, and any other files created by WordPress plugins.

The installer script is a PHP file that will automate and run the WordPress migration by unpacking the archive file.

Step 2: Create a Database for Your New Domain Name

Before moving your WordPress site to the new domain, you’ll need a new SQL database to unpack WordPress on your new domain name.

If you have already created a database, then you can skip this step.

To create a database, you need to visit your hosting account’s cPanel dashboard, scroll down to the ‘Databases’ section, and then click on the ‘MySQL Databases‘ icon.

We will show you how to locate it on Bluehost, but the basic instructions are the same and should apply to all hosting providers.

Log in to your Bluehost account dashboard and click on the ‘Settings’ button under your website.

Bluehost site settings

Under your site settings, you need to switch to the ‘Advanced’ tab.

Scroll down a little to the cPanel section and click ‘Manage’.

Bluehost cPanel

This will open the cPanel dashboard.

Scroll down to the Databases section and click on the ‘MySQL Databases’ option.

Bluehost cPanel MySQL Databases

Note: Your hosting control panel may look slightly different than the screenshots. However, you should still be able to find a Databases section with an option to create a new database.

Simply provide a name for your database and then click on the ‘Create Database’ button.

Bluehost cPanel create MySQL database

cPanel will now create a new database for you. After that, you need to scroll down to the MySQL Users section.

Next, provide a username and password for your new user and click on the ‘Create User’ button. Make sure to note the username and password in a safe place.

Bluehost cPanel add MySQL database username and password

The new user you just created still does not have permission to work on the database. Let’s change that.

Scroll down to the ‘Add User to Database’ section. First, select the database user you created from the dropdown menu next to the ‘User’ field. Then select the new database you just created and click on the ‘Add’ button.

Bluehost cPanel Add user to database

Next, you will be asked to choose privileges for the user.

Select ‘All Privileges’ and click on the ‘Make Changes’ button to continue.

Bluehost cPanel MySQL database user privileges

Your database is now ready and can be used to move WordPress to the new domain name.

Make sure to note down the database name, username, and password. You’ll need this information in the next step.

Step 3: Unpack WordPress on Your New Domain Name

Now, you need to upload the Duplicator files you downloaded earlier to your new domain name.

The Duplicator package includes your WordPress installation as well. This means you don’t need to install WordPress on your new domain.

First, connect to your domain name using an FTP client. Once connected, make sure that the root directory of your website is completely empty.

After that, you can upload the archive and installer files to the root directory. This is usually called public_html.

Upload Duplicator files to new domain name

Once both files have finished uploading, you are now ready to unpack WordPress.

Open a new browser tab and go to the following URL:

http://example.com/installer.php

Don’t forget to replace example.com with your new domain name. This will launch the Duplicator migration wizard.

Duplicator installer wizard

The installer will look for the archive file and then automatically select options for you on the screen.

Scroll down a little to enter the information for the database you created in the previous step.

Duplicator add database info

Below that, Duplicator will automatically show you the URL of your old domain and your new domain.

If everything looks good, click on the ‘Validate’ button to continue.

Duplicator validate details

Duplicator will now attempt to connect to the database using the information you provided.

Upon success, it will show you a Validation Pass. Otherwise, it will show you a warning with details on how to fix it.

Duplicator validation passed

Click on the ‘Next’ button to continue.

Duplicator will now start importing your WordPress website. Once finished, you will see a success message with an Admin Login button.

Duplicator migration finished

Duplicator will automatically update URLs to your new domain name. You can now click on the ‘Admin Login’ button to complete the next steps.

Step 4: Set Up Permanent 301 Redirects

The next step is to point users arriving on your old domain name to the new domain. This is done by setting up 301 redirects.

301 redirects are very important for SEO and user experience. Adding them will allow you to automatically redirect users and search engines to your new domain name.

In other words, whenever someone lands on a post or page on your old domain, they will be automatically redirected to the same post or page on your new domain instead of seeing a 404 error.

To keep your redirects in place, you’ll need to keep your old WordPress installation active so it can continue to redirect to the new one you just created.

There are two ways to set up the redirects. The first method is easy and just takes a few clicks. The second method requires you to edit files manually.

Method 1: Set Up 301 Redirects With All in One SEO

For this method, you’ll need All in One SEO (AIOSEO). It is the best WordPress SEO plugin on the market and allows you to easily optimize your WordPress website for SEO.

First, you need to install and activate the All in One SEO plugin on your old domain. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: You’ll need at least the Pro version of the plugin to access the redirect manager addon. You can also set up AIOSEO on your new WordPress site to boost your search engine rankings and traffic even more.

Upon activation on your old domain, you need to visit the All in One SEO » Redirects page and click on the ‘Activate Redirects’ button.

Activate redirects

Next, you need to switch to the ‘Full Site Redirect’ tab and turn on the ‘Relocate Site’ toggle.

After that, you need to enter your new domain name next to the ‘Relocate to domain’ option.

Full site redirect

Don’t forget to click on the ‘Save Changes’ button to store your settings.

Method 2: Manually Set Up Redirects to New Domain

This method requires you to edit the WordPress .htaccess file on your old domain name.

First, you need to connect to your old site using FTP and edit the .htaccess file.

This will be located in the same directory as your wp-includes or wp-admin folder. Open the .htaccess file and paste the following lines of code at the very top:

#Options +FollowSymLinks
RewriteEngine on
Unchanged: RewriteRule ^(.*)$ http://www.newsite.com/$1 [R=301,L]

Make sure you replace newsite.com with your new domain in the above code.

Once you have applied these changes, then visit your old domain name. It should automatically redirect you to the new domain.

If it doesn’t, then it means the redirection is not set up properly, and your server likely doesn’t support redirect rules. You need to contact the support team at your web hosting company to get RewriteEngine turned on.

Step 5: Notify Google About Your New Domain

Now that you have moved WordPress to a new domain name and set up redirects, it is time to notify Google about your change of address. This will help Google find your new website domain quickly and start showing it in search results.

First, you need to make sure that both your new and old domains are added to the Google Search Console as two different properties. See step 1 in our Google Search Console guide for instructions.

Next, you need to select the old domain name as the active property in your Google Search Console account dashboard.

Select old domain

After that, click on the Settings menu from the left column.

Now, you can click on the ‘Change of address’ tool.

Change of Address

Now, you need to select your new domain from the Update Google section.

Then, you should click on the ‘Validate & Update’ button.

Add new address to change of address

That’s all. Google will now validate that your old domain is redirecting to the new domain and save your changes.

On the next screen, Google Search Console will show you a step-by-step wizard to submit your change of address request.

Notify Your Users About the New Domain Name

While the 301 redirects do their job, it is always good to make a public announcement about the migration.

You can do this by simply writing a blog post on your new site and sharing it on your social media accounts.

If you have an email newsletter or push notification subscribers, then you should send out an announcement to them, too.

This can be helpful in a lot of ways.

First and foremost, your users are more likely to remember the new domain once they read about it.

Second, you can ask your users to let you know if they see any bugs. You alone cannot test your site in every type of browser or system environment, so it’s always helpful to have a fresh pair of eyes look at it.

Bonus Resources

The following articles and tutorials will help you track and regain your SEO rankings after migrating to a new domain name:

We hope that this tutorial helped you move your WordPress site to a new domain name. You may also want to see our guide on how to get a free email domain or follow the steps in our complete WordPress SEO guide.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

510 CommentsLeave a Reply

  1. Saifullah Tamim

    Many Many thanks brother. This article is very helpful.

    • WPBeginner Support

      Glad our guide was helpful!

      Admin

  2. Sajid

    for how many days I need to keep the old site running. For 301 redirection

    • WPBeginner Support

      There is no universal answer for every site, it would depend on your site and audience but if you wanted to be safe a year is normally long enough for users who would revisit your site to see the change especially if they check your site for seasonal content.

      Admin

  3. James

    Hello, I hope you are doing good. How about migrating a subdomain to a completely new domain name ? For example, migrating “example.blog.com” to “example.com”.

    • WPBeginner Support

      You can still use this method for moving from a subdomain to a completely new domain :)

      Admin

  4. ronald

    we still are using our existing site for some things, but not for blogs. these were migrated. we set up 301 redirects and all working smoothly but curious… after migration, with 301 redirects all set up on old server, should we unpublish the posts on old server so they no longer are on old sitemap?

    • WPBeginner Support

      If you plan to continue to use your old site for other uses then it would normally be best to remove the content you’ve set up redirects for.

      Admin

  5. thierry

    Thanks a lot for this piece, following thes instructions was really clear and everything went smooth without any problems thanks thanks and thanks!

    • WPBeginner Support

      Glad our guide was helpful!

      Admin

  6. Mark

    Thank you. I tried so many other plugins and techniques – none worked very well.

    Although crazy complex for a simple thing this is a great technique. After nuking my earlier attempts this one fixed everything. Fonts, images, thumbnails, etc.
    Thank you.

    • WPBeginner Support

      Glad our guide could help simplify the process in a way that worked for you :)

      Admin

  7. Manas Patil

    Hello, this article was of great help. Thanks a ton!

    But I’d to ask – since I’ve one SSL certificate, I thought I’d move the SSL from my old site to my new site. If I do move it, should it cause any errors while I redirect from my old site to new site?

    Thanks in advance!
    Manas

    • WPBeginner Support

      You would want to check with your hosting provider as some have methods to help prevent any errors when changing domains on the same host if they only have one SSL certificate. In general, it should not cause any issues if set up properly.

      Admin

      • Manas Patil

        Thanks a ton! I managed to move my site completely. Towards the end of the Search Console part, is it necessary to submit the sitemap again – because I don’t see my previous sitemap submissions on my new domain property.

        • WPBeginner Support

          If you haven’t submitted a sitemap for the new domain you would want to do so to help Google crawl your URLs :)

  8. BIKRAMJIT KONWAR

    Hi, many thanks for the article. I have a confusion here, can I migrate my WordPress site to a new domain without migrating the existing theme as I want to change the theme?

  9. Amir

    Hello
    After migration to new domain, how should i send new post on my site ? Send a new post on old domain or new domain?

  10. Md Shuaib Raza

    Can i delete and cancle my old domain name by provoider after migration?

  11. Paco

    I’m moving to a new domain name, but I’m still going to use the old domain name for other purposes. I don’t want to redirect the entire oldsite to newsite. What’s the recommended way in this case? Thanks.

  12. Hassan

    It helped me a lot, my question is in ftp I will enter my new domain name and user name and password, then you said the installer file and archive file the installer file is it the wordpress zipp file or something else?

    • WPBeginner Support

      The installer file would be what you downloaded from the Duplicator plugin.

      Admin

  13. F NIc

    Hi, thank you for this detailed guide. I intend to switch domain from Bluehost to GoDaddy and I am wondering if my wordpress website will be affected in terms of how it will look after the switch.

    • WPBeginner Support

      Your hosting provider would not affect how your site looks, as long as there are no issues with the duplication process the site should look the same.

      Admin

  14. Sachin

    I have a question, I have single web hosting, so how can I move from the old domain to the new domain?

    • WPBeginner Support

      If you are staying on the same host, you would first want to check with your hosting provider as some have tools to help with changing your site’s domain.

      Admin

  15. Andy

    I’m having a little trouble with Step 5. Notifying Google About the Change.

    When I filed the change of address (the Search Console seems to have changed since you wrote this post, but I figured out the new procedure OK), the validation failed because Google couldn’t fetch the home page for my old site.

    • WPBeginner Support

      Thank you for letting us know, for this situation, you would want to point Google to your new site for it to test the redirects.

      Admin

  16. Sharon

    Thank you so much for this tutorial it was so easy for me to redirect my old domain

    • WPBeginner Support

      Glad our guide was helpful :)

      Admin

  17. amir

    can I delete the old host and domain after I did all the steps? or I should renew the host and domain after then

    Thanks

    • WPBeginner Support

      It is normally a good idea to redirect the old domain to the new one for some time but you can end the old hosting and still redirect the old domain if you wanted.

      Admin

  18. Dejan

    Hi Wpbeginner!

    Very good article as usual, i have a question just to double check, will all paths be changed? For example media links and so on? Thanks again

    • WPBeginner Support

      Using this method, your links to images and other media should be updated as well.

      Admin

  19. dariu

    Thanks for this. What is the difference for migrating to new host (and domain)? Is there any difference in steps and instructions?

    • WPBeginner Support

      You would use the same steps for a new host as well.

      Admin

  20. Penny

    I had to put in mine in the public_html folder to work. Very frustrating at first until I tried that!

  21. Jose

    Thanks for a great tutorial!

    I’ve ran into a quirk after following all the steps.

    My site redirects everything EXCEPT the content of the home page.

    I updated the name servers about two days ago.

    I did the redirection via .htaccess.

    I’m not sure where to look to troubleshoot the issue. Any direction is appreciated. Thanks again!

    • WPBeginner Support

      We would recommend checking for any caching plugins as well as reaching out to your hosting provider for the most common reasons for that issue and your hosting provider can normally take a look from their end as well.

      Admin

      • Jose

        Following up.

        I was/am using W3 Total Cache.

        Before I migrated, I forgot to disable caching. And that caused issues.

        After the migration, I had to manually remove W3 Total Cache in order to get the new site working again.

        There was a section of caching code left over in the new .htaccess file.

        All has been good since then!

        • WPBeginner Support

          Glad you were able to get the issue sorted :)

  22. Haitham

    Hi,

    Great tutorial. I have to ask about the SSL redirects since it may cause issues for domains that use cloudflare for instant.

    So while adding the code on the .htaccess file in the old website how do I add a newwebsite.com/1$ to that command ?

    • WPBeginner Support

      If you mean how to update your site to a new domain using a CDN like Cloudflare, we would recommend reaching out to the CDN you are using for their current methods for that kind of change.

      Admin

  23. Joe

    In the last step you mentioned “notify google about the change”.

    But what if don’t notify Google about the change, just move the website to new domain, and remove all the pages from old domain (as my website is new and doesn’t have any organic traffic)?

    Is it valid?

    • WPBeginner Support

      You can do that if you want but you would likely take a negative hit in your search engine rankings.

      Admin

  24. Jay Dee

    I have a question about subscribers the website who have created profiles. Would I have to do redirects for their individual profile pages ?

    • WPBeginner Support

      If you are using the same systems then you shouldn’t need an additional redirect unless the tool you are using says so.

      Admin

  25. Rajesh

    I have a question, I already set 301 redirection, and all the request to the old site is redirecting, now my question is, when I can delete old site and its content permanenty?

    • WPBeginner Support

      After you create your redirects you can remove the old content.

      Admin

  26. Morgan

    Hello, please I’m confused on this sentence “Once connected, make sure that the root directory of your website is completely empty.”

    How can make the root directory to be empty cause is showing some files and folders. Please I need an answer on how to do that. Thanks

    • WPBeginner Support

      You can either use FTP or some hosts have file managers you can use to delete the folders or you can reach out to your host for assistance

      Admin

  27. Braeden

    Thanks for this! How would you handle domain1 is moving to domain2, but, many of the URL slugs on domain1 are different on domain2. For example, domain1/this-is-a-post/ will be going to domain2/this-is-the-new-post/

    • WPBeginner Support

      It would depend on the specific changes but depending on how drastic the change you may need to manually set up the individual redirects.

      Admin

  28. Marco

    Thank you for this guide. It helped me.

    I tried the 301 redirect on htaccess. However it only redirects the homepage. Any chance for help? Thanks

    • WPBeginner Support

      You may want to try clearing your caching and checking with your hosting provider to ensure they don’t see any errors on their end.

      Admin

  29. Gosia

    This is great if moving a complete old site to a new domain. But what to do to when you are setting up a new site and want to move over only a few posts from the first site? I don’t want to lose organic traffic.

    • WPBeginner Support

      You can check under Tools>Export and select the specific posts you want to transfer to your site.

      Admin

  30. Alexandre

    Thanks a lot for this tuto.
    I don’t understand why we have to set up permanent 301 redirects if I keep the same domain name ?

    Thank for your answer,

    Alex

  31. Prasad Rane

    Hey thanks a lot for this step by step tutorial.I was able to move clients site in just 30 mins. He was surprised. Thanks a lot.

    • WPBeginner Support

      Glad our guide could help :)

      Admin

  32. Luiz Pedao

    Hello, got a bit of a problem here. I transferred my good php and zip files to the public directory, and yet when I browse to mydomain/installer.php it just doesn’t find the page. What could be the problem?

    Thanks in advance

    • WPBeginner Support

      You may want to reach out to your hosting provider to ensure the domain is set up to the correct location that you’re adding the files.

      Admin

  33. Razi

    Thanks, Buddy, After reading your article It’s just like the peace of cake

    • WPBeginner Support

      Glad our article could be helpful :)

      Admin

  34. hassan

    GOOD guide.
    but if I want to change my URLs in a new domain

    my post in the old domain is: oldedoman.com/best-products-2020/
    I want to change to newdomain.com/best-products/

    How to redirect all my posts
    Thanks

  35. Adrian Filip

    Brilliant tutorial. Thank you! Work like a charm!

    • WPBeginner Support

      Glad you found our guide helpful :)

      Admin

  36. Megan

    Does this process work with a bluehost basic account? I have purchased my new domain but can’t assign it as an Addon domain since I can only have 1 website. What is the best way to work with this?

    • WPBeginner Support

      If you’re unable to create an addon domain we would recommend reaching out to your host and some offer support or different ways to set it up.

      Admin

  37. Megan

    Does this method work if I am using the Bluehost Basic plan where I can only have one website? I can’t make my new domain an add on domain.

    • WPBeginner Support

      You can move from a host to BlueHost’s basic plan following this guide

      Admin

  38. Utsav

    Hi,
    I have questions that where to use 301 redirect, in new domain .htaccess or old domain .htaccess.
    In my case I have changed my website domain as well as web hosting. Then where to apply 301 redirect and how many time I should active my old domain and hosting active?

    • WPBeginner Support

      You would want to add 301 redirects to the old domain. It depends on your old site and personal preference for how long you should keep the old domain active but you shouldn’t need the old hosting.

      Admin

  39. Suchitha

    I earlier had my domain in a Wordpress site that I do not own. I developed my website there. Now, I have moved my domain to a new WordPress site that I own and also used the Export/Import option to transfer my content to the new site. However, I am having to re-design my website again. Does the procedure mentioned here ensure that my site is transferred intact?

    • WPBeginner Support

      The method in this guide should let you keep your theme and plugins how they are set up.

      Admin

  40. Adz

    Hi, thanks for sharing.

    Once I’ve successfully migrated my old website to the new domain, will the 301 redirect continue to redirect even after ive deleted my old website? The reason I’m asking is because I have several posts on facebook that point to my old site.

    • WPBeginner Support

      As long as the redirect remains in your htaccess file it will continue to redirect to your site.

      Admin

  41. Ejimurphy

    After moving the the old site to new site, do I still need to purchase new SSL certificate or the SSL certificate for old site will work for the new site

    Thanks!

    • WPBeginner Support

      Most hosts should offer Let’s Encrypt as a free option but you would need to set up SSL for your new domain.

      Admin

  42. Mark

    Perfect! Thank you for a great post!

    • WPBeginner Support

      You’re welcome :)

      Admin

  43. Joshua

    OK, I’m tracking with most of this guide, but what particular steps do I need to take if my website is hosted with HostGator, my old domain is registered with GoDaddy, and my new domain is registered with Domain.com? Do I have to link the new domain with HostGator hosting in some way before I can create a new database in Step 2?

    • WPBeginner Support

      You would normally want to point your domain’s nameservers to where the new domain would be hosted to link the domain to your host.

      Admin

  44. Kay

    Thanks for these clear steps! I have one question. So I moved everything to the new domain name and have applied the 301 redirect at the old domain. Should I keep the pages and posts on the old domain or simply remove those? Because doesn’t google see those pages as copies now I’ve basically duplicated the website? Also, I thought it would free up some spaces if I remove them. However, I would love to hear what’s the best thing to do here.

    Extra info: I’m not planning to use the old domain anymore so once the subscription for that domain ends later this year I will not extend it.

    Thank you!

    • WPBeginner Support

      If you have moved all of the content over and created your redirects then you can feel free to remove the old site and its content

      Admin

  45. Manuel

    Hi. I have two questions. The first is how long should the 1st step from the installer take? It’s been extracting the archive files for about 20 minutes and my site isnt that big.

    Also, is setting up the 301 redirects and updating google about the changes necessary if I’m only using the cloned site as a template for the new one? Any pages that are remaining the same will be deleted from the old site.

    Thanks in advance!

    • WPBeginner Support

      It would depend on the size of the site for how long it would take and the 301 redirects are to ensure traffic from your old site is sent to the new site rather than the old address that would not have the content anymore

      Admin

  46. Darren

    I have never done this before, so your instructions were excellent. For any newbies like me – just go through slowly and read each instruction carefully and it will work perfectly.

    • WPBeginner Support

      Glad our guide was able to help you transfer your site :)

      Admin

  47. Christopher Jan Benitez

    Great guide! I successfully moved my site to a new domain using the exact processalthough I have to purchase Duplicator Pro to make it work.

    My question is this: what should I do with the WordPress content on the old domain? Should I just uninstall/delete everything and leave the .htaccess file in there?

    • WPBeginner Support

      That would be a personal preference question, you certainly can remove it and leave the .htaccess as the simplest option :)

      Admin

  48. Rohan

    Hii
    After changing domain name do I need to take apply for AdSense again? my previous domain already has AdSense approved. Do I need to reapply for a new domain name?

    • WPBeginner Support

      You would need to add the new domain to your sites list on your current AdSense account

      Admin

  49. Mickey gee

    this is what i get after i uploaded the file successfully
    Error establishing a database connection

  50. Dileep kumar

    After Move WordPress to a New Domain , How can i change url in Adsense account. And any effect on my adsense earning becouse my blog 2 year old.

    • WPBeginner Support

      You would need to add your new domain to your sites list in your Adsense settings. For earnings, there are too many factors beyond the domain name for us to give you an idea about any changes.

      Admin

      • sunil

        after adding a new domain in AdSense should I remove old domain from adsense?

        • WPBeginner Support

          If you no longer plan to use the old domain then you can remove your old domain from your Adsense.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.