In this post you will learn why your WordPress website is slow and what you can do to make it fast again. I have explained it step by step, and most of the steps don’t need any coding.
You may have seen, some websites open in just 1 or 2 seconds and some websites take 7 to 8 seconds to load. If your WordPress website is the second one, then visitors will leave before even seeing your content. Google also don’t like slow websites, so it can affect your ranking too.
I have also shared a post on things every business website should have before launch, and website speed is one of them. In this post, we going to see how to find the reason of slow WordPress website, and how to fix it.
The good news is, in most cases you don’t need to make a new website. Some small changes can make a big difference.
Here is basic explanation of how we going to fix it.
When someone opens your website, the server has to send the page, images, CSS and JavaScript files to the visitor’s browser. If the server is slow, or the files are too big, or there are too many files, then the website takes time to load.
So to make it fast, we have to do 3 things. Make the server fast, make the files small, and reduce the extra stuff. That’s all. So lets start.
Important : Before you do anything below, take a full backup of your website. Sometimes after changing a setting or installing a plugin, website can break. With backup, you can restore it easily.
Step 1 : Check how slow your website is.
First, we need to know how slow our website really is. Don’t just guess it. Test it, so after the changes you can compare the result.
Open any of these free tools, paste your website link and check the result.
- Google PageSpeed Insights
- GTmetrix
- WebPageTest
Note down the score and the loading time. Also test it for mobile, because most of the visitors come from mobile.
If you want to know what is a good speed, try to keep your main content loading in under 2.5 seconds (this is called LCP in PageSpeed). If its more than that, then you need to fix something.
I hope you understand.
Step 2 : Check your hosting.
This is the most common reason, so check it first. If you are using very cheap shared hosting, then your website is sharing the server with many other websites. When those websites get busy, your website also becomes slow. It doesn’t matter how many plugins you install, if the server is slow then the website will be slow.
How to check it? In GTmetrix or WebPageTest, look at the TTFB (time to first byte). It means how much time the server is taking to start sending data. If it is more than 800ms, then the server is slow.
What you can do:
- Shift to a better hosting (managed WordPress hosting or cloud hosting).
- Choose a server location near your visitors.
- Ask your hosting support if they have caching and latest PHP version.
I know, its not what many people want to hear, because it costs money. But a good hosting is worth it.
Step 3 : Compress and resize images.
After hosting, images are the biggest reason of a slow website. Many people upload photos directly from their phone or camera. Those images are around 3MB or 5MB each. Now imagine 10 images like this on one page. It’s too heavy.
So before uploading, do these things.
- Resize the image. If your website is 1200px wide, then no need to upload a 4000px image.
- Compress the image using tools like TinyPNG or Squoosh.
- Use webp format instead of png or jpg. It is much smaller in size.
If your website already has many images, you can use a plugin like Smush, ShortPixel or Imagify to compress all of them together.
Also read: Why your business website is not getting any enquiries (and how to fix it).
Step 4 : Install a caching plugin.
By default, WordPress makes the page from scratch every time someone visits it. It runs code, takes data from database and then shows the page. This takes time.
A caching plugin saves a ready made copy of the page. So when next visitor comes, it shows that saved copy directly, no need to make it again. Means website loads much faster.
Some caching plugins you can use:
| Plugin | Free or Paid |
| LiteSpeed Cache | Free (works best on LiteSpeed server) |
| WP Super Cache | Free |
| W3 Total Cache | Free |
| WP Rocket | Paid |
Remember, use only one caching plugin. If you install two or three together, they can conflict with each other and the website can break or become even slower.
After installing, turn on page caching, browser caching and minify CSS and JavaScript. And check your website after that, because sometimes minify can break the design. If that happens, turn off that option.
Step 5 : Remove the plugins you don’t use.
Every plugin adds some code to your website. Some are light and some are very heavy. Many websites have plugins that were installed once for testing, and then forgotten.
So go to Plugins in the dashboard, and delete (not only deactivate) the plugins you are not using.
If you want to know which plugin is making your website slow, install the Query Monitor plugin. It shows which plugin is taking more time and making more database queries. Then you can replace that plugin with a lighter one.
Also never use nulled or pirated plugins and themes. They slow down the website and many times they have malware also.
Step 6 : Use a light theme.
Some themes have so many features, animations and sliders, that they load a lot of extra code, even if you are not using it. That makes the website heavy.
If your theme is the problem, then think about changing it. Some light themes are Astra, GeneratePress and Kadence. They are fast and easy to customize.
And if you are using a page builder like Elementor or Divi, then don’t add too many sections and animations on one page. Keep the design simple.
If you are confused about which platform to use, I have also written a post on WordPress vs custom website, you can read that.
Step 7 : Clean the database and update PHP.
Over time your database gets filled with junk, like old post revisions, spam comments, trash and data of plugins that you already deleted. You can clean it with a plugin like WP-Optimize.
You can also limit the post revisions by adding this line in wp-config.php file.
define( ‘WP_POST_REVISIONS’, 5 );
Here 5 means WordPress will keep only last 5 revisions of a post.
Also check your PHP version in hosting panel. Newer PHP version runs WordPress faster. Just make sure your theme and plugins support it, and take backup first.
Step 8 : Use a CDN.
CDN keeps a copy of your images, CSS and JavaScript files on many servers around the world. When someone opens your website, these files come from the server that is nearest to him, not from your main server.
It is very helpful if your visitors are from different countries. Cloudflare has a free plan, and it is enough for most small websites.
Test again.
Now open PageSpeed Insights or GTmetrix again, and test your website. Compare the new result with the old one that you noted in step 1. You should see a good difference.
If your website is still slow after all of this, then the problem may be something deeper, like bad custom code or server issue. In that case, it is better to take help from a developer.
Also don’t worry about getting a perfect score of 100. If your website feels fast and the main content is loading in under 2.5 seconds, then it’s good.
Quick checklist.
- Speed tested before and after.
- Backup taken.
- Hosting is good.
- Images are compressed.
- One caching plugin is installed.
- Unused plugins deleted.
- Theme is light.
- Database cleaned and PHP updated.
- CDN added.
And that’s it! These are the steps to make your slow WordPress website fast. This may not be the complete list, something may I missed to add in it. If you have any questions or suggestions, please feel free to leave them in the comments section below.