You Are Not Allowed to Sign on at This Time. Please Try Again Later.
There are few situations more alarming than being locked out of your own WordPress admin dashboard. If you've encountered a message reading "Deplorable, you are not immune to access this page" when trying to log in, you know the feeling first hand.
Fortunately, there are several solutions at your disposal for troubleshooting this error. With a little patience, yous can articulate up the error and get dorsum to managing your WordPress site in no time.
In this post, we'll dig into the "Lamentable, you are non immune to access this page" error and what causes it to occur. And then nosotros'll walk you lot through the many potential solutions to assist you discover the one that addresses your specific situation.
Let's jump correct in!
Understanding the "Lamentable, You lot Are Not Immune to Access This Page" Error
Although we're referring to it equally an "error" for the purposes of this post, the "Sorry, y'all are not allowed to access this folio" message in WordPress is meant to exist a helpful security measure.
Ultimately, seeing this notification simply means at that place'south a permissions setting that'south blocking you from a certain area.
This becomes a problem when you're locked out of a office of your site that you should take permission to enter which, as an Administrator, is anywhere on the backend. When this situation arises, it is often following a recent update to a theme, plugin, or WordPress core.
You may run across the "Distressing, you are not allowed to access this page" message for a diverseness of reasons. It might be that WordPress doesn't recognize you as an Administrator. In other situations, the information contained in your site's cadre lawmaking or in a theme or plugin may not match what's in your database.
Additional causes include wrong information in your wp-config.php file or a site that's running an outdated version of PHP. Whatsoever the source, this mistake may prevent yous from accessing the unabridged admin area or just a portion of information technology.
Since information technology'southward likely that you will not exist able to access key settings via the dashboard, you'll need to use File Transfer Protocol (FTP) or phpMyAdmin to resolve this issue. Brand sure to back up your site and brush up on using these platforms before y'all dive into the troubleshooting process.
The well-nigh frustrating thing about encountering the "Sorry, yous are not allowed to admission this folio" notification is that information technology can be difficult to pin down which of its causes are at play. Fortunately, at that place are many solutions you can test out to find the root of the problem.
How to Fix the "Sorry, Y'all Are Not Immune to Admission This Folio" Mistake in WordPress (11 Potential Solutions)
Due to its many possible causes, the "Pitiful, you are not immune to admission this folio" error takes quite a bit of patience to resolve. This long list of solutions may be intimidating but it also covers a diversity of situations to assist you lot find the right i for your site.
1. Restore a Previous Version of Your Site
The simplest and often the fastest fashion to get back into your WordPress dashboard is to restore your site to an earlier version. A contempo alter, such equally an update, might exist the crusade of the fault yous're seeing. Undoing your latest modification should enable yous to admission your site again.
Kinsta clients have it easy in this regard. You tin restore a WordPress fill-in in your hosting business relationship with a single click:

The drawback to this solution is that you may lose your recent changes and will have to find a way to accomplish your goals without causing the same error again.
For this reason, you may desire to restore your backup to a staging site instead. You can then test different modifications to determine what caused the problem. After uncovering the root of the event, you tin can undo the troublesome alter to regain access to your site.
two. Disable All of Your Plugins
A specific change that may be causing the "Pitiful, y'all are non immune to access this page" message on your site is the recent addition or upgrade of a plugin. If you suspect that this is the instance, your best class of action is to disable your plugins one by one.
In the event that you lot disable a plugin and the message goes away, you've found the source of the problem. Yous tin then troubleshoot the issue with that plugin (or do without information technology, if it'due south non crucial to your site's functionality).
Of class, if you lot're locked out of your dashboard entirely, this procedure gets a piddling catchy. You'll need to admission your site using SFTP via a client such as FileZilla. One time you've done and so, navigate to wp-content and discover the sub-directory labeled plugins:

Enter this folder, then rename your most recently-added plugin to something like "plugin-name_old". Go back to your site and check to see if the error is resolved. If non, change the plugin's name dorsum and repeat the process with the next one.
3. Activate a Default Theme
Still another potential cause of this error is that y'all've recently updated or installed a theme. Your best bet for resolving this problem is to activate a default WordPress theme such as Twenty Twenty or Twenty Nineteen.
To exercise and then without access to your admin area, y'all'll need to use FTP once again. Connect to your server with FileZilla and so navigate to wp-content > themes:

