0

I have developed a Drupal site on localhost; I then exported it to a production site, and made the required changes in settings.php. The index page opens fine, but when I log in, the URL is still referring to localhost. I tried to set the base URL in settings.php, but it did not help.

I am using Drupal 7.10.

6
  • Did you modify the .htaccess file previously?
    – Scorchio
    Feb 8, 2012 at 12:09
  • nopes i did not do any modifications in .htaccess, but you could tell me what are the settings that i should look for in .htaccess i can double check that Feb 8, 2012 at 13:09
  • Are you using the domain module? securepages module?
    – acouch
    Feb 8, 2012 at 21:22
  • No i am not using any such module.I dont know from where it is taking localhost/ path for user log in Feb 9, 2012 at 19:18
  • ok, i found it, There were lot of cache tables with values localhost/..... although i ahd already cleared cache under performance, but seems these values left so had to manually delete them Feb 10, 2012 at 5:26

1 Answer 1

0

Try clearing all Drupal caches at yourwebsite.domain/admin/config/development/performance

6
  • ok, as per your advise i cleared cache under Performance, but still the same. Feb 8, 2012 at 10:47
  • @RakeshJuneja Did you solve the issue? can you please add your answer..
    – GIRI
    Nov 21, 2014 at 4:36
  • @RakeshJuneja cleared the cache but didn't solve the issue.
    – GIRI
    Nov 21, 2014 at 4:39
  • Try to clear all entries in table cache_page Nov 22, 2014 at 5:31
  • cleared all the entries in table 'cache_page'. Also used Devel module to clear cache. but same problem. Do we need to edit .htaccess file @RakeshJuneja
    – GIRI
    Nov 23, 2014 at 21:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.