Slow wp-admin in WordPress or WooCommerce, what to check when it lags or won't save

A slow wp-admin, when the site itself opens normally, almost always has its cause in the application and not in the server. Usually a plugin, a database table that has bloated or background jobs that got stuck are to blame, and rarely the plan's resources. Check the PHP settings, the database and the WooCommerce jobs in that order, and then track down the plugin with the X-Ray App.

Before you change anything, keep a copy of the database from cPanel > Databases > phpMyAdmin > Export. Konet also keeps automatic backups in JetBackup 5.

Are the plan's resources to blame?

A slow wp-admin, or "WordPress admin slow" as many people search for it, is rarely solved by a bigger plan. To confirm, open cPanel > Metrics > Resource Usage while the dashboard is slow. If CPU, memory or processes reach the limit, the plan is not enough for the load. If they stay low, a bigger plan will not solve the problem. The delay comes from some slow part of the application.

Step 1, the PHP settings

  1. PHP Selector. PHP must run from cPanel > Software > Select PHP Version. If in MultiPHP Manager the domain has its own PHP version instead of inherit, the site runs with lower limits and without the Selector's extensions. See why we prefer PHP Selector.
  2. Version. Choose the newest PHP version that the theme and plugins accept. An old version such as 7.4 is noticeably slower than current ones.
  3. Extensions. On the Extensions tab tick opcache and redis (or memcached). Then enable object cache in LiteSpeed Cache, as we explain in Redis Object Cache in LiteSpeed Cache. In WooCommerce, object cache makes the biggest difference in the dashboard.
  4. memory_limit and max_input_vars. On the Options tab. For the dashboard, 256M in memory_limit is usually enough, and 512M for a very heavy shop. A higher value does not make it faster. If pages with many fields, such as menus or products with many variations, don't save completely, increase max_input_vars. Also check the site's .htaccess for old php_value lines with lower values, because they take precedence.

Step 2, the database

Open phpMyAdmin, select the site's database and sort the tables by Size. A table much larger than the rest is usually the cause.

  • Plugins that log. Plugins for redirections and 404 pages, for activity logs or for statistics write to the database on every visit. Their table can grow to many times the size of the rest of the site. Turn off or limit logging from the plugin's settings and empty the log from there.
  • Autoloaded options. Go to Tools > Site Health. If you see "Autoloaded options could affect performance", plugins have left a large volume of settings in the wp_options table that loads on every page. In LiteSpeed Cache, Database > Manage > Database Summary shows which are the largest. They often belong to plugins you have already deleted.
  • Transients and cleanup. In LiteSpeed Cache > Database > Manage clean the Expired Transients and, if you like, old Post Revisions. Optimize Tables compacts the tables.
  • Checking tables. In phpMyAdmin tick all tables and from With selected run Check table. If one comes back with an error, run Repair table and then Optimize table. See the phpMyAdmin guide.

Step 3, WooCommerce slow admin and what to check in the shop

  • Order storage (WooCommerce HPOS). In WooCommerce > Settings > Advanced > Features check whether High-Performance Order Storage is selected. New shops have it by default. In an old shop that still keeps orders in the WordPress tables, HPOS speeds up the order list and order search. Make the change only after you have confirmed that all your plugins are compatible.
  • Background jobs (Action Scheduler). In WooCommerce > Status > Scheduled Actions look at the Pending and Failed tabs. Thousands of pending jobs or failed jobs from the same plugin show which plugin is loading the dashboard. You can view WordPress Cron with the WP Crontrol plugin. Uninstall it when you are done.
  • Sessions and transients. WooCommerce > Status > Tools has Expired transients and Clear customer sessions. The second empties visitors' carts, so run it at a time with little traffic.
  • Heartbeat. The WordPress Heartbeat sends regular requests to admin-ajax.php while the dashboard is open. With many open tabs this loads the account. In LiteSpeed Cache > Toolbox > Heartbeat enable Backend Heartbeat Control and raise Backend Heartbeat TTL up to 120 seconds.

Step 4, which plugin is to blame

  1. Open the X-Ray App in cPanel. It is available on all Konet plans. Click Start Tracing and enter the path of the slow page, for example /wp-admin/edit.php. While it runs, open that page a few times. The report shows which plugin, which query or which external call takes the time. See the X-Ray App guide.
  2. If you don't want to affect visitors, install the Health Check & Troubleshooting plugin. Its Troubleshooting mode disables plugins only for your own session.
  3. Deactivate plugins one by one, starting with those X-Ray pointed to, and test after each change. This way you also find a plugin conflict, when two plugins together weigh down the dashboard.

The cache plugin itself can also be the cause, for example with wrong settings or a corrupted cache. For a clean test:

  1. Click Purge All in LiteSpeed Cache.
  2. Deactivate the plugin.
  3. Purge the server cache from cPanel > LiteSpeed Web Cache Manager > Flush LSCache. See the LiteSpeed Web Cache Manager.
  4. If the file wp-content/advanced-cache.php remained after deactivation, delete it from File Manager.

If the dashboard returns to normal, re-enable the plugin and its settings gradually.

Why saving hangs or returns 403

If the save button or Quick Edit spins endlessly, open your browser's developer tools (F12) and look at the Console or Network tab. If you see admin-ajax.php 403 (Forbidden), a security rule rejected the request. If the Console shows JavaScript errors and the editor of the WooCommerce product short description stays blank, it is a plugin conflict.

  • Test with the security plugin temporarily deactivated. If it is to blame, configure it instead of removing it. Konet recommends Wordfence, as long as there is only one security plugin.
  • Check that .htaccess has no rules that block wp-admin or admin-ajax.php.
  • If the 403 continues, the rule is most likely in the server firewall (ModSecurity or Imunify360). Open a ticket from the Client Area with the page, the exact time and your IP, so we can check the server log.

Frequently Asked Questions

The site opens quickly, only wp-admin is slow. Why?
Visitors see pages from the cache. The dashboard is not cached and runs all plugins and queries every time. That is why a slow plugin or a heavy database shows up there first. If the site itself is slow too, also see what to do about a slow WordPress site.

Will a bigger plan fix it?
Only if Resource Usage shows that you reach the limits. Otherwise the problem will remain. See when you need a plan upgrade.

The error_log has become huge, does it matter?
Yes. An error_log that keeps growing means some plugin or the theme produces errors on every page, and that slows things down. See the errors in cPanel > Metrics > Errors or in the file itself. Fix the cause and then delete the file. See how to read errors in cPanel.

Can I delete a large table from phpMyAdmin?
Only if you know which plugin it belongs to and that it holds only logs. Take an Export first. Prefer emptying the log from the plugin's settings.

WordPress scheduled tasks don't run on time.
WordPress Cron runs when someone visits the site. If you have replaced it with a cPanel cron job, the minimum interval on Konet's shared hosting servers is 10 minutes. See cPanel Cron Jobs.

Will you find which plugin is to blame?
Hosting support checks the server and its logs. Fixing the application, the plugins and the theme is the responsibility of the site's administrator. See what hosting support covers.

Was this article helpful?

Related service Konet Web Hosting cPanel, LiteSpeed and automatic backups: 24 every 2 hours for 48 hours, then 6 daily, 4 weekly and 3 monthly.