I am trying to install drupal on a server for a client that currently has a website running on the server. The plan is to eventually transition everything over to Drupal, but during this process (probably a couple of weeks), I need the existing site to continue running. So far, I have moved the existing site into a subdirectory on the server (domain.com/SITE/), and I now have the index.php file at the site root redirecting to /SITE/. My goal is to install Drupal in the site root so that I can configure it to run correctly where it will eventually be. I am also planning on usine the Domain Access module, so I would like to be able to set everything up to run with that at this time as well.
I am running into some problems though with the index file. I would like to still have the index file as a redirect. is it possible to rename the Drupal index file? if not, is it possible to install drupal in some other way that it will be easy to transition it to the root folder when it comes time to go live?
I guess the main issue here, is how do I setup Drupal as it will be when I go live, while still having a running website on the server?
Comments
Happens all the time :) Well
Happens all the time :)
Well you can try renaming index.php to, say, default.php and then change
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]in .htaccess toRewriteRule ^(.*)$ default.php?q=$1 [L,QSA]Although personnaly I would probably change DirectoryIndex directive and rename your old index.php to the new index file name.
Hope this help,
alex
Hills Web
Hills Web