Hello. First of all, sorry for my bad english))))
OK.
I’ve site on MODx Revo at localhost (XAMPP 1.7.3).
Now I want to move it to web.
What better copy files to server or install MODx on server and then import db???
Both will work.
new install + db copy would be simpler if you haven’t much changes on the file system.
If you do copy the files from localhost - you’d just need to edit the three config.core.php files for the new disk path, and probably update your core/config/config.inc.php with the correct database connection settings.
It’s a good idea to run setup on the remote site after the move.
In this file you’d fix both root path and your mysql connection:
\core\config\config.inc.php
In these three you should just fix the path to your root:
\config.core.php
\connectors\config.core.php
\manager\config.core.php
(and don’t forget to clear the cache)