The remainder of the process is fairly similar to the one described in a higher place for disabling your plugins.
Rename the binder for your agile theme, and and then render to your site and log in. You lot should run across a notification telling you that the active theme is broken, and a default theme has been reactivated.
And so you tin can troubleshoot the theme. Your site should at least be accessible, albeit with the wrong theme activated.
4. Brand Sure You're an Administrator
Another possibility is that your user part has been inadvertently changed and you are no longer listed as an Ambassador. This is a common problem with multisite installations. To decide if this is the case, you'll need to access phpMyAdmin and await for the wp_users table:

Find your username and note your ID. Then, navigate to the wp_usermeta tabular array and find the wp_capabilties row:

If you lot have Administrator privileges, the meta_value in this row will read:
a:1:{s:xiii:"administrator";s:ane:"1";}
If your wp_usermeta table says something else, you lot can click on the Edit link and alter it. Alternatively, yous can too create an entirely new Administrator business relationship from phpMyAdmin. To take this road, return to the wp_users tabular array and click on the Insert tab at the top of the tabular array:

And so, fill in the fields with your new user information. In one case you're done, click on the Get button and your new user should appear in the tabular array. Next, you'll need to make a notation of the ID for this account and head back to the wp_usermeta table.
Click on Insert again, and fill up in the resulting fields with the following information:
- Unmeta_id: Get out this field bare; it will be filled in automatically for you.
- User_id: Use the ID from the WP Users tabular array.
- Meta_key: Set this value as "wp_capabilities".
- Meta_value: Add the line mentioned above.
You should now be able to employ your new credentials to log in to your WordPress admin expanse. Delete your old business relationship or alter its user role dorsum to Administrator from the dashboard and delete the new 1 instead.
Subscribe Now
5. Check Your Error Log to Pinpoint the Cause
A smart way to streamline troubleshooting whatever problem on your site is to cheque your server'southward fault log. This may bespeak plugin or theme compatibility issues, database errors, or problems with your site's files that are causing the "Sorry, you are non immune to access this page" message to appear.
How you view your server's fault log will vary depending on who your hosting provider is. For Kinsta customers, this process is every bit elementary every bit logging into your MyKinsta dashboard. There, select the site that's experiencing problems and navigate to Logs:

Choose error.log from the drop-down menu. If you see ane of the causes of the alert in your log, then you tin can go most fixing it. Otherwise, y'all'll need to try another solution on this list.
6. Ensure That Your Database Prefix Is Right
Every MySQL database has a prefix. If this one listed in your website'southward files doesn't match the one listed in phpMyAdmin, and so you may see the "Sorry, you are not allowed to access this page" message.
This can occur when migrating your site, including if you lot've used a local staging site for evolution and are at present moving to a live server. To cheque for discrepancies, you'll need to access your wp-config.php file.
Yous can exercise this via SFTP as nosotros've described in previous solutions. Once you lot're in your wp-config.php file, yous should expect for your database's prefix (the default is "wp_"):

So, log in to phpMyAdmin and look at the prefixes for your database'due south tables. They should friction match the ones listed in your wp-config.php file, like in the epitome below:

If they don't match the prefix in your wp-config.php file, then you'll demand to edit information technology and so that they do.
vii. Look for Changes in Your wp-config.php File
On a like note, you should also wait for any changes to your WordPress configuration file. This is peculiarly true if you lot were editing this file shortly before you received the "Lamentable, you are not allowed to access this page" message or if you doubtable that your WordPress site has been hacked.
Yous tin admission your wp-config.php file using SFTP and look for anything that seems awry. However, this process is much easier if you have some kind of file integrity monitoring or modify detection feature in place.
viii. Upgrade to the Latest Version of PHP
If your WordPress site is running an outdated version of PHP, this could exist the source of your troubles. With that said, even if upgrading PHP doesn't solve this result for you lot, it should improve your site's overall security and performance.
Before you start the upgrade process, create a backup of your site. You tin can do this manually or from your MyKinsta dashboard, even if you lot're locked out of your admin expanse. Once you've saved your fill-in, you'll want to examination to see whether your account is compatible with the latest version of PHP. One mode to exercise this is with a WordPress staging site.
Bold that all goes well, yous can run the update. Kinsta customers tin can easily do and then by logging into the MyKinsta dashboard and navigating to the relevant site. Then go to Tools > PHP Engine > Modify, and select the newest version from the drop-down menu:

