WordPress Login Trouble

WordPress Login Trouble

Como Resolver o Loop de Redirecionamento do Login no WordPress

Since 2012 I use WordPress, not only on my blog but on all the sites I develop for my clients, and WordPress login trouble never happened to me, UNTIL YESTERDAY 🙁 What happens is when you enter your login and password and click on access, the page returns to the same login screen.

 

https://gabischiller.com/wp-login.php?redirect_to=https%3A%2F%2Fgabischiller.com%2Fwordpress%2Fwp-admin%2F&reauth=1

 

I had no way to access my blog at all, either through the WordPress dashboard, the wordpress.com or the Cpanel of my hosting. None of them worked!!! I have a friend registered on my blog and with her user I was able to access her dashboard, not mine. 🙁  I found it very strange that I could access the gabischiller.com with another user but not with mine...

Como Resolver o Loop de Redirecionamento do Login no WordPress
Como Resolver o Loop de Redirecionamento do Login no WordPress
Como Resolver o Loop de Redirecionamento do Login no WordPress

So I started searching incessantly to understand and solve the loop. I lost hours of my day and my life (being very dramatic) to try to solve this ridiculous problem and I did not find on the internet (neither in Portuguese) anything that came close to what I discovered in my database (MySQL) and the solution I will share here with you so you know what to do if one day this will happen to you! And if you use WP, of course!

What I Tried:

  1. I cleared the browser cache and cookies.
  2. I disabled my plugins.
  3. I deactivated my theme.
  4. I changed my password in PhpMyAdmin.
  5. Replaces my login file.
  6. I set the WordPress and website URLs.
  7. I tried WordPress MultiSite Network
  8. Site URL Redirecting
  9. Nothing happend.....

 

Como Resolver o Loop de Redirecionamento do Login no WordPress

The Solution:

 

  1. Access PhpMyAdmin on your hosting cpanel.
  2. If you have more sites like me, get a database corresponding to your site
  3. Change your login name and password and select MD5, as in the image below.
  4. Click GO.
  5. Clear your browser's cache and cookies.
  6. Now just log in again.
Como Resolver o Loop de Redirecionamento do Login no WordPress_MYPHPADMIN
Como Resolver o Loop de Redirecionamento do Login no WordPress

When I changed the password in the database and tried to log in again, it didn't work. But then when I changed the username too, it went back to normal. Before you try everything I tried above, go straight to the database and change the username and password !!!! Leave it in the comments below if you already had this problem and how you solved it! Xx