WordPress Login Redirect Issue

WordPress

It’s been a while since I’ve written here. I’ve been busy taking care of some personal and work business that’s just taken up more time than it should have. A few people have wondered where I’ve been and were clamoring for some new content to read. So here we go!

I upgraded the version of WordPress that this blog runs today, but ran into a problem when I went to log in. Each time I logged in, I’d just get redirected back to the login page. Turns out, I was a victim of a security hole in an older version of WordPress. I found a useful article by John Hawkins that details the issue. His solution was a little more involved than I wanted to get into, so I tried something on my own that worked.

John notes in step 4 that you need to delete the current value of active_plugins in the wp_options table. Turns out, this is all I needed to do, e.g.

update wp_options set option_value = '' where option_name = 'active_plugins'

I cleared that out, logged back in, and re-activated all of my plugins. Problem solved!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.