How To Easily Fix The WordPress Redirect Loop Error Without Admin Access

Thursday, February 18th, 2010

If you’ve been using WordPress, you’ve probably encountered the dreaded WordPress Redirect Loop Error at some point in time. There are a few different reasons why this can happen, but you should first check out your .htaccess file inside the root of your server. If you’ve created a redirect inside your .htaccess file to redirect the non-www domain (ex: justincener.com) to the www version (www.justincener.com), you may be causing the redirect loop error.

Follow these easy steps and you’ll get your WordPress Blog and Admin Access Back:

  1. 1) Backup your .htaccess file on your hard drive
  2. 2) Delete the .htaccess file from the root of your server
  3. 3) Go to your blog’s admin panel and log-in
  4. 4) On the left sidebar, go to Settings –> General and changes your WordPress Address and Blog Address to include www (so it should be http://www.domainname.com instead of http://domainname.com).
  5. 5) Save Settings
  6. 6)Take your .htaccess backup and reupload it to the root of your server

Thats it, you should be up and running again!

Tags: ,
  1. What if you still can’t login to your admin panel?

    Thanks, K

  2. I have this problem but do not have a .htaccess file, so that isn’t it.

    I also deactivated all my plugins, still had the problem, so it’s not a plugin issue

    any other ideas?

  3. This has just saved my life! Thanks a lot.

    I was doing all kinds before I found this answer – adding code to the wp-config.php – really had my head in a spin.

    Can’t thank you enough!

  4. It does not work for local WordPress since localhost cannot have www in front of it!


Leave Comment

(Required field)