Join Morten Rand-Hendriksen for an in-depth discussion in this video Initial setup, part of Moving WordPress with WP Migrate DB and DB Pro.
- For the migration process to run smoothly, it's important to make sure everything is set up right and that we have access to all the components we need. So, before you begin the actual migration, let me give you a quick run-through of how I've set things up, so you can see how the process works and maybe follow along. First of all, I have the origin site. This could be a locally built site like his one, running under Wamp on my Windows computer. Or it could be a site living somewhere else on the web. As you can see, this site is running the Popper theme, and I've customized it quite a bit. I have a custom header, background image, and the side bars on the left-hand side.
And the site had tons and tons of content. There's a custom menu and several hundred posts in here, including lots of images. Next, I have the target site. This site lives on a server on the web. But it could could just as easily be living on a computer, on my network, or even on my own computer. As you will see, where the origin and target sites are located doesn't really matter. We can migrate content between them pretty much no matter where they live. I want to take everything from my origin site, including content, settings, and customizations and move them onto the target site, which lives on the web under the domain themeweekend.org.
As you can, on themeweekend.org I've just installed WordPress and done nothing to it. This is WordPress straight out of the box. All I've done is given the site a name and a description. I'm Not Here, This isn't happening. In the process of setting up WordPress on the remote host, I also set up a database. Here you can see that database as displayed in phpMyAdmin on the hosting platform. Right now, this database only contains the core tables and content you get when you first install WordPress.
The sole purpose for it being here now is that I need to make sure WordPress works on the server before I can migrate my site to it. And as you can see, it does, so we're good to move forward. On my computer, I've opened the folder that contains my locally hosted version of WordPress. Here you can see all the files and folders that comprise WordPress locally on my computer. In an FTP application, in this case, Filezilla, I've opened WordPress as it appears on the remote host. These are all the files that are running WordPress on themeweekend.org.
Later in the course, I'll this FTP application to move files from my local host to the remote host. And I've taken the time to log in now to ensure I have full access when I need it. So, once you have your origin site and you know everything is running properly, you have the target site, you have access to the database management tool, and you have access to both the locally hosted files and the remote hosted files, you're ready to start the migration process.
- Moving files via FTP
- Installing WP Migrate DB on both sites
- Exporting and importing the database
- Using the WP Migrate DB Pro
- Understanding push and pull
- Moving files with the Media Files add-on
- Troubleshooting common WordPress migration problems