Let me see if I have properly understood your problem. At the moment,
yoursite.com/ maps to
yoursite.com/index.htm, the root of ’old’ site which you want to keep live whilst you install and set-up MODx in the same location and switch over when the time is ripe. Am I on the right track? If so, you might want to add (or modify) this line to
yoursite.com/.htaccess:DirectoryIndex index.htm index.html index.php
, reversing the usual precedence of files the server uses to open a directory. Now make sure there are no index.php, /assets/ or /manager/ already in use! and install MODx; clear your browser cache and launch MODx with
yoursite.com/index.php. One caveat: manager > site > launch site will take you to index.htm. If this is a bother, do small mod to
/manager/frames/l[1,2,3,4]mnu.php (number is manager layout) replacing:
<script language="JavaScript" type="text/javascript">
function showWin() {
window.open('../');
} with:
<script language="JavaScript" type="text/javascript">
function showWin() {
window.open('../index.php');
} Simply change DirectoryIndex directive when you are ready - no need to be in a hurry to remove ’old’ site.
Et voilà!