Speed Up WordPress in 9 Easy Steps

Speed Up WordPress in 9 Easy Steps

What’s better than a well-functioning website? One that can offer fast loading times, of course. In this article, we’ll uncover nine easy steps to speed up WordPress website.

Up for the challenge? Then let’s get started!

How to Check Your Website Speed?

There are tons of free speed test tools that can help monitor your website’s speed and performance. Should you need more in-depth reports, most have a premium version that is worth considering.

You can check our tutorial on how to test your website speed performance using GTmetrix. For basic testing and reporting, its free version offers plenty of robust features. You can also buy the GTmetrix PRO to get additional report filtering and graphic features at a starting price of $14.95 per month.

Need a second opinion? Visit our list of top 20 free website speed test tools to get more information.

9 Easy Steps to Speed up WordPress

According to MachMetrics, the ideal load time you should aim for is three seconds or less. If your website takes longer than that, you need to optimize it as soon as possible.

Take a look at these steps on how you can speed up a WordPress site.

1. Updating WordPress and PHP to The Latest Version

The easiest and most basic way to speed up WordPress websites is by updating the CMS core. Updates come out periodically with the latest improvements, which often means faster performance all around.

WordPress provides a hassle-free way to update your website through the admin dashboard — the Updates section, to be exact. In case you don’t have the credentials to access the admin area, this article covers other alternative ways to update WordPress.

Updating your WordPress helps to speed up your website

As for PHP, your site should be running on the 7.4 version by now. You’ll get a significant performance boost just by migrating from PHP 5 to PHP 7 as it provides better memory optimization.

If you want to change your PHP version, you can easily do so using the hPanel. However, we do always encourage adopting the most recent stable version of PHP since it allows you to use the latest features and enhancements.

Changing the PHP version using hPanel

One crucial thing to keep in mind, however, is the lack of backward compatibility of PHP 7.x. This means that you won’t be able to use certain plugins and themes, including the ones that ran perfectly on PHP 5. To check whether your website is currently housing such plugins or themes, you can use the PHP Compatibility Checker WordPress plugin.

2. Removing Unnecessary Plugins and Themes

WordPress makes it so easy for you to expand your site’s functionality by installing plugins and themes. Despite that, having too many of them can slow down your website’s performance.

To solve this issue, you need to remove or at least disable unused plugins and themes. Keep your site clean and tidy by only keeping the ones that contribute to the site functionality. Eliminating clutter will surely speed up your WordPress website.

Be sure to check our guide on how to install and uninstall WordPress plugins.

3. Minifying CSS, HTML, and JavaScript Scripts

Minification is one of the most useful techniques to speed up WordPress websites. It attempts to reduce the size of your front-end files and scripts, such as HTML, CSS, JS, by removing unnecessary file comments and formatting. However, the best part is that this process won’t affect the functionality of your website.

You can use WordPress minifying plugins like Autoptimize and W3 Total Cache to do the work for you. For a more in-depth explanation of the whole process, you can visit our tutorial.

4. Enabling Gzip Compression

By enabling Gzip compression, you can reduce the retrieval time of website data from the server to your visitor’s browser. In other words, your website will load much faster.

There are plenty of free Gzip compression test tools like CleverStat and GiftOfSpeed that can check whether your site has it on. If it’s not, you can either use another WordPress plugin or modify the .htaccess file to enable it. Check out our article for a complete tutorial for both of these methods.

5. Optimizing Images

While we agree that stunning images can increase your content value, they are also one of the biggest culprits of slow websites. Media-rich sites are extremely prone to this particular issue. That’s because high-quality images take longer to load, thus slowing down your overall speed.

There are two ways to reduce the size of images without sacrificing their quality. Use a WordPress image optimization plugin or scale the images. If you want to go with the first method, our guide will help you through the process using the Smush WordPress plugin. Alternatively, you can visit this page to learn more about the image scaling process.

6. Splitting Long Content into Pages

Pagination is another trick to speed up WordPress websites. You can apply this process to the comments section and posts or pages with a lot of content. By splitting them, you can avoid jamming up the site’s bandwidth and overwhelming visitors with a ton of information.

