I was using a plug-in called Better WP Security (which I strongly don’t recommend). It had a feature that blocks access to the admin section for a certain time frame. I mistakenly set the wrong times and when it was time to edit the site I couldn’t because I was blocked out.
If something like this has ever happened to you, it can be scary, it was for me. How was I going to deactivate a plugin that has taken away control of your admin section? I need access to the admin section in order to do it!
In this case, I wasn’t willing to wait, I found a solution.
Do this: load up your FTP, find the plugins folder and rename it, (“plugins” to “pluginss”). This will disable allthe plugins because WP won’t be able to find them due to the incorrect directory name.
Now you can get into the admin section (if a plugin was causing the issue). Once in, go back to your FTP and change the folder name back to “plugins”. Then you can either de-active and/or delete the plugin you think is causing the problem.
Simply. Easy.