[support] How to move a Drupal site below the domain root folder?

Earnie Boyd earnie at users.sourceforge.net
Tue Apr 8 12:05:31 UTC 2008


Quoting Albert Cuesta <acuesta at gmail.com>:

> As part of a Drupal 5.x to 6.x upgrade, I have moved my Drupal site to
> a folder below the HTML root level of my server, so now it's at
> public_html/drupal6 instead of public_html as before.
>

Is there a reason why you can't update the httpd.conf for the site so 
that the DocumentRoot is public_html/drupal6 instead of public_html?

> Now the site stopped working beyond the front page: users can login
> but cannot logout, all links display an unthemed front page, and so on
>
> Can somebody explain the required configuration of .htaccess (for the
> domain root and the drupal6 folder) and settings.php so the site works
> again? I think I have already tried everything in the handbook and
> readme :-(
>

Cache tables, sessions table probably need to be truncated.  Browser 
caches may need to be emptied as well.  Did you change the RewriteBase 
in the .htaccess file?

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the support mailing list