How to Paginate the WordPress Comments Section?

  1. From your WordPress dashboard, navigate to Settings -> Discussion.
  2. In the Discussion Settings page, set the maximum number of comments per page and their order of display.
    Setting the maximum number of comments per page and their order of display
  3. Once you’re done, scroll down and click Save Changes.

Meanwhile, there are two alternative ways to paginate posts — manually or using a WordPress plugin.

How to Paginate WordPress Posts in Gutenberg Block Editor?

  1. Move your cursor to the part you want to split, then hit on the plus icon.
    Paginating a post using the Gutenberg Editor
  2. Search for “Page Break,” then click on it.
    Example of the end result of adding a page break in a WordPress post

If you want to paginate all posts and pages automatically, WordPress has plenty of free plugins that can do the job, such as WP-Paginate and WP-PageNavi. You can easily set a minimum word limit to determine where the pagination should take place and let the plugin do the rest for you.

7. Enabling Caching

Caching is one of the best web optimization techniques to speed up WordPress websites. Caching engines store frequently-used information on the client’s hard disk so that the browser doesn’t have to fetch that information from the server repeatedly.

There are tons of WordPress caching plugins that can help you execute this step.

You can visit our guide on how to enable caching on your WordPress site using one of the best plugins out there – WP Super Cache.

LiteSpeed Cache

One of the best caching plugins out there, LiteSpeed Cache as an easy to use and reliable tool for optimizing your website to the fullest. It offers such features as image optimization, minifying CSS, JavaScript, and HTML, database cleaner and optimizer, and plenty of other great services. Furthermore, here at Hostinger, we use LiteSpeed Cache for all of our projects.

8. Using a CDN

Content Delivery Network (CDN) is a geographically distributed network of data servers. Their main purpose is to help you reduce latency, and thus increase the speed of content delivery.

By enabling CDN on your website, you’re dividing the static content to every data server within the network. Each data request that your web server receives is then transferred to the closest data server to the client’s location.

There are various CDN providers to choose from — Cloudflare, for example. If you’re interested in using Cloudflare, feel free to check our tutorial on how to set it up for your WordPress site.

9. Optimizing Database

As your database is prone to storing useless data like spam comments and old drafts, you need to clean it periodically. Similar to uninstalling unused plugins and themes, deleting this type of data will reduce your database’s workload and the overall load time.

You can easily do this task by installing a WordPress database optimization plugin like WP-Optimize and Advanced Database Cleaner. The plugins will automatically remove unnecessary data from your database, plus compress tables and images at a scheduled time.

Why Does Website Load Speed Matter?

According to Kissmetrics, 40% of visitors abandon a website when the loading process takes longer than three seconds. On mobile devices, the bounce rate even climbs up to 53%, meaning half of your audience will leave the site if it doesn’t load fast enough.

Here are some of the other drawbacks caused by a slow website:

  • Decreases website traffic — since people don’t like waiting, a slow loading site will decrease your overall traffic.
  • Creates a bad first impression — slow loading time indicates that you’re not being serious with managing the site along with the brand it represents.
  • Decreases conversion rate — if you’re managing an ecommerce site, bad user experience can discourage customers from buying your products.
  • Harms search engine ranking — search engines don’t favor websites with slow loading time, so there’s a chance your site won’t be ranking high in SERPs.

If you want to avoid these issues, make sure to take care of your site.


Having a slow website is a fatal mistake that all webmasters must avoid. If you leave this issue unresolved for too long, you’re risking the further growth of your website and your brand.

Let’s recap the simple steps mentioned on this list to speed up WordPress sites:

  1. Update WordPress and PHP to the latest version
  2. Remove unnecessary plugins and themes
  3. Minify CSS, HTML, and JavaScript Scripts
  4. Enable Gzip Compression
  5. Optimize images
  6. Split long content into pages
  7. Enable caching
  8. Use a CDN
  9. Optimize database

We hope this tutorial can help you speed up your WordPress website. Happy tinkering!

The author

Domantas G.

Domantas leads the content and SEO teams forward with fresh ideas and out of the box approaches. Armed with extensive SEO and marketing knowledge, he aims to spread the word of Hostinger to every corner of the world. During his free time, Domantas likes to hone his web development skills and travel to exotic places.