Skip to content

Instantly share code, notes, and snippets.

@seanwalsh
Created September 19, 2016 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanwalsh/6b7e5b7a2fd9205a0d5e66b5f90500e5 to your computer and use it in GitHub Desktop.
Save seanwalsh/6b7e5b7a2fd9205a0d5e66b5f90500e5 to your computer and use it in GitHub Desktop.
Wordpress Migration to Google VM

To migrate a Wordpress site all we need is super-admin rights. We do not need FTP nor database access. The

Prepare Source Install

  • Deactivate all security plugins
    • make sure other plugins are up-to-date
  • make sure that wp-admin is accessible
  • install All-in-One WP Migration plugin
  • export site
  • note plugins
  • note permalink options

Prepare the target Google VM

  • activate All-in-One WP Migration plugin
    • it will give you a warning and we will now take care of that
  • in the Google Console and SSH to the target server
  • run the following commands
    • sudo mkdir /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/all-in-one-wp-migration/storage
    • sudo chgrp daemon /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/all-in-one-wp-migration/storage
    • sudo chmod 775 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/all-in-one-wp-migration/storage
  • import file

Verify site

You will need to re-sign-in after the import.

  • verify permalink options
  • verify plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment