katwill
asked on
Can't login to Drupal site after domain change
I have a Drupal site, which has not moved servers, but has changed domain names. I cannot login, using either a login block or example.com/user. I changed the cookie domain in settings.php (base url was never set, btw), cleared the cache and session tables, my browser cookies, and still...nothing.
However, I can still login at the old domain.
If it helps, the old domain was something like example.dreamhosters.com. The new domain is something like example.org. Nothing ever moved on the server end. The only change that was made was that I redirected the new domain to point to the example.dreamhosters.com directory. Any clues?
However, I can still login at the old domain.
If it helps, the old domain was something like example.dreamhosters.com. The new domain is something like example.org. Nothing ever moved on the server end. The only change that was made was that I redirected the new domain to point to the example.dreamhosters.com directory. Any clues?
I have set up Drupal on dreamhost several times, and have made the same change you have without any problem. If this suggestion above doesn't work, try contacting Dreamhost.
ASKER
Tried your solution, to no avail. I've opened up a ticket with Dreamhost. Thanks for trying, though. And, if anyone else has any thoughts, I'm open!
ASKER
What I got back from Dreamhost was completely unhelpful:
"Try the suggestions mentioned here and see if it helps:
https://drupal.org/node/92 100
If it does not, try contacting Drupal and see if they can assist. If
there is anything else you need help with, please let me know! Thanks!
Have a great day!"
So, I am leaving this open, in the hopes that someone here might still have a solution.
"Try the suggestions mentioned here and see if it helps:
https://drupal.org/node/92
If it does not, try contacting Drupal and see if they can assist. If
there is anything else you need help with, please let me know! Thanks!
Have a great day!"
So, I am leaving this open, in the hopes that someone here might still have a solution.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Not ideal, but it worked.
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
# RewriteBase /
See what happens if you uncomment the last line.
RewriteBase /