Friday, 4 March 2011

Wordpress Login stuck in redirect!

Share |
Got stuck and can't login into wordpress admin, even with entering the CORRECT password?

I was working on migrating a clients' wordpress website and made a little mistake hoo-ha. Things got messy with 2 wordpress login screens, and before I knew it, I logged myself out. Great...

Some suggested its the browsers cookies getting confused, cleared that, and still no leadway. Finally found a post that reminded me of what happened in the split second.

This was what happened:

Image taken from: http://www.blakeimeson.com


So even if you don't have access to phpAdmin, no problems. Just edit the wp-config.php file and you are good to go.

Add the 2 lines to get yourself back on board:

define('WP_HOME', 'http://sitename.com');
define('WP_SITEURL', 'http://sitename.com');

For a more complete variety of options, if this unfortunately does not work.

Yet again, to live for another day.

3 comments:

  1. Thank you for this post. After 3 months of reading Wordpress blogs and trying numerous suggestions your solution finally allowed me to log in!

    ReplyDelete
  2. still can't login... it's keep refreshing...

    ReplyDelete
  3. Anyone who finds this, what worked for me was making sure I had "www." before my domain name in these settings

    ReplyDelete

Comments will be moderated.
You can always click 'Contact me' link to get in touch directly.