Credits: Video Training produced by Brian Teeman
At some point it's bound to happen - you manage to lock yourself out of your own website.
But don't panic, it's a really simple thing to do to unblock yourself.
There are two ways to regain access to your site, Rescue Mode and FTP.
Rescue mode is the easiest option.
As you can see on this message there is a link to use. Go to that link and change you at example dot com to your own super user email address.
You will see a confirmation message that an email has been sent to you. Check your email and then follow the link.
The link is only valid for 15 minutes on the same computer and using the same web browser for security purposes.
This link will let you log in to the administrator backend of your site where you can unblock yourself. Once you have logged in go to the Admin Tools component. Here you can see that we are in rescue mode with a big red button to unblock your ip address.
Once that has been successfully done click to end the rescue mode.
Your site is now protected again by Admin Tools.
The second method is using FTP.
To do this you will need an FTP program or perhaps your host's own file manager. I'm going to use FileZilla.
Once you've connected to your website, go to the plugins folder then select system, and admintools, and admintools again.
Here you will find a file called
main.php. You should rename this to
main-disable.php. That will disable the blocking features of Admin Tools for everybody.
Now you will be able to go into your website and remove yourself from the block.
Return to our website and once you have the login screen. Go ahead and login as usual and then go to the Admin Tools component.
We can now see a big red warning message and a button that will let me unblock my IP address. Go ahead and click that.
We now need to rename that file back to main.php. On most hosts you can simply click on this link here. If for any reason that doesn't work for you you can rename it again using your FTP program.
Your site is now working normally blocking all the people doing naughty things but letting you back in.