Solved: How to Transfer a MODx Revolution site to a new server

A problem that I have hit several times now is how to move a MODx Revo site to another server where the file path changes without the site failing and the manager screen being white.

Login to the development version of the site, then do the following:

  • Site > Clear Cache
  • Security > Flush Permissions
  • Security > Flush All Sessions

Copy the site database and files to the new location. Then open the database and update references for the old path to the new one. This should only required in _workspaces and _system_settings. Now, locate the config.php file and search/replace all the references there.

Now, if you go to /manager you should see the login screen. Log in. You will see a warning saying that a file if missing so you will need to do the following:

  • Site > Clear Cache
  • Security > Flush Permissions

Everything should come back and be fully working.

About Keiron

Web Developer based in the UK. Click here if you want to work with me