Divi: the easiest WordPress theme to use
Divi: The best WordPress theme of all time!
With over 701.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]
Imagine this: you are working on your WordPress website and then bam! You see this contortion and confusion error:
« Sorry, you are not authorized to access this page »
« How is it possible ? You are shouting in silence. " I need to access this page. I am the administrator! »
Frustration continues when you realize that the correction is not automatic since there are several possible reasons for this error.
Do not worry. Today I will share more details about the cause of this error as well as how to fix it.
But, if you've never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog
But back to why we are here.
A short history of this error
This error is originally a permissions or security issue, but there could be several reasons for this error.
In case you are the administrator, there is a loss of connectivity between the files of your WordPress blog and your database. The core of WordPress, plugins or themes have data that does not match what is saved in the database. Since the information does not match, the request can not be processed.
This happens when information such as username and password in the wp-config.php file that do not match what is stored in the database.
It is also possible that you have a PHP version installed on your server that is not compatible with WordPress, which is also a security risk.
5 WordPress plugins to visually edit CSS to discover absolutely.
There are many more examples, but all of these serve to illustrate the different reasons for this page, although not all of them can be easily detected.
With that in mind, here's how to diagnose the reason for this error on your WordPress blog.
How to diagnose the dashboard access error
Assuming you are logged in as an administrator or super administrator and not with an account with a different user role, here's how to diagnose the problem. You do not necessarily need to follow the letter, but it is recommended.
Read also: Permalink: How to customize your blog links
Easily create your website with Elementor
Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]
This list starts with basic tips for advanced tips.
First of all, you must necessarily make a backup of your database. This will be useful if something bad happens, you can use that to restore the website.
To go further, here 7 WordPress plugins to save your website / Blog
1. Restore your actions
Try to remember what you did before the error occurred.
For example, if you have updated a WordPress theme or plugin. This can also happen when you are migrating from a local environment to a server. During the WordPress update, you may also experience this error.
2. Activate WP_DEBUG
The Boolean " WP_DEBUG Can list the errors on the front end that are currently plaguing your WordPress website. With this particular error, this usually does not generate any results.
Either way, it's a good idea to try this out, as you might be notified of any errors related to any plugins or themes you installed that are contributing to the problem.
Try to activate WP_DEBUG And check the error log when it is finished. Also, be sure to add the logging option so that " WP_DEBUG Be printed in a private newspaper. This prevents errors from being displayed on the front end, which is a security risk.
3. Check for errors and your access logs
After you have checked your access logs while sleeping from debug mode, it is also a good idea to check the access logs that are on your server for errors.
If you see any errors listed, it might help narrow down the potential sources of the problem. You can also use your access log to determine the last action before the error appeared.
Read also: Some WordPress plugins to redirect
You can also check if there was unauthorized access to your website. If a hacker has been able to gain access to your files or database, you may be blocked if the hacker has modified vital data that would limit your access to pages to which you would normally have access.
4. Notifications of security plugins.
It is possible that a hacker may have infiltrated your website and in such a case it is likely that you have received a notification if you have installed a security plugin.
If you are receiving email notifications from the security plugin you installed, check if you received one in your inbox and don't forget to check the spam folder in case your email provider mail has strict spam rules in place.
Are you looking for the best WordPress themes and plugins?
Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]
It's all for these different practices to correct the error of access to a page. There are many more solutions, but this can be considered a start.
Discover also some themes and premium WordPress plugins
You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.
We offer you here some premium WordPress plugins that will help you do that.
1. WooCommerce Multisite Duplicator
You have just opened your online store and you want to create another one whose configuration will be almost identical, at the same time you want to manage these two online stores in one place, then this WooCommerce plugin premium of WordPress will help you create a multi-site network that is easy to administer and manage.
You will have the opportunity to clone your old website and after that you will just have to create new products. The WordPress plugin WooCommerce Multisite Duplicate therefore helps you to duplicate your products in your multisite network.
Enrich your exploration by discovering our article on: Page Builder: 5 WordPress plugins to create your pages
You can duplicate one or all websites. You can even specify what you want to copy or not.
2. Yellow Pencil: Visual CSS Style Editor
This premium WordPress plugin will create CSS styles in background while you play with the colors as if it were a game. It was designed for beginners as well as experienced users.
No coding knowledge is required. However, the WordPress plugin has a good CSS editor for those who like to code. You can code live with this editor and customize your CSS.
3. Cube Portfolio
Cube Portfolio is a premium WordPress grid plugin that offers a powerful portfolio, beautiful animated filtering, custom captions, etc. It is perfect for portfolio projects, image galleries, team members, articles blogs, or other content organized in a grid.
Il est super easy to use for beginners and very customizable for advanced users.
Easily create your Online Store
Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]
Find out about other recommended resources to help you build and manage your website.
- 9 WordPress plugins to customize your homepage
- 5 critical WordPress plugins to boost your income
- 10 WordPress plugins to manage ads on your blog
- 10 WordPress plugins to create and manage an educational website
Here ! That's it for this article. We hope it helps you fix the error accessing a WordPress dashboard page. Do not hesitate to share with your friends on your favorite social networks.
And if you have any suggestions or remarks, leave them in our section Comments.