5 Steps Guide: Move WordPress Site From One Location to Another

JavaScript for WordPress

There are many reasons to move WordPress site from one location to another. For example, moving your blog from a subdirectory domain.com/blog/ to the root directory domain.com or maybe a development version from subdomain development.domain.com/ to the main domain domain.com.
The inappropriate moving process could introduce multiple errors such as broken links, not displaying images and not working internal links. In this post, we will show you how to move WordPress site from one location to another in a seamless way and with, of course, no errors.

Tools Needed

  • cPanel or FTP Client
  • phpMyAdmin or MySQL Wizard from cPanel
  • Duplicator Plugin

We will use Duplicator plugin to complete the moving process. Duplicator gives WordPress administrators the ability to migrate, copy or clone a site from one location to another. Duplicator supports both serialized and base64 serialized string replacement.

1. Install Duplicator

Go to the dashboard of your website that you want to move and then head to Plugins -> Add New. Search for “Duplicator”, install and activate.

Install Duplicator

2. Create The Package

The Duplicator create a package that contains your WordPress files and database. To create the package, go to Duplicator -> Packages and click Create New

Create Duplicator Package

In the next page, you can directly click Next

Duplicator Package Name

The Duplicator will scan your files and the database to check if it can build the package. If you have a warning about the file size, you can ignore it. Then click Build.

Build Duplicator Package

When the Duplicator builds the package, you will get 2 files to download, “Archive” and “Installer“. Click on each one and save them to your computer.

Duplicator Archive

3. Upload The Package

Using any FTP client like FileZilla or your cPanel file manager, upload both the Archive file and the Installer file to the directory where you want to move your site.

4. Create an Empty Database

Using phpMyAdmin or your cPanel MySQL Wizard, create a new empty database and save the username and password for later use.

5. Deploy The Package

Access this file in your browser your-domain.com/installer.php and you will get this page.

Deploy Duplicator Package

1- Choose Connect and Remove All Data
2- Enter you database host. In most cases, it will be localhost
3- Name of your new database.
4- Database username.
5- Database password.
6- Check I have read all warnings & notices
7- Click Run Deployment

Then, let the Duplicator deploy your website file and database. When it’s done, you will see this page.

The Duplicator updates paths

This page tells you that the Duplicator will search and replace the old settings with the new settings. It will detect the settings automatically, you don’t need to update anything. Make sure that the URLs are correct then click Update.

Hooray!

Your website has been moved successfully.

Move WordPress site is done

Don’t forget to save your permalinks and delete the installation files.

Troubleshooting

Sometimes you may encounter issues while building the package, to resolve those issues try one of the troubleshooting steps below:

1- Deactivate your plugins and keep the Duplicator plugin activated.
2- Switch to one of the default WordPress themes (TwentySixteen)
3- Go to Duplicator -> Settings and enable Archive Flush option.

Conclusion

Whatever the reason to move WordPress site from one location to another, the Duplicator plugin can help you to complete the process without hassle. Ensuring that all links will be updated to the new location.
You can also use Duplicator to move WordPress site from a host to another one by following the exact 5 steps, but don’t forget to update your domain nameservers.

If you have any questions, please feel free to use the comments section below.

GET MORE STUFF 
IN YOUR INBOX
WordPress Multilingual, Performance, SEO, Reviews and HOT Deals. One email per week!
Stay Updated
Give it a try, you can unsubscribe anytime.
Close
GET MORE STUFF
IN YOUR INBOX
WordPress Multilingual, Performance, SEO, Reviews and HOT Deals. One email per week!
Stay Updated
Give it a try, you can unsubscribe anytime.
We have created the 1st online directory for the Multilingual Themes
CLICK HERE

WE'RE SOCIAL!

Follow us on..