I am in the process of upgrading from 6 to 7. Copied the site from domainA.com to domainb.com/drupal7. Completed the upgrade fine, changed the settings.php and .htaccess to the correct values and moved the new drupal 7 site back to domainA.com. Home page barely loads up and all menu links still looking for domainb.com/drupal7. I ran cron and now its looking for domainA.com/drupal7. I've seen others asking about this on the forum. Is there any easy way to change the URL?

Comments

nevets’s picture

You probably need to clear cache and the sessions table. Also, the cookie domain setting should agree with the base URL.

nsummy’s picture

Thanks. I did this but to no avail. Is there somewhere in the database that tells drupal the correct path for the site?

nsummy’s picture

I would also like to add that I feel this is a bug. There are numerous forum posts out there about this and no one seems to have a solution. It seems odd that you can change domains without any issue, but if you want to go from a subdirectory into a root directory it breaks everything. I also have read that doing this is not an issue in 6.

nsummy’s picture

Category: support » bug
nsummy’s picture

Nevermind, somehow my settings.php reverted back.

nsummy’s picture

Status: Active » Closed (cannot reproduce)