MODX transfer

To correctly transfer a site running CMS MODX, it is usually sufficient to do the following:

  1. If the site is active, follow these steps:
    1. Log into the admin panel of the site.
    2. Go to section "settings → System settings":
    3. In the drop-down list, select "Site" and find the value in the table "Site status", double click on the value "Yes" open the parameter for editing and change it to "No":
    4. In chapter "Control" click "Clear cache" and "End all sessions":
    5. Additionally manually remove the site cache.
  2. Transfer site files and database (if required) using the one that suits your situation instruction.
  3. In the config file config.inc.phpif such exists, correct the absolute path to the directory "kernels" site. The path to the site directory should look like /home/user/example.com/www/corewhere instead of user should be specified hosting account nameand instead of example.com/wwwpath to site files.
    1. If after changing the paths in the file config.inc.php the site displays error 503, then you should additionally check the paths specified in the configuration file /core/config/config.inc.php, /manager/config.core.php, /connectors/config.core.php... Similar changes may be required when using older or modified versions. CMS, since by default it is enough to execute only the previous point.
  4. If after the transfer another domain will be used, in the configuration file /core/config/config.inc.php change the site address to a new one in the line with the parameter $http_host (the example shows the site address example.com):
  5. If the site was not available and the cache was not cleared, then this should be done manually, as the use of an outdated cache can lead to problems in the display of the site.
  6. Check the site is working.