We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22446
    • 181 Posts
    I am looking to the modx community for some assistance.

    I am still very new in the world of modx, but I am learning a bunch from the community as well as trial and error on my own.

    I currently have a website running and modx is being used to run the website. All my testing, trial and errors, etc. have become very unorganized in the manager. I am unsure of which ones are being used for chunks, snippets, etc without going through each resource to identify it. That could take quite a bit of time.

    I would like to overhaul my site with new layouts and updated content, etc. My thought process was to start a new site in a sub directory of my existing site and build a "test" site. Once I would have everything in order, I would then copy the "test" site to the root directory to replace the existing site. Is this possible? Are the steps that need to be taken in order to make the transition smooth? Any help would be much appreciated.
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      Mark Hamstra Reply #2, 15 years ago
      Yeah, very much possible and something that I also do for some projects.

      You should make sure you're not hardcoding absolute paths in your templates and things like that as you will have to update any reference you create.


      As for MODX itself - there are paths stored in the config file (core/config/config.inc.php) that will be updated when running the Setup again after moving the installation. There's also a few core.config.php files (in the root, in /manager/, /core/ and /connectors/ if I recall correctly) that you may need to update.

      There's also one path in the database in the workspaces table, but then it's all good.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.