How To Speed Up WordPress Site – Step By Step Guide (2018)

How To Speed Up Your WordPress Website


Some time ago, I have published an article containing the list of the best WordPress plugins. Today, you will learn how to speed up your WordPress site so it will be loading much faster. Its Google rank should also be improved that way.

Below, you will find screenshots with GTmetrix scores.

Before starting the process:

How To Speed Up Your WordPress Website - 01

After completion:

How To Speed Up Your WordPress Website - 02


Here, you can see Pingdom results:

California (before speeding up): - Pingdom - California - 01

California (after the process): - Pingdom - California - 02

Sweden (before the start): - Pingdom - Sweden - 01

Sweden (after completion): - Pingdom - Sweden - 02

Texas (before the process): - Pingdom - Texas - 01

Texas (after completion): - Pingdom - Texas - 02

Below, you will find step-by-step guide and you will learn how you can get similar or even better results than I did.


1. Choose the best possible hosting provider


Your hosting company is the first and one of the most important aspects of your website’s speed optimization. Some time ago, I have published an article with the list of the best hosting providers in the world. This list is still up-to-date. I’ve been very satisfied SiteGround‘s customer since I created my first website in June 2016. Here, you can make sure that both my websites are hosted with SiteGroundPolish version, English version.

Now, it’s time to show you some basic statistics about the most popular hosting companies. The first characteristic is loading speed:

SiteGround - loading speed


SiteGround - performance


SiteGround - security


SiteGround - phone support

SiteGround - chat support

SiteGround - ticket support

SiteGround - issues - support

Shared hosting (which is recommended for websites with low and medium traffic) is offered by SiteGround in 3 plans:

SiteGround - shared hosting

GoGeek is the most expensive option and it gives you the most possibilities. I chose that option when I was going to create my first website in June 2016:


GoGeek plan gives you the most powerful account configuration as well as highly valuable feature called Staging (a copy of your live website, which can be used in order to test whatever you want and do the experiments without any risk of destroying your live website). It also gives you more possibilities of using backup function.

You can choose StartUp plan if you want to – it’s much more powerful than similar accounts in other companies. However, you will get the least powerful configuration as it comes to SiteGround accounts and you will be able to host only 1 website on that account! On the other hand, there’s one advantage of that choice – you can upgrade to GrowBig or GoGeek account anytime. 🙂

SiteGround - shared hosting - comparison

StartUp, GrowBig, and GoGeek accounts can handle 10,000, 25,000, and 100,000 visits every month. If your monthly traffic is bigger than 100,000 visitors, you should choose cloud hosting or dedicated hosting. Their monthly fees are much higher than for shared hosting, but having such a big traffic on your website, you will be able to spend so much money. Your website’s loading time will also be improved.

After choosing the best hosting package, you can choose where you want your server to be located. Currently, there are 4 locations to choose from: Chicago, London, Amsterdam, Singapore.

SiteGround - locations 2018

Uptime measured by Uptime Robot amounts to 100% on both my websites.

SiteGround - - uptime

SiteGround - - uptime

WordPress recommends SiteGround as one of the best hosting providers.

SiteGround‘s support is very fast, professional and reliable. You can see my 3 tickets on the screenshots below:




You can also read this article on SiteGround’s blog. Artificial intelligence preventing brute-force attacks is a modern solution, not used by any company before.

After reading this article, pay attention to the comments. Below, you can read a few of them:

SiteGround - comments

SiteGround - comments

SiteGround - comments

* If you need visitors only from your country, you can stay with your previous hosting provider. If you target visitors from all over the world, it is highly recommended to switch to SiteGround.


2. Configure CDN (Cloudflare) in a proper way


Log into your SiteGround account and click My Accounts -> Information & Settings -> Access cPanel -> Cloudflare -> Manage -> Settings. Then you should see a window with Cloudflare settings. Below, there’s a screenshot with optimal configuration.

SiteGround - Cloudflare - settings

After logging into, you will gain much more possibilities of managing Cloudflare settings. The best settings are shown on the screenshots below:

Cloudflare settings

Cloudflare settings

Cloudflare settings

Cloudflare settings

Cloudflare settings

Cloudflare settings

Cloudflare settings

Cloudflare settings

The 1st path is my WordPress login page. If you’d like to change your login path, you should download WPS Hide Login, type in your path, and add it to the Page Rules tab as you can see above.

Cloudflare settings


3. Reduce number of 301/302 redirects


Both my blogs ( and have SSL certificates (green padlock on the left-hand side of your address bar), hence their addresses begin with “https://” instead of “http://”. As you can see below, this blog had two redirects instead of one. - redirects

This issue has been solved by SiteGround support. In order to solve a problem like this one, you should configure Cloudflare as it is shown in point 2 of this article, and add the following lines:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^alivebetter\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R=301,L]

to .htaccess file. In order to edit this file, log into your SiteGround account, click My Accounts -> Information & Settings -> Access cPanel -> File Manager -> Go, go to public_html, click .htaccess file, and click Code Editor -> Edit.

edit .htaccess

Remember to type in your website’s address (in lines 2nd and 4th) instead of mine 🙂


4. Optimize images


Compressing images is a very important factor of speeding up your WordPress website. There are a few popular WordPress plugins for that purpose, such as: EWWW Image Optimizer, Imagify Image Optimizer, Image Optimizer, WP Smush. My favourite plugin for optimizing images is ShortPixel Image Optimizer and I can recommend it to everyone! Most of the photos on this website were optimized online with, then with a WP Smush plugin, and ShortPixel managed to reduce their sizes about 25-30% without any noticeable loss of quality!

ShortPixel statistics 2018


5. Install the best possible WordPress caching plugin


W3 Total Cache is a well-known WordPress caching plugin. However, there are two plugins which can give you better results than W3 Total Cache. One of them is WP Fastest Cache. It is available in two versions – free and paid. Below, you can see optimal WP Fastest Cache configuration.

WP Fastest Cache - settings

The screen above shows settings of free version of WP Fastest Cache. You can also test paid version of this plugin, but you will learn about better solution in a moment. Free version of WP Fastest Cache doesn’t make any huge difference in loading speed tests.

The best choice is a plugin called WP Rocket. The cheapest version ($39) of WP Rocket can be installed on one website only, the most expensive one ($199) is for unlimited number of websites.

WP Rocket - pricing 2018

After choosing the cheapest or medium package, you will be able to upgrade to higher package(s), and you will pay only the difference between your current and the future package.

WP Rocket - upgrade 2018

If you’d like to renew your licence before the end of the first year, you can get even more than 50% discount!

WP Rocket - renewal discount 2018

WP Rocket is the tool which helped me achieve the best results in terms of speed. You can find them at the beginning of this article. Below, you can see WP Rocket optimal configuration:

WP Rocket - settings - Dashboard 2018

WP Rocket - settings - Cache 2018

WP Rocket - settings - File Optimization 01 2018

WP Rocket - settings - File Optimization 02 2018

WP Rocket - settings - File Optimization 03 2018

WP Rocket - settings - Media 2018

WP Rocket - settings - Preload 2018

WP Rocket - settings - Advanced Rules 2018

WP Rocket - settings - Database 01 2018

WP Rocket - settings - Database 02 2018

WP Rocket - settings - CDN 2018

WP Rocket - settings - Add-ons 2018

WP Rocket - settings - Cloudflare 2018

This tool is compatible with almost every theme and plugin.

If something was wrong with your site after installing WP Rocket, you should try to change some of the settings of this tool (especially minifying and caching). If it doesn’t help, you may need to deactivate it – this should bring your website back to the previous state.

WP Rocket is updated regularly and has very good online documentation.

SiteGround and WP Rocket offer 30-days and 14-days money-back guarantee. If you were discontent with their services, you can get your money back in 30 days (or 14 days) since the day of your purchase.

Remember to minimize the number of active plugins on your WordPress installation. If you don’t use any plugin, just deactivate it or even remove it.

