I used to only write specifically about travel and blogging – but when it comes to these two topics there are a surprising amount of technical issues that travelers, bloggers, and travel blogger especially, might run into.
A short while ago I went to log into my website that uses WordPress and I was surprised to see that this message popped up:
Your IP (188.8.131.52) has been flagged for potential security violations. Find out more…
And it included a link to a WordPress page on some different solutions I could try out.
I was pretty nervous at first thinking that something happened with my site and that I was going to have to spend the day troubleshooting.
Why It Happened
The reason that the security violations message pops up onto the screen and locks you out of the site or blog is because of a new module that Jetpack introduced into one of their more recent updates.
The module is called “Protect” and it’s designed as an additional security feature that activations when it determines that someone is trying to gain access to your site that doesn’t have the right authorization.
They could have been trying too many passwords or logging in from somewhere where you don’t usually log in from.
This is a surprisingly beneficial feature because it can really help to protect your account, except for when you actually have to deal with trying to log in.
How to Login to Your WordPress Account After Getting Locked Out by Jetpack
Should you ever happen to get locked out you’re going to want to click on the link on the screen so you can check out your different options.
The method I recommend that is probably the easiest way to log back in is to whitelist your IP.
You can whitelist it beforehand to avoid any issues with this problem or you can do it if you can still access your blog.
To do this you’re going to want to:
- Click on the Jetpack sidebar menu option
- Select Settings
- Select Protect
- Select Configure
Under Whitelist Management you’re going to want to add your current IP (which Jetpack will show you) or the blocked IP if that’s the one you’re trying to access your site through.
Those who aren’t able to log into their accounts at all are going to have to go with a different method for getting back in.
This method is actually going to require you to edit your WP_config file.
It might sound pretty tricky but it’s actually fairly straightforward and isn’t as hard to do as it sounds.
You’re going to want to start by logging into your FTP either using FileZilla or by logging into your FTP manager through your website hosting cPanel directly.
From here you’re going to want to open up the wp_config file and you can find this file in the root of your WordPress installation folder.
Once you’ve reached this destination you need to add the following lines to the bottom of the wp_config:
- define( ‘JETPACK_IP_ADDRESS_OK’,’X.X.X.X’)
Make sure to replace the X.X.X.X with the offending IP address.
If you didn’t copy down the IP address from the WordPress error that you received then you can find it on this website here and just use that.
Refresh the page or close and reopen your web browser and you should hopefully be able to log in.
There is one more thing that you can try if you’re still locked out of your site.
For this method you need to check to see if you’re already logged into your site on a different tab and that you got this error when you tried logging in in a new tab.
What you want to do if this is the case is just visit http://www.yourdomain.com/wp-admin/edit.php (where yourdomain is where you put your website).
When you try this you might get lucky and be able to access your dashboard by circumventing the actual security block that has occurred on your IP.
This method works because the cookie for your website is already stored and it should allow you to access your dashboard from a previous access that you’ve had.
If this method doesn’t work then you’re going to want to focus on either of the two methods that I’ve listed up above.
One more thing that you can do which is the simplest solution is to just wait it out and eventually you’ll be able to log back into your dashboard for your website.
The block that this WordPress/Jetpack security feature has placed on your site doesn’t last forever and it’s actually on a timer so after an unspecified amount of time the block will release and you’ll be able to access your site again.
If you’re still running into some issues after a day or longer and you’re still unable to login to your website then I recommend contacting WordPress directly or posting on the support forums for help.