After moving MODx Evolution 1.2 from a subdomain to the main domain by changing the folder assignment for that domain and deleting the subdomain (Host Europe), I had to
edit assets/cache/siteHostnames.php manually. The file contained
define('MODX_SITE_HOSTNAMES', 'test.mydomain.de')
still pointing to the subdomain. Running an upgrade-installation after the reconfiguration of the domain settings did
not solve the problem.
Before editing the siteHostnames.php I got
- a redirection to the subdomain after entering the login data on mydomain.de/manager/ (-> test.mydomain.de/manager/)
- an ERR_NAME_NOT_RESOLVED error, if the redirect is not possible any longer, because the subdomain no longer exists
- a Cross-Site Request Forgery (CSRF) warning when trying manually to go back to mydomain.de/manager/ after the login
...just in case somebody else needs this - took me two hours to find out