Quick tip here in case anyone is Googling how to move ModX install from a sub folder into the root.
I spent at least 2 /3 hours trying to move the site via Dreamweaver by copying and pasting the files into the root.
As it was taking too long I then tried using the FileManager on my hosting control panel. That flaked out a few times and proved unreliable. I then tried FileZilla which was a bit of a gamble as it won’t copy files only move them. Luckily and strangely enough moving the files to the root took only minutes with FileZilla. I then downloaded the config file, tweaked the paths where necessary and reuploaded.
I then ran setup again and chose ’upgrade’. Anyway, it worked perfectly.
Might be a good approach for somoeone else out there.
It’s not that difficult. It’s in the config php-file. You have to alter the url’s to new paths!
UI /UX designer + bit of Front-End Developer. Getting around with MODx Revolution
I think it’s the whole moving files I find really slow. I don’t have a very fast net connection so the whole process can take a few hours to download everything to the local server and then upload to the new root.
At leastm thats how I’ve been doing it but maybe I could just do a fresh install on the root, re-download any packages and then upload my images.
Would that work too alongside the config change?
Don’t you have a FTP-account or something?! If you can move with FTP or webinterface (cpanel, webmin..) so you don’t have down- and upload everything! Ask the hostingprovider if it’s not possible to manually mv the hole bung! OR!!! Maybe .htaccess files can do the trick if you are running on apache.
UI /UX designer + bit of Front-End Developer. Getting around with MODx Revolution