Furthermore, remember to update your theme and active plugins as frequently as it is possible. It is also important to update WordPress, but SiteGround will take care about it, and your WordPress will be always up-to-date due to automatic updates which are implemented on all their hosting plans. 🙂

Current scores of my website loading tests can be slightly worse than they were after speeding up since I added Flag Counter script to my sidebar. Anyway, my website is still working much faster than before. 🙂



  1. I spent some time speeding up my website, but this guide is outstanding. 79/83 went up to 95/94. Thank you very much 🙂 I’m really glad I found this blog 🙂

  2. It takes some time, but now I see it’s worth it! Pingdom, GTmetrix, and users’ experience are much better since I went through this guide 🙂

  3. This is really long article, but it works like it’s shown. My page went up from about 60/60 to 99/98. I have seen more interesting articles on this blog. I’m really glad that I found it! 🙂

  4. This article helped me speed up my blog on WordPress. Previously I had gtmetrix results C/C (75/79), now I have A/A (97/99). Thanks a lot! I will recommend your guide to others 🙂

  5. Amazing step-by-step guide. 😀 After this, one of my websites went up from 79/77 to 99/98 and the other one from 83/86 to 97/96 🙂 It works great on all devices – I’ve checked it on 3 smartphones, one tablet, one PC and two Macbooks (each of devices has at least two web browsers).

  6. Loading time of my 5-years old website was going up every year. It has reached about 7 seconds. Thanks to this guide I reduced it to about 1.2 second 🙂 Gtmetrix scores are also outstanding – 99/97 🙂 😀

  7. I have also Bridge theme on my blog and you are right – it’s not so easy to speed it up, but about 90/90 and < 2s loading time is achievable 🙂

  8. This guide has solved all my problems related to load time 🙂 GTmetrix went up from 59/48 to 98/95, loading time is between 1-2 s. Before it was about 5-10 s. It’s really cheap and VERY EFFECTIVE solution! 😀 I can recommend it to everyone 🙂 🙂

  9. If you use lightweight theme, you can achieve really outstanding results with this guide – one of my websites scores in gtmetrix are 99/98 after doing the steps from this article 😀
    My other WordPress site is based on Bridge theme, and I achieved 94/92, which is also really amazing result 🙂
    Loading times of my both websites are about 1s in Pingdom and GTmetrix, so I would definitely recommend this guide to everyone 🙂

  10. I’ve heard about SiteGround, but I’ve never thought that it’s possible to speed up WordPress website with such amazing results. Loading time of my web page has been reduced by 70%. PageSpeed and YSlow on GTmetrix are significantly higher than before. Thank you very much! 🙂 I’m so glad I found this blog and this article 🙂 😀

  11. The best of the best! Using this guide, I managed to speed up my WordPress site from 81/78 to 100/99. Loading time less than 1 second! 😀 😀 I’m totally amazed and excited! 😀 Thanks a lot 🙂

  12. It also works for me. I’m not using Bridge theme, so my site achieved 97/98 in gtmetrix. Loading time is about 1-2 seconds according to any speed test. I’m so happy that I’ve found your website 🙂

  13. Initially I had some issues with Cloudflare and WP Rocket settings but got through it, and now my site has 97 and 96 scores in gtmetrix 🙂 Loading time is shorter by 60% according to prior results 😀 Thank you so much!

  14. Very good and detailed guide. Images help a lot 🙂 It took me only a few hours and my website is now much faster than before!

  15. Wow! It really works and it isn’t so difficult! Thanks to this guide my website loads faster and it went up 3 positions higher in Google search results 😀

  16. It’s a really great guide – loading time of my page is now less than 1 second, GTmetrix scores are equal to 100 and 99 😀 After going through this guide, every load tester shows much better results than before.

  17. I am very happy to be the next person whose website works much better thanks to this blog and this guide 🙂 It’s not so difficult, and it really helps. Thanks a lot!

  18. Many WordPress plugins and themes load all kinds of files from other websites. These files can include scripts, stylesheets, and images from external resources like Google, Facebook, analytics services, and so on.


Please enter your comment!
Please enter your name here