By mgregoire83 on
Hi there,
With a view to change the domain name of my Drupal, I've to move the site in a sub-directory of my hosting (the one the new domain name points to).
Is someone to explain to me which changes have to been made in database, to have my Site working again?
Many theanks by advance.
Comments
Check base URL in settings.php
Check in settings.php If base URL ($base_url) is defined then make changes there accordingly.
and for database and files - if you used static path for files any where on - nodes/comments then you will need to correct them all.
once you will fix these all clear the cache and then it should work fine.
Sudhanshu Agarwal
-
The other file to check, in case settings.php alone does not suffuce, is your .htaccess file in the root installation. There is a line there that looks like this:
# Rewritebase /
You can remove the hash mark and enter your base path after the forward slash, if necessary.