Wordpress Tips – Redirect Loop Problem, wp-login.php redirecting to wp-edit.php

Print This Post

wordpress Wordpress users may find the issue of redirect loop on their blog specially when accessing Wordpress Admin panel. Yesterday, I found this problem on one of my blog and then tried lot many things to rectify that. Finally got the solution which is very simple but so much relaxing. Here is the problem scenario and the solution,

You may also like: WordPress Database Backup : Take Or Schedule A Regular Backup

Problem Scenario

- Wordpress Admin Panel is working fine but some of the tabs like Edit post or Posts not allowing the user to go inside and check the posts. Even not allowing the Admin as well to check he post or edit them. Simply throwing the login panel (asking for User ID and Password) and saying incorrect password even for the correct one. Or going in to a redirect loop where wp-login.php is redirecting to wp-edit.php or vice versa.

redirect

Solution

- Short answer is that wordpress is not the culprit but your browser is. Browsers like Google Chrome stores lot many cookies and based on those cookies, wordpress allows someone to check the edit panel of the admin dashboard. If you are accessing lot many admin panels of different wordpress installations then after certain time period, your browser cookies and wordpress security check may land you in the above mentioned scenario.

Don’t panic, everything is under control. You just need to clear cookies of browser and restart that or may try on other browser on your computer. You will be able to login and edit your posts. If you were using Google Chrome then you may try opening admin panel of your dashboard on Mozilla Firefox or Internet explorer.

If the problem of redirect loop still exists in your wordpress admin, then there may be some misconfiguration in your Wp-Options table or wp-config file. 

Google Buzz
RSS for Internet Techies Hello there! If you are new here, you might want to subscribe to the RSS feed for updates.
Share it
9 Responses to “Wordpress Tips – Redirect Loop Problem, wp-login.php redirecting to wp-edit.php”
  1. Ruchi says:

    Thanks for sharing this information, although i never faced this problem but if i will in future i will keep in mind to clear the cookies.

  2. Yohan Perera says:

    I agree with Sanjeev. I came across this problem, when I changed the configuration of my URL to start with www.

    Therefore instead of logging in through wp-admin I had to login through wp-login.php

    Later on I found the problem and cleared cookies and the cache, all started working again without any redirection loops…

  3. Hi Sanjeev,
    This problem occurred with me some days ago but thank God I solved it like your way you have mentioned in the post here.

    • Hi Surender,
      That experience is really horrible and I can understand how it does feel when you are not able to log-in to dashboard having hundreds of posts and efforts of more than a year.

  4. Raj says:

    I am really thinking of even leaving wordpress for my blogs bcz of this prolem..I cleared chache…, cookis everything but it comes back every once in a while..
    and wont go even clearing everything else.

  5. ozzysong says:

    Thanks, it did the trick.

  6. robert says:

    Thanks a lot!

    this article does do me a great favor!!!

  7. Jon says:

    Thanks! Been going through the database with a fine tooth comb, and just generally pulling my hair out. Came across this, did as you suggested, and bingo! works a treat. Thanks

Leave a Reply

If you have any query or question related to Blogging, Wordpress, Monetization thru Adsense, Plugins then kindly post your queries on Internet Techies Forum. We will definitely try to resolve that or some other members from our forum will do. Thanks for the consideration.

(required)

(required)