Whats the best way to install Modx where a client already has a live site running
on the server. The idea is we’ll install modx, gradually build the templates etc
and the Modx site will then replace the current site when we’re done.
I assume here I have to install Modx in a folder in the root so her URL would
be
www.clientsite.com/modx/
and I could then rename the ’modx’ folder to ’live’
www.clientsite.com/modx/
or is that bad practice? Any help would be appreciated.
Many thanks
I’ve had to do this a couple of times. As you suggested, I usually install MODx in a /modx folder and do all of my work there. Some people advocate to do the work in a local test server environment and upload when ready but I personally prefer it the other way as I can collaborate with the client easier and show work in progress etc. (I clients are usually SME businesses so it’s a very personal relationship and not a problem to show work in progress).
Once the site is complete, tested and read-to-go, I put up an "Under Maintenance" page briefly while moving the existing site into a folder called /old or similar. Then, I simply move all of the files from the /modx folder straight to the root of the web server. You then just have to change the File Base Path in Tools/Configuration/Interface&Features as well as the File Manager Path in Tools/Configuration/File Manager to take out the /modx bit of the file paths. That should be it.
Hi Rivendell48
Thanks for taking time to answer that. I had hoped it would be that simple. Will try it later on.