If yous're with another provider, yous may be able to follow a similar process via your own control console. It's recommended that yous contact your web host for more information.
9. Evaluate Your File Permissions
Information technology's also possible that your site's file permissions accept been tampered with. In this case, WordPress may consider you lot unauthorized to view certain areas of your site, even if you're still listed as an Administrator.
To check your site's file permissions, you'll need to use SFTP to access your server. Once you're logged in, enter the public_html directory and bulk-select wp-admin, wp-content, and wp -includes. Correct-click on these folders and choose File Permissions:

In the resulting window, make certain the following options are selected:
- The Numeric Value is set to 755.
- Recurse into subdirectories is checked.
- Use to directories only is selected.
Click on OK when you're done. Then, highlight all the other files in public_html, correct-click on them, and select File Permissions again:

This fourth dimension, set the options in the permissions window to the following:
- The Numeric Value should exist 644.
- Recurse into subdirectories should still be checked.
- Utilise to files only should be selected.
Then, return to your site to meet if this solves the problem and the "Sad, y'all are not allowed to admission this page" message is gone.
10. Create a New .htaccess File
If none of the above strategies accept worked, you may need to reset your .htaccess file. To practice and then, launch FTP and navigate to your public_html binder. Y'all should see your .htaccess file there, but if you don't, follow instructions for showing hidden files in FileZilla.
Next, you'll need to rename your existing .htaccess file, like to how we renamed plugin and theme files in earlier solutions. Something recognizable such as .htaccess_original or .htaccess_backup is ideal.
So, right-click on the file and select Download. Open up the file in a text editor and replace its contents with the following:
#Begin WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [Fifty] RewriteCond %{REQUEST_FILENAME} !-f RewriteCOnd %{REQUEST_FILENAME} !-d RewriteRule . /index.php [Fifty] #END WordPress
Rename this file .htaccess and upload it to your server. If this file was the source of the "Sorry, you are not allowed to admission this folio" error, then it should now be stock-still.
11. Reset Your WordPress Site
In the worst-case scenario, there may be an installation issue. To set it, you'll have to reset your WordPress site. It's vital that you have a recent fill-in y'all tin restore later this process is consummate, as resetting your site will cause you to lose all posts, pages, and user comments.
There are several methods for doing this, including via your MyKinsta dashboard, using a WordPress plugin, and by using WP-CLI (the WordPress command line). It'due south all-time to save this route as a terminal resort, and then you don't chance losing your site'southward content.
Summary
Being locked out of your admin dashboard in WordPress is nervus-wracking, to say the least. Rapidly finding the right solution to the "Distressing, you are not allowed to access this page" error is vital to both your site and your peace of mind.
In this post, we covered a broad range of possible causes and fixes for this event. Allow's recap them quickly:
- Restore a previous version of your site.
- Disable all of your plugins.
- Activate a default theme.
- Brand certain you're an administrator.
- Cheque your error log to pinpoint the cause.
- Ensure that your database prefix is correct.
- Await for changes in your wp-config.php file.
- Upgrade to the latest version of php.
- Evaluate your file permissions.
- Create a new .htaccess file.
- Reset your WordPress site.
Happy fixing!
Save time, costs and maximize site performance with:
- Instant help from WordPress hosting experts, 24/7.
- Cloudflare Enterprise integration.
- Global audience reach with 29 data centers worldwide.
- Optimization with our built-in Awarding Performance Monitoring.
All of that and much more, in one plan with no long-term contracts, assisted migrations, and a 30-twenty-four hours-coin-back-guarantee. Check out our plans or talk to sales to find the program that's right for you.
Source: https://kinsta.com/knowledgebase/sorry-you-are-not-allowed-to-access-this-page-error-in-wordpress/
Postar um comentário for "You Are Not Allowed to Sign on at This Time. Please Try Again Later."