Are you pissed off by the “Sorry, you aren’t allowed to entry this web page” error in WordPress?
This error often shows if you’re attempting to see a web page in your WordPress dashboard that your consumer position doesn’t have permission to see.
Nevertheless, you may see the error generally even if you’re purported to have entry to that web page. This error may be attributable to lot of various causes which makes it difficult for novices to troubleshoot.
On this article, we’ll present you the way to repair the “Sorry, you aren’t allowed to entry this web page” error in WordPress.
What Causes the “Sorry, You Are Not Allowed to Entry This Web page” Error in WordPress?
WordPress consumer roles and permissions outline what your customers can and may’t do in WordPress. For instance, an creator in your web site wouldn’t be capable of edit the submit of one other creator, solely their very own posts.
If somebody gave an creator the hyperlink to edit another person’s submit, then they’d see the “Sorry, you aren’t allowed to entry this web page” WordPress error when following the hyperlink.
Nevertheless, generally you may see “Sorry, you aren’t allowed to entry this web page” when it’s best to have entry to view the web page.
Should you’re not the positioning proprietor or administrator, and also you’re seeing this error, then it’s best to contact the positioning proprietor or admin to allow them to know. They’ll clarify why you don’t have entry to the web page, or they’ll change your position to grant you entry.
If you’re the positioning proprietor or have an admin position, however you’re nonetheless seeing the “Sorry, you aren’t allowed to entry this web page” error when attempting to log in to your individual web site, then one thing has gone flawed with the permissions.
Possibly there was a difficulty with a WordPress replace. Possibly there was an issue when a theme or plugin was up to date. Or perhaps one thing has gone flawed along with your configuration.
Should you’re seeing this error if you attempt to log in, then you definitely gained’t be capable of repair the error by altering your WordPress settings within the dashboard. You’ll need to work with the recordsdata and databases straight.
You could possibly additionally begin by contacting your internet hosting supplier. They can repair the issue for you.
That being stated, listed here are some steps you may comply with to troubleshoot and repair the “Sorry, you aren’t allowed to entry this web page” error in WordPress.
Checking You Have the Appropriate WordPress Position
Should you’re capable of log in to the WordPress dashboard, however can’t entry particular pages, then the problem could possibly be that your WordPress consumer position was modified, and also you’re not an admin.
From the WordPress dashboard, you may see your consumer position by visiting the Customers » All Customers web page, and searching beneath the ‘Position’ column.
Should you don’t have entry to the Customers web page, then this implies that you’re not an administrator.
In case you have an admin consumer position, and also you’re nonetheless seeing the “Sorry, you aren’t allowed to entry this web page” error, then it could possibly be attributable to a corrupt .htaccess file. We are able to verify this by renaming the file.
Utilizing your FTP consumer, it is advisable to navigate to the basis folder containing all of your WordPress recordsdata. As soon as you discover the .htaccess file it is advisable to rename it to one thing else, resembling .htaccess.previous.
When you rename the file, attempt logging onto your WordPress web site to see if that has fastened the issue. If it hasn’t, then rename it again to .htaccess and transfer on to the subsequent step.
Should you can log in, then you definitely fastened the issue. The following step is to generate a brand new .htaccess file. To try this, navigate to the Settings » Permalinks web page in WordPress.
Merely click on on the Save Modifications button on the backside of the web page and WordPress will generate a contemporary .htaccess file.
Checking for Incorrect File Permissions
When you have your FTP consumer open, we’ll verify to verify there isn’t an issue along with your file permissions. File permissions management who can entry recordsdata and folders in your web site.
The next settings are beneficial for many customers:
755 for all folders and sub-folders. 644 for all recordsdata.
Utilizing your FTP consumer, it is advisable to navigate to the basis folder containing all of your WordPress recordsdata and choose the wp-admin, wp-content and wp-includes folders. Then it is advisable to proper click on and choose ‘File Permissions’.
This may convey up the file permissions dialog field.
Now it is advisable to enter 755 within the numeric worth subject. After that, you may click on on the ‘Recurse into subdirectories’ checkbox after which choose ‘Apply to directories solely’ possibility.
Click on on the OK button to proceed. Your FTP consumer will begin setting file permissions to folders and sub-folders. You’ll need to attend for it to complete.
Subsequent, it is advisable to choose all recordsdata and folders within the root folder of your WordPress web site after which proper click on to pick file permissions.
The file permissions dialog field would seem.
This time it is advisable to enter 644 in numeric worth. After that it is advisable to click on on ‘Recurse into subdirectories’ checkbox after which choose ‘Apply to recordsdata solely’ possibility.
Click on on OK to proceed and your FTP consumer will now begin setting file permission to all recordsdata in your WordPress web site.
When you’ve accomplished this, attempt logging into your WordPress web site once more. Should you’re profitable, then you definitely’ve fastened the issue. If not, then transfer on to the subsequent step.
Deactivating All Plugins Utilizing FTP
If the steps above haven’t resolved the problem, then our subsequent step is to verify whether or not a defective WordPress plugin is inflicting the error. We’ll do this by briefly deactivating all plugins.
First, it is advisable to connect with your web site utilizing an FTP consumer. As soon as related, it is advisable to navigate to the /wp-content/ folder.
As soon as there, you will notice a folder known as plugins. That is the place WordPress shops all plugins put in in your web site.
It is advisable to proper click on on the plugins folder and choose Rename. Subsequent, it’s best to sort in a special title. We are going to name it ‘plugins.deactivate’.
All your plugins have been deactivated. Now attempt to log into your WordPress web site to see if this has fastened the issue.
Should you nonetheless obtain the “Sorry, you aren’t allowed to entry this web page” error, then the issue isn’t attributable to a plugin. You’ll have to rename the ‘plugins.deactivate’ folder again to ‘plugins’ and transfer on to the subsequent step.
If now you can log in, then you understand that one of many plugins is inflicting the error. We simply have to search out out which one.
Utilizing your FTP consumer, rename the ‘plugins.deactivate’ folder again to ‘plugins’ then navigate contained in the plugins folder. Now rename the primary plugin to one thing like ‘plugin-name.deactivate’.
Now return to your web site to see when you can log in. Should you can’t, then change the plugin’s title again and transfer on to the second plugin. Repeat the method till you discover the one which precipitated the problem.
When you’ve discovered the defective one, you may swap to a special plugin that doesn’t trigger the issue. Or you may contact the plugin creator and work with them to provide you with an answer.
Activating the Default Theme Utilizing FTP
If the plugin resolution didn’t give you the results you want, then we’ll have to verify in case your WordPress theme could possibly be inflicting this problem.
This step is much like deactivating your plugins. You’ll want to hook up with your web site utilizing an FTP consumer and navigate to the wp-content folder.
As soon as there, you will notice a folder known as themes. That is the place WordPress shops all themes put in in your web site.
This time it is advisable to right-click on the plugins folder and choose Rename. We’ll name it ‘themes.deactivate’.
This may activate the default theme. Now attempt to log into your WordPress web site to see if this has fastened the issue.
Should you nonetheless obtain the “Sorry, you aren’t allowed to entry this web page” error, then the issue isn’t attributable to a theme. It is advisable to rename the ‘themes.deactivate’ folder again to ‘themes’ and transfer on to the subsequent step.
Should you can log in, then the earlier theme precipitated the issue and you can begin to troubleshoot. You could possibly attempt utilizing a special theme or reinstall the identical theme and thoroughly configure it.
If the error returns, then report it to the theme creator. They can make it easier to clear up the issue or repair a bug within the theme.
Ultimate Troubleshooting Steps
Should you’re nonetheless studying, then sadly the opposite steps haven’t solved your drawback. Listed here are a number of extra issues you may attempt.
Examine Error Log
You could possibly verify an error log for clues about what went flawed. Your internet hosting supplier could also be protecting logs, or you might have beforehand set WordPress as much as preserve them.
If you’re unable to repair the error by yourself, then it’s best to contact your WordPress internet hosting firm to see if there may be something they’ll do.
Many suppliers provide wonderful technical help and could possibly clear up the issue for you.
For instance, they can verify their server error logs or have created their very own backups of your WordPress web site. They may be capable of advise you on how they might help and what it’s best to do subsequent.
We hope this tutorial helped you discover ways to repair the “Sorry, you aren’t allowed to entry this web page” error in WordPress. You may additionally need to bookmark our final troubleshooting information of the commonest WordPress errors, or see our information on the way to get a free e mail area.
Should you favored this text, then please subscribe to our YouTube Channel for WordPress video tutorials. It’s also possible to discover us on Twitter and Fb.
At Marketing Solution Australia we strive to deliverer elegant responsive websites for your business integrated with our personal SEO Optimization package to bring your pages on the first page of Google.