Before you begin your migration, you will want to have a site added to your Pressable account that you will be importing your site into. This site should be a base/default/blank install that you do not mind overwriting the contents of.
Migrating an existing WordPress site to our platform can be broken down into four primary steps:
1. Get a copy of your existing WordPress website’s database.
2. Get a copy of your existing WordPress website’s set of files.
3. Import your database into a Pressable hosted staging site.
4. Upload your files to Pressable servers.
This knowledgebase article discusses each of these items in relative detail and will link to related knowledgebase articles where necessary.
Getting a copy of your existing WordPress website's database
There are quite a few ways to get a copy of your website’s database, but PHPMyAdmin is a widely available tool that is available on most web hosts. You will want to login to your host’s control panel and find your host’s PHPMyAdmin area. Once navigating into PHPMyAdmin, you will want to select the appropriate database from the left hand side and then click into the “Export” tab in the navigation menu near the top. Once you have done this, you will be presented with “Quick” and “Custom” options. In this case, you will want to use “Custom” options and ensure that “Add Create Database / Use statement” is unchecked and “Add Drop Tables / View / Procedure / Function / Event / Trigger Statement” is checked.
Selecting and using these custom options has two very important implications:
Your database export will not try to create a new database upon importing. Pressable will not allow this and unchecking this will ensure the process goes smoothly.
Your database export will overwrite existing tables that share the same name in your Pressable hosted site’s database. This database will erase currently existing data before it imports the data you exported from your previous host. Please use this option with caution and only if you are sure that the site you are importing this data into is the correct one.
Once you have selected these options, you can click the “Go” button to export the database to a file on your computer.
Get a copy of your existing WordPress website's set of files.
This part will require that you obtain FTP (or SFTP) information for the host your site is currently at. Each host handles these credentials/accounts slightly differently, but once you have your FTP/SFTP information, you can use an FTP/SFTP client like Cyberduck or FileZilla to connect to your host and download a copy of your files.
For the purposes of grabbing your files, you will need to know your FTP/SFTP Host, Port, Protocol, Username, and Password.
The “host” might be a domain like sftp.example.com or an IP address like 198.51.100.3 and can be found in your host’s control panel in the FTP/SFTP section. You can also find the port and protocol in this same area. The protocol can be either FTP (generally on port 21) or SFTP (generally on port 22).
This information, together with your FTP/SFTP username and password can be inserted into an FTP/SFTP client like Cyberduck or Filezilla to connect to your host’s file servers. Here are a few screenshots of where you would enter these credentials in these two clients:
Once connected, you will want to find and download a copy of your wp-content folder to your computer. In most cases, you will only need your wp-content folder in order to successfully migrate a site. You do not need the WordPress core files in order to migrate to Pressable since we already have these files in place for you.
Import your database into a Pressable hosted staging site
As it pertains to migrating your site, you will want to copy the contents of the /wp-content/ folder you downloaded from your previous host to the /wp-content/ folder on Pressable servers.
Load Your Staging Site
Now that you’ve imported your database and uploaded your files, it’s time to load your migrated site. Try loading the site at the staging URL (or domain if you have assigned one) and ensure everything is functioning correctly.