Hello
I will try and make my question short and precise.
I have an assignment to create a new website for a sports club.
The club already has a running site bases on joomla, but it is crap.
It is just running a ugly default theme, and it never gets updated. (and people don’t know how to do it)
Can I place modx in a subfolder while I get it running on the server. (so noone see it before it is finished)
And then the right time comes, i just move everything to the root folder?
Will there be any problems with this?
-
MODX Staff
- 2,502 Posts
Yes! I have done this on a number of occasions and you will need to change very few settings to do the move.
First you will need to note path value of the File Manager Path in the Manager>Tools>Configuration>File Manager as you will need to change it later to the root folder instead of the subfolder.
When you move you will need to edit your ht.access file if you are using Friendly URLs.
Make sure site URLs are not written as ./ or / but use the [~id~] as in [~5~] for a link to document id #5 : eg. <a href="[~5~]" title="document five">Document Five</a>
It is actually very easy to do since MODx will check the index.php’s location on the sever and determine the relative and absolute paths.
If anyone can think of other things to watch out for please post and or correct me since its been a few months since I’ve done this.
Cheers,
Jay
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub