troubleshooting Question

Changed Drupal base URL, Site works but I can't log-in

Avatar of craigatcrow
craigatcrowFlag for Canada asked on
PHPMySQL ServerWeb-Based CMS
3 Comments1 Solution5229 ViewsLast Modified:
I built a drupal site, development was done on hosts url (http:itk.ca.previewyoursite.com)
Our domain is itk.ca
Once site was built, I set up DNS with the registrar so www.itk.ca should work instead of itk.ca.previewyoursite.com
Now, if I go to www.itk.ca, I can see the site, but get access denied when I try to log in.
I tried the following:
1.Turned off clean urls
2.Changed base URL in settings.php
3. changed cookie_domain to $cookie_domain = 'itk.ca';

everything works for the development URL, not www.itk.ca

If I back-up my sites and .htaccess files and re-install Drupal from itk.ca, will it mess up the database, or will it work ok?  Any other ideas?

PS. if you look, you'll have to go to http://www.itk.ca/node or http://itk.ca.previewyoursite.com/node , I have htacess set to display the html file so our old site is active until everything is set up.  (I set this back to index.php to see if it would fix the login, it doesn't.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros