Talk about strange!! I have never seen this happen.
I am trying to prepare two old D4 sites (built on one instance of D4) for upgrade to D6. I have created a mirror image of the site under a new domain on the same server. I copied the original database into a new database and directed the mirror site to the new database.
When I logged into the first mirror site, the login worked just fine - but not the second site. When I try to log into http://d6.sitename.net, it sends me to http://sitename.net and successfully logs in on the original site.
The second site had clean urls enabled so I manually reset the mirror to not be clean as this was causing some issues. I did this by changing the clean url variable value to 0 in the database.
I have cleared the cache in both databases. Where, in the database, could something be hard coded that says the login button should redirect to http://sitename.net?
help!
thanks
Comments
Look in
Look in sites/default/settings.php for $base_url. For D6 you should be able to unset the value.
base_url doesn't appear to be the issue
The $base_url is set correctly -- $base_url = 'http://d6.sitename.net';
There is no indication that the site will run without this being set.
This is a D4.6 site that needs to be upgraded to D6. The problem is, I can't login to the development site without it redirecting to the production site.