We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11365
    • 39 Posts
    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???
      • 22295
      • 153 Posts
      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.

        • 3749
        • 24,544 Posts
        It’s a good idea to run setup on the remote site after the move.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 12793
          • 293 Posts
          Quote from: oori at Feb 14, 2010, 03:10 PM

          edit the three config.core.php files

          Can you tell me the path of these 3 files?

          thanks
            • 22295
            • 153 Posts
            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)