There are lots of bloggers who don’t know how to optimize WordPress. so if your WordPress using all resources 100% like CPU, RAM, etc then follow the below step to reduce them
How to Optimize WordPress website Step by Step
Note:- Do not use apache, Nginx web servers because I personally using Litespeed webserver which is great for WordPress
Step1. Choose your web hosting company which provides LiteSpeed webserver + SSD hosting Based Web Hosting with cPanel
Why Litespeed Web Server + SSD Hosting?
The SSD is used for high-speed performance. SSD uses flash memory to store data, which provides better performance and reliability. This feature offers faster data access, lower power requirements, and high reliability.
We tested HTTP/2 implementations from LiteSpeed Web Server, Nginx, and Apache, to see how they would compare when loading WordPress. LiteSpeed beat Nginx by up to 12X, and blew Apache out of the water by a whopping 84X! The best available WordPress cache plugins were used for each server: LSCache for LiteSpeed, FastCGI Cache for Nginx, and W3 Total Cache for Apache.
Step 2. Optimize WordPress Database with WP-Optimize Plugin
It makes your site fast and efficient. It cleans the database, compresses images and caches pages. Cached sites attract more traffic and users.
Run All Selected Optimization + Go to Cache option and enable cache
Step3. Login to cPanel and enable Compress All Content from Optimize Website Option
Step4. Increase your WordPress memory limit max_execution_time
Kindly check our article about How to increase the WordPress memory limit
- You can increase your WordPress memory limit by putting this line in your WordPress wp-config.php edit your wp-config.php file and put this line at 43 line
Recommended php memory limit for wordpress : 512MB
After finish above all step, your WordPress site will load fast and it will use less CPU and resources
Note:- Kindly upgrade your hosting if your website getting lots of traffic then please use own SSD Dedicated Server With Litespeed Web Server 😉