Skip to content

WordPress migration tutorial

Elisabeth Hamel edited this page Feb 19, 2018 · 3 revisions
  • Upload all the files in /dest to the root of the new server
  • Edit the wp-config.php to change the database credentials
  • Download the database
  • Search and replace the current url by the new. For example, search for "http://localhost" and replace by "http://stereosuper.fr".

In the case of a multisite installation, you also need, after that, to search and replace for the domain name, for exemple: search for "localhost" and replace by "stereosuper.fr".

  • Upload the new database

You can find here a more complete tutorial (in french): https://www.gregoirenoyelle.com/wordpress-migrer-son-site-local-vers-le-serveur-en-ligne/

In case of trouble

  • You got an error 500: start with editing the debug variable in wp-config.php to true. If the error is due to the code, errors will be displayed. If not, good luck! Start by checking the .htaccess, check the wp-config credentials, try to deactivate all plugins.
  • The homepage works fine but all the other pages are in 404: connect to the admin, and save the permalinks parameters.

Clone this wiki locally