WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» How to Easily Move WordPress to a New Domain (without Losing SEO)

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

Last updated on February 14th, 2019 by Editorial Staff
840 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Easily Move WordPress to a New Domain (without Losing SEO)

Do you want to move your WordPress site to a new domain? Changing your website’s domain name can significantly impact your SEO rankings, and it’s a process that needs to be done very carefully.

While you cannot avoid temporary SEO fluctuations when moving your website to a new domain, you can definitely minimize the impact and quickly regain your search traffic and rankings.

In this guide, we will show you the proper way to move WordPress to a new domain without losing SEO.

Properly moving WordPress to another domain name

Here’s the 5 step process that we will cover to help you migrate your WordPress site to a new domain name:

  1. Create a Duplicator package of your WordPress site
  2. Create a database for new domain name
  3. Unpack WordPress on new domain
  4. Setup Permanent 301 redirects
  5. Notify Google about the change

Before You Start

Before you start, we want to emphasize a few things.

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

Yes, this will also temporarily affect your search traffic as well. 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 WordPress site to a new web host. This is for switching a domain name. Yes, while the process is similar, there are extra things involved in this process.

Pre-Steps

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

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

You will also need to know how to use FTP.

In case you don’t have a web hosting account, we recommend using Bluehost (great for small sites + comes with a free domain) or WP Engine (great for large sites).

Once you have your new web hosting account and domain name, you’re 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. While there are many WordPress backup plugins available, the one we’re going to show in this step does both backups and migrations.

It’s Duplicator and it’s a completely free plugin.

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 click on the Duplicator menu, and then click on the create button to create a new package.

Create a new Duplicator package

After that, you will be asked to click on the Next button to continue.

Duplicator will now run the website duplicator wizard. First, it will run some tests to see if everything is in order. If all items are marked ‘Good’, then click on the ‘Build’ button.

Build Duplicator package for switching to new domain name

The plugin will now start creating a duplicator package of your WordPress site. This process may take a few minutes depending on the size of your website.

Once finished, you’ll see download options for Installer and the Archive package. You need to click on the ‘One click download’ link to download both files to your computer.

Download Duplicator package

The archive file is a complete copy of your website, and this will allow you to move WordPress to another domain name. The installer script will automate and run the migration by unpacking the archive file.

Step 2. Create a Database for New Domain Name

Before you can move, you’ll need a 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.

Database icon in CPanel

On the next screen, you’ll see a field to create a new database. Simply provide a name for your database and click on the ‘Create Database’ button.

Create database for switching to another domain name

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 a user’ button.

Adding a new MySQL user

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. Simply select the database user you created from the dropdown menu next to the ‘User’ field, then select the database, and click on the add button.

Add user to database

Your database is now ready to be used on for moving 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. Unpacking WordPress on New Domain Name

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

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.

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 wizard

The installer will look for the archive file. You need to check the terms and conditions checkbox and click on the next button to continue.

Now, the installer will ask you to enter your WordPress database information.

Your host will likely be localhost. After that, you will enter the details of the database you created for your new domain name in the earlier step.

Connect to the database for your new domain name

Once done, click on the next button to continue.

Duplicator will now unpack your WordPress database backup from the archive into your new database.

Next, it will ask you to update site URL or Path. You shouldn’t have to change anything since it automatically detects the URL of your new domain name and its path.

If it doesn’t, then you can change the URL to your new domain name. After that, click on the next button to continue.

Update URL to your new domian name

Duplicator will now finish the migration.

You can click on the ‘Admin Login’ button to enter the WordPress admin area of your website on the new domain name.

Finishing WordPress migration to new domain name

Step 4. Setting up Permanent 301 Redirects

Setting up a permanent 301 redirect is very important for both SEO and user experience.

This step will allow you to automatically redirect users and search engines to your new domain name.

In other words, whenever someone lands on one of your old posts or pages, they will be automatically redirected to your site on the new domain.

To setup a permanent 301 redirect, 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 code at the very top:

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

Note: 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 setup properly, and your server likely doesn’t support redirect rules. You need to reach your web hosting’s support to get RewriteEngine turned on.

Step 5. Notifying Google About the Change

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

First, you need to add your new domain name to the Google Search Console. See step 1 in our Google Search Console guide for instructions.

After you have added your new site, you need to switch to the old version of Google Search Console.

Go to old version of Google Search Console

Next, you need to switch to your old domain name and then click on the gear icon at the top to launch change of address tool.

Change of address tool

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

First it will ask you to select your new site from the drop down menu. After that, click on the check button to test 301 redirects and then confirm verification.

Change of address for your old domain name

Finally, click on the submit button to send your address change request.

Notify Users About the Move to 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 marketing list, then you should send a newsletter to let all your subscribers know.

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 all different type of browsers and system environments. It’s always helpful to have a fresh pair of eyes looking at it.

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 track your search keyword rankings after moving to a new domain name.

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.

840 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

464 Comments

Leave a Reply
  1. WPBeginner Staff says:
    Apr 25, 2014 at 5:14 pm

    We are not sure about this option, we haven’t tried it ourselves so we can not recommend it. Any redirection you set up needs to be 301 so that search engines can update the new location.

    Reply
  2. vikramforever says:
    Apr 25, 2014 at 3:54 am

    I have my domain with godaddy and they have redirect option with match path mentioned on their help page – http://support.godaddy.com/help/article/5120/redirect-urls-with-your-hosting-account.

    Is this a feasible option when i transfer my active site to another domain? As per the option in the post, i need to maintain the hosting for my old domain till the time i want the redirects to work. Using redirect with the ‘match path’ option will do away the need to do so. But i want to be sure that this is an option which works the same way the script (as you mentioned) works.

    Reply
  3. Keely Worth says:
    Apr 24, 2014 at 1:51 pm

    Excellent – makes the process of moving a WordPress site a breeze. Thanks.

    Reply
  4. Ayman says:
    Apr 20, 2014 at 9:07 am

    I’ve just migrate a website site from one URL to another. I would really like to thank you for this great post. 100% working and a very simple instructions :)

    Reply
  5. Anas Khan says:
    Apr 19, 2014 at 1:07 am

    Nice post. I have few questions too,

    I have 2 blog on WordPress. The new blog is active and i have 45 posts in my new blog. The old blog has 192 posts and all posts are index on google.

    Now i want to transfer and publish all old 192 posts to my new blog so all posts can me view on my new blog. If i trash all posts from my old blog, remove the sitemap and webmaster tool of old blog and after 30 days i publish old posts to new blog using Add new post button then it works ? Is it considered a duplicate content ?

    Reply
    • WPBeginner Support says:
      Apr 20, 2014 at 2:42 pm

      You can simply import those posts to your new blog and set up a 301 redirection on your old posts on a post by post basis.

      Reply
  6. Mohammed Saimon says:
    Apr 16, 2014 at 1:23 am

    Yes its a nice post. Thanks to the author.

    Reply
  7. Vinish Garg says:
    Apr 15, 2014 at 1:33 pm

    This is an excellent post and gave me some new direction for moving my WP blog from one domain to another. I will appreciate if you can correct me if I am wrong in planning it as below.
    – I know hostgator and I understand how to use File Manager and setup WP, database and import/export database (xml files)
    – My current WP blog is at: http;//www.example.com, and I want to move it to another domain http://www.example.org.
    – One, I will setup new WP at new domain’s root (database, config file, custom theme, and import data file from old site)
    – The new site will show the site exactly like old site, BUT only difference is the URL (because of new domain).

    If everything is correct this far… I am not sure how to use redirects for all my old domain’s pages/posts to new domain. Can you please advise?

    Reply
    • WPBeginner Support says:
      Apr 15, 2014 at 4:05 pm

      You can do that by following the step 3 of this guide, setting up 301 redirects.

      Reply
  8. Stefan says:
    Mar 18, 2014 at 4:14 am

    Great post, unfortunately I have read it too late and have already moved my domain. All I have done is I have purchased a new domain for my blog (, before it was it’s still active for another 2 months). I have changed the WordPress URL and Site Address in wordpress general settings and resubmitted the sitemap with the new URL. That’s all I have done.

    This was one month ago and since then the traffic is now totally down, from more than 1,000 pageviews a day to now not even 200.

    If I google search “thailand redcat” not even one of my pages shows up. The sitemap however has successfully been submitted:

    2:51:35pmStefan

    Do you know what could be the reason for this and how can I solve the problem and get the search results and eventually traffic back to normal again?

    Any help would greatly be appreciated. Cheers!

    Reply
    • WPBeginner Support says:
      Mar 18, 2014 at 6:50 am

      Stefan, we are not sure we understand the process you followed to move your site to a new domain. Here are some general tips. First make sure search bots are able to crawl and index your site? Check your site in Google webmaster tools for crawl errors.

      Reply
    • Charlie says:
      Apr 7, 2018 at 12:45 am

      I have the same problem. Google crawlers find a 500 error on the whole site since is did the migration. I tried on 2 different environments/providers, different php versions, I tried to deactivate/reactivate all my plugins one by one, I tried to regenerate the permalinks, the htaccess, the robots.txt… nothing works.

      Reply
  9. Mr Joy says:
    Mar 11, 2014 at 5:00 pm

    Thank you for your great post. I followed your post and moved my site to new domain. It’s all working fine but there is only one problem in my site regarding WordPress visual editor. The problem is “When I upload an Image on any post by Add Media option, then click on the picture thumble “edit image” an iFrame come with a Not Found Error. But when click delete it works fine. Please help me to resolve the problem. Check the screenshot : http://bit.ly/1fqjE1b

    Reply
    • WPBeginner Support says:
      Mar 12, 2014 at 3:33 am

      The first thing you can try is to update your permalinks, simply go to Settings » Permalinks and click on the save changes button.

      Reply
  10. AP says:
    Mar 4, 2014 at 10:27 am

    Excellent work – thanks very much! It might be helpful to add the reply above – the one dealing with new database creation and use – to the initial instructions, as not everyone will read the comments before attempting a transfer.

    Reply
  11. Gary Kirwan says:
    Feb 24, 2014 at 10:57 am

    Great article. My question is I use the affiliate cloaking method recommended by Yoast, which means I have a .htaccess file under a folder called /out/
    Would I need to add the same 301 redirect code mentioned in the article to both .htaccess files in the root directory and affiliate links sub-folder? Does adding the 301 redirect code to the root directory .htaccess file only automatically cover the sub-folders one?
    My goal is to make sure that external affiliate links work correctly as well.

    Reply
  12. Kingsley says:
    Feb 14, 2014 at 4:06 pm

    Great tutorial, will be using it to Migrate http://www.ideacrunch.org to http://technblogging.com in the next few days but i have a question to ask. The database password and username name will it be the same as the old site?

    Reply
  13. Craig says:
    Feb 9, 2014 at 9:19 am

    Hi, appreciate this is a little late. But i literally just want to move from http://www.unlockworldtv.co.uk to http://www.unlockworldtv.com is this tutorial suitable for that? I am not moving hosts, just changing the url

    Reply
    • WPBeginner Support says:
      Feb 9, 2014 at 9:30 pm

      Yes it is.

      Reply
      • Craig says:
        Feb 14, 2014 at 6:00 pm

        Thanks. I’m stuck at the go to newsite.com/installer.php I just get my old site but with 404. I didn’t install wp in the new directory, just created an empty directory to put the installer and zip in. I am pointing my new domain from the registrar account to that new directory with my web host but not getting anything but the theme and 404. Any obvious tips?

        Reply
        • Craig says:
          Feb 18, 2014 at 9:12 am

          just FYI i resolved this. It appears to be an issue with 1&1 (no surprise) but can be resolved by having an index.html file present. So for anyone on 1&1 adjust step 2 from

          “Make sure that the root directory, or the directory where you want to copy your website is completely empty.” to “Make sure that the root directory, or the directory where you want to copy your website is completely empty except for installer.php, the .zip file AND an index.html page”

          I believe this is to do with the way 1&1 prioritise pages on their server.

  14. Denis Fitzgerald says:
    Jan 24, 2014 at 6:59 pm

    Hi – Thanks for the article. I have a question: I am switching my site from Tumblr to WordPress. It has its own domain. I would like to know if the buttons at the end of each article showing social shares, Twitter, Facebook, Google+, will maintain the original share count or go back to zero. Thank you.

    Reply
    • WPBeginner Support says:
      Jan 25, 2014 at 5:45 pm

      If its the same domain and your URL structure remains intact, then hopefully you will be able to retain those social counts.

      Reply
  15. Bertjan says:
    Jan 15, 2014 at 4:04 pm

    Excellent guide! Thank you very much.

    Reply
  16. Sudha Mathew says:
    Jan 10, 2014 at 6:42 am

    Hi, I moved my site using redirects about 6 months ago and it works fine. I need to renew my contract with web security company soon. So I need to know how much traffic is still getting redirected from the old site. Could you explain how to do that? I am not tech savvy but can use both Webmaster tools and Google Analytics.Thanks in advance!

    Best
    Sudha

    Reply
  17. Moti says:
    Jan 4, 2014 at 12:20 pm

    Hello,

    I would like to change the domain name of my site (staying on the same host).
    In the instructions above it is indicated that I should “make sure that the root directory, or the directory where you want to copy your website is completely empty.”.
    In my case the WP is installed in the root directory (I have the wp-content folder under public-html) – I assume that this means that my WP is installed under the root directory.
    Which folders should I clean / delete before I run the installed file generated by the duplicator ?

    Thanks,
    Moti.

    Reply
  18. Declan says:
    Jan 4, 2014 at 10:25 am

    Thank you for the tutorial. Worked great with no problems whatsoever.

    I do, of course, have a question regarding SEO.

    My old site wasn’t registered in Google webmaster tools, so obviously there’s no option to let them know about the changes I’ve made. My question is: Will I need to register my old domain with Google webmaster tools first, and then my second domain…and then notify them abut the changes?

    Any thoughts would be great.

    Thanks again for the article, it was extremely helpful.

    Declan.

    Reply
    • WPBeginner Support says:
      Jan 6, 2014 at 4:06 pm

      Yes, you will have to notify about the change on your old site’s webmaster tools account. However, this is just the fastest way to do it. If you have setup your 302 redirects then search engines would pick that up as well.

      Reply
  19. reza says:
    Dec 29, 2013 at 5:36 am

    hi,

    this works just great, i redirect my old.com which is my main domain to new.com which is an addon domain (in the same hosting)

    but when i added another new addon domain, it makes my new addon domain can’t be accessed….it always redirect my addon.com to new.com/addon.com…

    can you help ??

    Reply
  20. Jennifer @ Delicieux says:
    Dec 29, 2013 at 12:48 am

    Thank you for explaining this in so much detail. I have a question though. I’ve been thinking about moving to a new domain name for some time, but I wanted to know if I would have any issues given the fact that earlier in the year I changed the permalink structure on my old blog.

    I followed the instructions on Yoast on how to change my permalink structure and edited my .htaccess file, and wonder if this will cause problems when I move to a new domain? This is the one thing that is holding me back because I don’t want things to screw up and lose rank and end up with broken links.

    Reply
    • WPBeginner Support says:
      Dec 29, 2013 at 1:10 pm

      you can transfer your old .htaccess file to your new site. If the .htaccess file has any references to the old domain name then replace those with the new domain name and your would be OK.

      Reply
  21. Hrayr says:
    Dec 10, 2013 at 7:22 am

    Hey,
    First of all many thanks for this article – it worked great without any problem for me!

    I have one simple question specific to my case, would highly appreciate your thoughts on this.

    Basically i used this approach to copy my wordpress site from localhost to the host/domain from 3rd party.
    As said all worked ok – i just want to make sure that this approach doesn’t leave any old urls/links/references that can “annoy” google to crawl this new site. My site is pretty basic, so in worst case scenario i can just recreate if there is any disadvantage of crawling/SEO when site is copied by duplicator.
    Is there any known SEO issue of new site that you are aware of?

    Reply
    • WPBeginner Support says:
      Dec 10, 2013 at 11:11 am

      We not aware of any SEO issues, but if you come across any you can inform the plugin author by opening a support thread on plugin’s page.

      Reply
  22. Kevin says:
    Dec 6, 2013 at 12:35 pm

    I don’t think the way you suggest users do their 301 redirect is the best way. It’s well documented, even recommended by Google, that you do page-to-page redirects, NOT dump all your old website’s pages to the homepage of the new site. The htaccess code you provide does the latter. It isn’t a good way to preserve link juice.

    Maybe you can refer us to a good htaccess tutorial instead? There are also online htaccess generators out there that can make it much faster to do page-to-page redirects.

    Reply
    • WPBeginner Support says:
      Dec 11, 2013 at 2:40 pm

      Kevin, you are right and rewrite rules in the article do exactly that. Instead of redirecting users to the homepage it sends them to the individual page. $1 at the end of code appends the link with the proper permalink structure.

      Reply
  23. Julian says:
    Nov 26, 2013 at 1:08 pm

    Hi, when I’m doing this after ‘deploy’ it misses the ‘update’ section and reverts back to a 404 page at the old web address… any idea what could be causing this?

    Many thanks!

    Reply
  24. Munna says:
    Nov 26, 2013 at 6:37 am

    Thank you very much for this post. I was in trouble redirecting my oldsite visitors to the new site. But your .htaccess code made it super easy because both sites were in the same hosting server. :)

    Reply
  25. Raspal says:
    Nov 16, 2013 at 7:54 pm

    Hello,

    I completed all the steps and the blog at the new site is up fine. But I can’t login to the admin area. I have two users, one is an admin user. I get this error when trying to login:

    “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

    I tried different browsers and also tried clearing any cookies. Also tried changing password. Password was changed fine but still getting the above error.

    Can you please help ASAP?

    Using WP version 3.7.1

    Regards,
    Raspal

    Reply
  26. Neil Bargas says:
    Nov 14, 2013 at 1:48 am

    Thanks man! 100% working and a very simple instructions.

    Reply
  27. Lynn says:
    Oct 29, 2013 at 9:41 pm

    Fantastic article! You are my hero of the day. :)

    Reply
  28. Jahid says:
    Oct 28, 2013 at 6:28 pm

    ”Login to your new site’s WordPress admin using the same username and password that you had on the old site. Go to Settings » Permalinks in your new site’s WordPress admin and click on the save button.”

    Once I login, it shows me the first step page ”Step 1: Files & Database” instead of showing the WP dashboard. Help!

    Reply
    • WPBeginner Support says:
      Oct 29, 2013 at 11:16 am

      Seems like you need to update your wp-config.php file

      Reply
  29. Chrissy says:
    Oct 15, 2013 at 1:54 pm

    Hi! Thanks so much for this helpful article – I’m in the process of running through the steps now.

    My one question is:

    I have my blog hosted at one domain, let’s call it http://www.reallylongdomainname.com/blog, but I have a redirect to forward it to my other domain: blog.shortername.com. I now want to migrate the blog to shortername.com/blog, because some of the links don’t work after the redirect.

    All my posts and things already have permalinks at shortname.com/blog/post#, so do I really need to do any of this 301 stuff? Am I safe to skip steps 3, 4 & 5, or is there something I need to consider? And will I need to delete the old blog or just the redirect once I launch it at the new domain?

    Would be really great to find out how to proceed, since I’ve tried dozens of things this week and no situation is quite the same as mine :/ Thanks!

    Reply
    • WPBeginner Support says:
      Oct 21, 2013 at 8:04 pm

      The purpose of 301 redirects is to not just redirect users but also let search engines know that you have moved to the new location so step 3 and 4 are a must otherwise it may affect your SEO rankings.

      Reply
  30. Mark P says:
    Sep 18, 2013 at 10:24 pm

    Great post. One question though.

    Let’s say someone clicks on a backlink for my website’s old domain. (Let’s call it olddomain dot com / blogpost1). Will this then redirect to the new domain’s respective link (newdomain dot com / blogpost1) instead of just redirecting to the new domain’s homepage?

    Reply
    • WPBeginner Support says:
      Sep 18, 2013 at 10:53 pm

      Yes, it would redirect users landing on your posts and pages on the old site to the posts/pages on the new site.

      Reply
      • Mark P says:
        Sep 19, 2013 at 9:49 am

        Thank you!

        Reply
  31. Morgan says:
    Sep 18, 2013 at 4:48 pm

    Question: I am switching my site from one host to a new host. At the same time, I am changing my domain name. I have already successfully transferred my WordPress site to my new host using the new domain name. I now am to step 3 and want to use 301 redirects to point those old URLs to the new site URLs. However, the old site is on the old host and I’m planning on getting rid of that site.

    Will the 301 redirects still work? Or do I also need to move the old site over to my new host and THEN do the redirects? I’m a bit unsure what to do and would love any advice.

    Reply
    • WPBeginner Support says:
      Sep 18, 2013 at 10:58 pm

      If it is possible for you to keep the old site online for at least a month, then you can add 301 redirect. After that update your site’s information on Google Webmaster tools. Once you have recovered your search rankings and traffic you can then close your account with the old web host.

      Reply
  32. Nj says:
    Sep 13, 2013 at 3:26 pm

    Thank you for the helpful posts, but sometimes with such plugins, a video will help A LOT. I hope you will consider this :)
    Thanks again

    Reply
  33. Arnold says:
    Sep 12, 2013 at 12:56 am

    Hi. Could you please elaborate the part where you said “The installer will ask you to provide database information for the new site and check the box for Table removal?” Where do I find this database information? So should I check the box for Table removal? Thanks!

    Reply
    • WPBeginner Support says:
      Sep 12, 2013 at 5:04 pm

      This is the database where you will be importing your old site from the package you created earlier. Log into your web hosting dashboard, find phpmyadmin and create a new database. Come back to installer.php and provide the new database name, host, user and password.

      Reply
      • Kara Lumsden says:
        Jan 30, 2014 at 11:57 pm

        So you should not install wordpress on the root of the new domain? The only thing you need to do on the new domain is only create a new database, is that correct? Can you elaborate a little more on how to create the database in phpmyadmin?

        So appreciative, thank you for all that you do!

        Reply
        • WPBeginner Support says:
          Feb 1, 2014 at 2:10 pm

          No it is OK to install WordPress on the root of the new domain. Yes, you just need to create a new database and the Duplicator takes care of the rest.

        • Kara Lumsden says:
          Feb 1, 2014 at 3:22 pm

          Can you please provide instructions on how to create the database?

          Thank you very much,
          Kara

  34. Dennis J. Smith says:
    Sep 5, 2013 at 5:13 pm

    How long should one wait before deleting the old site?

    Reply
    • WPBeginner Support says:
      Sep 10, 2013 at 12:04 am

      30 to 90 days, depends on how successful your move was. If you are confident that your new domain has gained nearly the same traffic as the old site, then you can delete it.

      Reply
  35. dyer says:
    Sep 5, 2013 at 4:39 am

    Hi ive encountered an issue. Im unable to save my Permalinks as I cant locate the WP admin file ive tried to upload the WP admin file again but this hasn’t the issue please could you advise me if there is any other steps I can take to rectify this issue.

    Thanks

    Dyer

    Reply
    • WPBeginner Support says:
      Sep 10, 2013 at 6:41 pm

      @dyer We are unable to understand your question. We are assuming that you can not access your WordPress Admin area. In that case, connect to your site using an FTP client like filezilla. Find the file .htaccess download it to your hard disk and delete it from your website. Hope this resolves your issue.

      Reply
  36. Fakhre says:
    Sep 1, 2013 at 12:36 am

    Thanks for the article guys!

    I am hosting my site on Bluehost and just want to change the Domain name without loosing the SEO and backlinks.

    My site contents is huge, i have about 8000 posts. Any solution for renaming the domain??

    Reply
  37. Sanjay Patel says:
    Aug 28, 2013 at 2:35 am

    Hello…
    Really useful information but duplicator plugin is not working in my website. please solve my problem. how to do this?

    Thanks in advance.

    Reply
  38. Dinah says:
    Aug 23, 2013 at 6:01 pm

    Does this work with moving from one domain to a subdomain?

    Reply
    • Editorial Staff says:
      Aug 26, 2013 at 2:04 pm

      Yes

      Reply
  39. Dinah says:
    Aug 20, 2013 at 12:45 pm

    Does this work for moving to a new subdomain? Like if my wordpress blog was on oldsite.com and I wanted it on blog.newsite.com, would I do the same thing?

    Reply
    • Editorial Staff says:
      Sep 9, 2013 at 8:49 am

      Yes.

      Reply
  40. Emmie says:
    Aug 10, 2013 at 11:59 am

    I recently did this and the links and all redirected fine and dandy, however I just got slapped by Google with a penalty for instantly having so many backlinks – they think I bought them. Has anyone else encountered this? I made the appropriate notifications in Google Webmaster tools before moving, and it’s done nothing to help this. It’s hit me hard, so if anyone has experience in remedying this, please share!

    Reply
    • Editorial Staff says:
      Aug 11, 2013 at 11:23 am

      Hey Emmie, where do you see that you get slapped for having too many backlinks? Does it show you that error in your Webmaster Tools? Just trying to see how did you come to the conclusion that you got penalized by google.

      https://www.google.com/webmasters/tools/reconsideration << This is the page where you can send a reconsideration request to Google.

      Reply
  41. Lateef Adewale says:
    Aug 6, 2013 at 9:55 am

    Do you have any idea if this will work if i am moving a site from Bluehost to Wp Engine.

    Reply
    • Editorial Staff says:
      Aug 11, 2013 at 12:55 pm

      Yes it should work.

      Reply
  42. Emily says:
    Jul 10, 2013 at 12:23 pm

    Just went through this whole process, worked perfectly and just what I needed to know. Thank you WPBeginner! The only glitch I ran into was my own fault – didn’t deactivate my security plugins first so I had to do it all over. Now, I am an expert… : )

    Reply
  43. Sandra Christie says:
    Jul 10, 2013 at 11:33 am

    Thanks for the article!

    Are the steps for moving the same domain to a new host basically the same? And can that cause a drop in SEO as well?

    Reply
  44. Travis Pflanz says:
    Jul 8, 2013 at 9:50 pm

    As well, the “Change of Address” option in Webmaster Tools is now in the Options menu at the top right in in Gear icon.

    Reply
  45. Zach Smith says:
    Jun 28, 2013 at 10:48 am

    Thanks for publishing another great article for us. This is best for any technology related blog.

    Reply
  46. Bob says:
    Jun 27, 2013 at 10:23 pm

    Thanks–this is great information. I’m really excited to learn about Duplicator. While moving a domain is something I might have to do occasionally, I’m constantly cloning environments for development and testing purposes. The manual cloning process I’ve been using is time-consuming and potentially error-prone. Duplicator has the potentially to be a considerable improvement!

    Reply
  47. Sam says:
    Jun 27, 2013 at 2:31 pm

    I just moved WP to a new domain and server using this method. Webmaster Tools now shows many 403 errors on the new server for each folder in uploads such as wp-content/uploads/2012/07 and one 403 error for each of the months. On my old server I did not get this. When moving the site should we also change or check the permissions? What should they be for the wp-content/uploads folder?

    Reply
    • Editorial Staff says:
      Jun 27, 2013 at 3:11 pm

      Google should not be indexing the folders rather they should be indexing the files inside of it. If you try to access the folder directly using a browser, WordPress will give you a 404 error. You don’t want to allow access to a directory that has no index page, which will then produce a directory listing that will get indexed and crawled, including the links to all files.

      Reply
      • sam says:
        Jun 27, 2013 at 4:41 pm

        Thanks for the reply. Then why does Google show a 403 error for the folders in webmaster tools. Does this not mean that something is wrong?

        Reply
  48. Zimbrul says:
    Jun 27, 2013 at 10:55 am

    THIS IS THE ARTICLE I WAS LOOKING FOR 1 YEAR NOW!!

    Reply
    • Editorial Staff says:
      Jun 27, 2013 at 2:24 pm

      Better late than never :)

      Reply
  49. Jasim Ahmed says:
    Jun 27, 2013 at 10:44 am

    Duplicator is great plugin but problem is its not work with some server as its need higher PHP version except this is there any other way to do ?

    Reply
    • Editorial Staff says:
      Jun 27, 2013 at 2:26 pm

      Yes, you can manually download the files and the database. Upload them on the new domain. Replace all the old url instances in the database using phpMyAdmin SQL search and replace query. The easier solution would be to ask your host why they are not on the higher versions of PHP or switch to a better host.

      Reply
  50. iAn says:
    Jun 27, 2013 at 9:10 am

    hi, I believe this won’t preserve your social network network sharing counters (number of shares and likes). Any idea how to retain those popularity meter?

    Reply
    • Editorial Staff says:
      Jun 27, 2013 at 9:28 am

      You can’t retain the social counts because those go based on your canonical URLs which will be the new site (very important for SEO). The counters are mainly for social proof. All existing links in social media will properly redirect, so you won’t lose any traffic there.

      Reply
1 2 3 … 6 »

Leave a Reply Cancel 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.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
RafflePress - WordPress Giveaway and Contest Plugin
RafflePress
Giveaway and Contest Plugin for WordPress. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
Dreamhost
DreamHost Coupon
Get up to 67% OFF DreamHost's web hosting, plus a FREE domain of your choice.
Widget Options Coupon
Get 15% OFF on Widget Options WordPress widget control plugin.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.