How to Optimize WordPress website Step by Step

(Last Updated On: January 2, 2020)

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 

  1. 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

define( 'WP_MEMORY_LIMIT''512M' );

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 😉 


  1. Aadarsh Roy Reply

    Hey hostkarle blog ,

    Great post with effective steps to optimize the wordpress site. I really like the step that you have suggested.

    Your each of the suggested steps are so crucial, easy to understand and follow, whereas following the steps will be helpful and help several user to optimize their wordpress site.

    Truly helpful post and thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website is using cookies to improve the user-friendliness. You agree by using the website further.

Privacy policy