Migrate an Existing WordPress Site
Migrate an existing WordPress site to Pantheon.
This page provides steps for migrating an existing WordPress site to Pantheon's platform. Review Pantheon's Managed Migrations page to see if having the Pantheon Professional Services team perform your migration is a better option for you before you migrate your site.
Prepare Your Site for Migration
Complete the following steps for the current site before beginning the migration to Pantheon.
Upgrade to the latest version of WordPress.
Fix any broken links.
Remove unneeded code, database tables, and files.
Clean up your content.
Clear all pending comments.
- If you don’t check your comments regularly, you likely have thousands of spam comments in your queue.
Navigate to Posts > Tags > sort by number of posts > delete tags with zero posts > consolidate tags with only one or two posts into other tags.
- Tags are important for SEO, but too many can confuse search engines.
Reduce your old post revisions.
- Post revisions can potentially double the size of your database.
Audit your Plugins and Themes and remove any that you no longer use.
Review Pantheon's WordPress Plugins and Themes with Known Issues to see if any of your plugins or themes are listed.
Make sure your code is compatible with the latest recommended version of PHP for WordPress, and adjust PHP versions if needed.
Clear all caches.
Configure SSH Keys.
Migrate Your WordPress Site with Guided Migration
Install the Pantheon Migrations plugin.
Follow the Guided WordPress Migrations steps.
Manually Migrate Your Site to Pantheon
You will need to manually migrate your site to Pantheon when any of the following apply:
The WordPress site is large: WordPress site exceeds 500MB.
Git history must be preserved: You'd like to preserve your site's existing Git commit history.
You use WordPress Multisite
Plugin installs are unavailable on the existing WordPress site: For example, if your existing site is hosted on WordPress.com, you'll be unable to install the Pantheon Migrations plugin.
The WordPress site is local: If your WordPress site is only on your local machine and not yet live.
You want to debug failed migrations: It can be helpful to migrate your code, database, and files separately to help debug edge-cases that are not supported through guided migration.
You use Composer: Please contact our Professional Services Migration team for help.
Follow the steps below to manually migrate your site to Pantheon.
Complete the steps in Prepare for Migration.
Complete the steps in Manual Migration.