Skip to content

All about Joomla, Wordpress and HTML Websites

  • Joomla!
    • Templates
    • Extensions
    • –
    • Ecommerce
  • WordPress
  • HTML
  • Images
  • Blog
  • Free stuff
    • Joomla!
    • WordPress
    • HTML
    • –
    • Images

Can’t login after moving to new server

If you search on Google for the term “joomla can’t login after moving to new server” – or something similar, you will get more, than 1 million hits for most of the combinations.

So, you aren’t alone. And there are plenty of suggestions, on what might gone wrong and how you might find that, and there are verious fixes. But what if you moved the site to another domain? From development server to it’s final place? This is a subject wich is rarely touched by those advices.

But this is what can be your problem. If otherwhise the site looks/works OK, this is what you need to cehck first.

There are two settings/variables in the configuration.php wich can have this side effect. One of them is as old as Joomla is, it’s the LiveSite variable:

public $live_site= ”;

Check to be empty – as in the example above – or to match your site’s preferred domain – with or withouth the www. prefix, as you have it set in .htaccess, in Goole Webmaster Tools or any SEF plugins/components you are using (sh404SEf for example, but not only).

The other potential culprit is a newer one, is the Cookie Domain variable. Is safe to set it for security purposes, it’s a way to prevent session hijacking type of attacks for example, but can wreak havok in your cookie handling if the setting is wrong. Check it, and configure it as you need it!

public $cookie_domain = ‘mynewdomain.com’;

Small and simple things as they are, these settings are often forgotten. Take care of them – and they will help you to have a better performing Joomla site!

© www.joomla-tips.org

Post Views: 778
Author Alechko StudioPosted on January 18, 2016September 20, 2016Categories Joomla TroubleshootingTags joomla login error, Joomla login issue

Post navigation

Previous Previous post: Joomla blog creating
Next Next post: Convert Microsoft Word to HTML

Categories

  • Best Joomla Templates (11)
  • Best WordPress Themes (6)
  • Blockchain Technology (1)
  • Bootstrap Tutorial (11)
  • cPanel Tutorial (2)
  • CSS Tutorial (5)
  • HTML5 Tutorials (5)
  • Joomla Tutorial (71)
    • Joomla Articles (10)
    • Joomla Categories (2)
    • Joomla How To (6)
    • Joomla Installation (1)
    • Joomla International (14)
    • Joomla Menus (5)
    • Joomla Modules (4)
    • Joomla Settings (13)
    • Joomla Troubleshooting (11)
    • Joomla Video Tutorial (7)
  • JQuery Tutorials (2)
  • Tips & How To (12)
  • Top Free Joomla Templates (4)
  • VirtueMart Tutorial (3)
  • Web World News (18)
    • Joomla News (13)
    • WordPress News (3)
  • WordPress Tutorial (17)
  • Joomla!
    • Templates
    • Extensions
    • –
    • Ecommerce
  • WordPress
  • HTML
  • Images
  • Blog
  • Free stuff
    • Joomla!
    • WordPress
    • HTML
    • –
    • Images
Proudly powered by WordPress
Cleantalk Pixel