Many WordPress errors are warnings or notices that something is wrong with your site. However, the Sorry You Are Not Allowed to Access This Page notice is actually looking to help you.
There are many causes of the error, and most require a few basic skills to solve. Once you’ve narrowed down the issue and resolved it, you’ll be back up and running in no time.
This post will offer seven ways to fix the Sorry You Are Not Allowed to Access This Page error. Before this, lets give you some more information on what the error is.
How to Understand the Sorry You Are Not Allowed to Access This Page Error
Unlike many other WordPress errors, the Sorry You Are Not Allowed to Access This Page notice isn’t warning you of an issue with your site.
In fact, for the end user, they may not see any changes to their experience at all. However, you’ll have no access to your site until it’s resolved.
The issue is related to a configuration error of some sort. As you can tell from the notice, user permissions are often the main culprit. Given this, you’ll usually find this error crops up after making changes to the back end of your site. Updates can also be at fault.
The Tools You’ll Need Before Tackling the Sorry You Are Not Allowed to Access This Page Error
Before you start to fix the Sorry You Are Not Allowed to Access This Page error, there are a few tools and elements you need to have to hand. Here’s a quick rundown of what you need:
- Administrator access to your server, at least to your root directory.
- A Secure File Transfer Protocol (SFTP) client, such as Cyberduck or FileZilla.
- You may also need to resharpen your FTP skills before starting.
- A text or code editor that will let you work with your site’s files. Usually, your default text editor is fine, but a code editor such as Atom or Notepad++ is a better option.
Once you have these elements in place, it’s time to crack your knuckles and dive in!
7 Ways to Fix the Sorry You Are Not Allowed to Access This Page Error
In the next section, we’ll look at seven different ways to fix the Sorry You Are Not Allowed to Access This Page error. Here’s a quick breakdown of the methods we’ll cover:
- Check your WordPress error log.
- Ensure your file permissions are correct.
- Make sure your wp-config.php file hasn’t been changed.
- Disable your plugins to check whether they are at fault.
- Activate a default theme to check for issues.
- Create a new .htaccess file.
- Check over your user roles.
There’s a lot to get through, so let’s get started!
1. Check Your WordPress Error Log For Clues
The first step is to check your error log. Quite often, you’ll find a pointer to help you choose one of the other methods below.
Some hosts give you access to the
This article was written by Tom Rankin and originally published on WPKube.