Have you ever felt uncomfortable when accessing wp-admin page very slowly. In this article we will show you some ways to fix that.
The reasons why wp-admin load slowly
It is difficult to tell you exactly what makes wp-admin load slowly, but here are some of the most common issues we will cover:
- Hosting overload or lack of resources
- Install too many plugins
- Use the old PHP version
- WordPress Heartbeat API
- Database is not optimized
- Low WordPress memory limit
- Download too much content
- Use unnecessary dashboard widgets
How to optimize tran wp-admin
1. Consider upgrading your Hosting
This is probably not the answer you are looking for, but it is one of the most common problems.
Sometimes, your hosting parameters are too low compared to the requirements of the source code. This will result in the wp-admin of WordPress loading slowly.
So - you can try all the other fixes on this list first. But sometimes the only fix is to upgrade hosting / vps to a more suitable package with a higher specification.
Hostvn provided WordPress hosting Use Litespeed and the best SSD hard drive for wordpress
2. Use Query Monitor to detect plugins that are slow
When you first install WordPress and haven't installed any extra plugins, your dashboard can load very quickly. But when you install more plugins, it starts to slow down, doesn't it?
So how can you find plugins that consume too many resources? With a great free plugin called Query Monitor You can do this.
When you install and activate Query Monitor, you can click it new option in your WordPress toolbar to open the plugins interface. Then go to the tab Queries by Component and search for plugins that cause slowdowns:
If you find a slow plugin, consider disabling and deleting it (if possible) or finding a better effective alternative (if you really need that function).
3. Use the latest version of PHP
WordPress is built with PHP, but the exact version of PHP your site is using depends on which version of PHP is installed on your server.
In addition to being more secure, newer PHP versions provide major performance improvements over older versions, which is why the WordPress development team is trying to push WordPress users to update to most recent version of PHP.
For example, in Kinsta's PHP benchmarks, you can see that PHP 7.3 can handle more than triple the number of requests per second that PHP 5.6 can handle:
But even so, most WordPress users are still running PHP 5.6 (or earlier) and you may be one of them!
You can update your PHP website version through your server.
5. Clean up your database (Especially in WooC commercial stores)
Over time, your WordPress database will get lots of information online, in the form of post modifications, temporary, etc. This is especially common with shops that use WooCommerce, where you will have lots of expired customers in your database.
You can safely delete the majority of your spam data without negatively affecting your website.
To do that, you can use the following plugins: WP-Optimize
6. Increase WordPress memory limit
Sometimes, your WordPress admin dashboard is experiencing a bottleneck due to the PHP memory limit of your WordPress site.
In this case, simply increasing the memory limit in your site can sometimes fix the problem.
If your server allows you to increase your PHP memory limit yourself, you can do so by adding this line to the beginning of your wp-config.php file:
define('WP_MEMORY_LIMIT', '256M'); |
If your server does not allow you to manually increase your PHP, contact your server support and ask if they do it for you.
7. Limit the amount of content displayed in wp-admin
Through installation Screen Options, WordPress allows you to control the number of posts, pages, or custom post types to display at a time (including WooC Commerce products, orders, etc.):
8. Disable unnecessary widgets
By default, your WordPress dashboard comes with lots of widgets that you may never use.
For example, on the main dashboard page, you have news and event widgets. Uber makes external calls to download that information, slowing down your dashboard.
To disable unnecessary widgets, you can use the plugin Widget Disable free.
After you install and activate it, go to Appearance → Disable Widgets and remove all widgets you don't use. If other plugins have already added widgets - like WooC Commerce - then you can disable those widgets as well.
Conclude
Through this article we have provided you with a number of measures to be able to speed up your wp-admin. If you have any share, you can leave your comments in the comment section below. Good luck.
According to wp-rocket
0 Comments