greddin
asked on
How to move Drupal to website root?
A few weeks ago I used the GoDaddy application manager to install Drupal 6.19 to a "/drupal" directory. So my Drupal site is accessed like this http://www.mysite.com/drupal. Is it possible to move the /drupal directory to the site root so that it can be accessed like http://www.mysite.com?
Thanks,
-Greg
Thanks,
-Greg
Apart from saving you the trouble of moving your Drupal installation the 301 Redirect gives you flexibility. You can change your mind later if you wish to install another CMS or a conventional home page.
ASKER
The redirect will still show the "/drupal" in the url correct? Is there a way to redirect while not showing the "/drupal" in the url?
I haven't done it, but I believe you can use the 302 redirect to do that:
http://www.internetofficer.com/seo/302-redirect/
http://www.internetofficer.com/seo/302-redirect/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
how about moving all the drupal files and directories to root of site directory
ASKER
Is it as simple as coping the drupal directories and files to the root without having to modify a config file somewhere?
You need to edit settings.php as described in the link I gave above.
ASKER
Thanks vallis. I had overlooked that link.
redirect 301 /index.html /drupal/index.php
http://www.webconfs.com/how-to-redirect-a-webpage.php