Blog

21 Easy Ways to Speed Up WordPress in 2024

WordPress is an extremely popular publishing platform which is used to power millions of blogs and websites.

It can be used to create blogs and websites that are rich in features and enables you to publish posts and pages, customise your site with various widgets, themes and bespoke menus and use plug-ins.

Decreasing the loading times of your WordPress site can have a huge impact on conversions and the overall customer experience. Making small changes like the ones below can knock off seconds off the loading time and therefore have a large impact on your conversion rates and search engine rankings (which has been stated by Google).

1. Enable Browser Caching

Caching is a way of storing static files (ones that won’t change) like images, CSS, and JavaScript. By enabling browser caching, you can actually speed up your WordPress website. When you enable browser caching, your database doesn’t have to be communicated with every time someone visits your site.

By doing this, and minimising the retrieval of content from your database, your website’s speed will increase. This will enable a better user experience for your visitors, as well as increasing your page speed (which is a rating factor for SEO).

You can enable browser caching in a variety of ways through WordPress. However, my personal recommendation is to use W3 Total Cache plugin. Simply navigate to the plugins section on your WordPress dashboard.

If you’re using SiteGround then I also recommend activating the SiteGround super cacher.

2. Remove Unnecessary Plugins

It’s quite easy to get carried away when you first install your WordPress site. There are so many plugins to choose from, all boasting great features and tools to simplify managing your site. The problem is, plugins can cause issues, namely slowing down your site. Out of date plugins, conflicting plugins, and useless plugins can clog up your WordPress site.

It’s really important to manage your plugins effectively. This includes deleting plugins that you no longer use, or ones that aren’t actually necessary for your website. It’s going to take a bit of effort on your part here, researching the best plugins for their desired purpose, but I promise you it’s worth it!

When you’re ready, simply navigate to the Plugins section on your WordPress dashboard and locate the area called Installed Plugins. You can view your installed plugins and choose to delete those that you no longer need.

Before you remove plugins make sure to take a backup of your website first. Many web hosting services offer free hosting backups, saving you from needing a plugin to do your own backup.

3. Choose the right WordPress host

Reputable shared web hosting providers such as SiteGround or Hostinger will spend sufficient time on optimising performance, though shared hosting does mean sharing resources with a large number of other people. Busy neighbouring sites can have a significant impact on the whole server and therefore your site. We also suggest that you stay away from any free web hosting services as these often have numerous downtime and site speed issues.

You may well wish to opt for a managed hosting service over a shared one. Opt for a managed service and you’ll be able to benefit from highly-optimised server configurations as well as automatic back-ups, updates and complex but valuable security configurations that will enhance the security of your site. This step is regarded as one of the most effective ways to speed up WordPress.

The hosting of your site is widely agreed to be amongst the most important factors when it comes to loading times. Many providers offering “unlimited” bandwidth are unable to provide impressive loading times, especially during peak hours. Furthermore, the vast majority of these providers can’t guarantee more than 99% uptime per month.

4. Compress your Images

Images are one of the most resource-hungry aspects of a WordPress website. Because they can take up a large amount of space (if not compressed), they can slow your website down. For websites that focus on imagery, like photography or art portfolios, this is a must!

Image compression takes an existing image and compresses it’s size, whilst maintaining an acceptable level of quality. Unless someone is viewing your website on a 60-inch television, they’re probably not going to notice that your images have been compressed.

My favourite image compression plugin for WordPress is called Smush. It’s super easy to download this plugin from the WordPress plugins store and install it to your site. You can configure Smush to automatically compress images when you upload them so you barely have to put any effort in yourself!

5. Update your site regularly

Updating your site regularly is essential. Themes and plugins are refreshed regularly, and if you fail to take advantage of theme and plugin updates, you could become vulnerable to bugs and security issues as well as slow loading times.

Keep on top of the latest updates to avoid performance being affected. Make sure your site, plugins and themes are all updated to the very latest versions.

What’s also good is to update your site with new content regularly. By doing so is looked on very favourably by the likes of Google, who also reward fast-loading sites that offer fast performance with better rankings.

6. Use free tools to optimise WordPress

It’s really easy to get detailed performance statistics and data regarding your website. Making use of these tools (for free) can teach you all there is to know about your site, thus being able to optimise it.

If you have a well-optimised website, your website will load faster and your SEO score will skyrocket. Here’s a list of a few free tools you could be making use of:

7. Take advantage of excerpts

WordPress will keep the entirety of each article on your homepage and your archives unless you instruct it not to. This leads to homepages, categories, archive pages and tags loading slower.

If full articles are shown, visitors may not decide to visit the page in question, which means pageview numbers can be negatively affected.

By using excerpts, you can convince users to click through to view full pages and spend more time on your site. The Settings menu enables you to show summaries to your visitors rather than the full text.

8. Break comments into pages

Although it’s always great to see vast numbers of visitors commenting on your articles and joining the discussion, loading comments can also take time.

The Discussion part of the Settings menu offers a Break Comments into Pages option that will help you avoid this problem and enable you to avoid slow loading times likely to send guests away.

9. Content Delivery Networks

A Content Delivery Network or CDN will help you speed up loading times for visitors no matter where they are. Without a CDN, users in the country where your server is based will experience faster loading times than visitors located elsewhere.

CDNs consist of servers from across the world, with all servers storing static files like images, JavaScript and CSS that make up your site. Using a CDN means users will be served files from the server nearest to them, whilst your own web hosting server will perform quicker because of the reduced pressure on it.

Most well-known and well-read WordPress blogs are now making use of CDNs in order to cater for visitors across the world effectively. The Max CDN Content Delivery Network has a great online reputation and has been complimented for its intuitive dashboard and generous pricing structure. Furthermore, it comes with video tutorials designed to make the setting-up process smoother and quicker.

10. Avoid uploading videos directly to WordPress

Uploading your videos directly to WordPress can also vastly reduce loading times. What’s also worrying about this is that hosting videos directly can be very expensive in terms on bandwidth, and you could be faced with a big bill from your hosting provider, who may even decide to close your site.

Even if you’re paying for so-called unlimited bandwidth, you may still be met with tough penalties. Hosting videos will also make backup sizes swell and make the restoration process much more difficult.

However, help is at hand. You can instead embed videos that you have uploaded to services like YouTube who do have the bandwidth. Just cut and paste the URL into the post and it will be embedded seamlessly, helping you avoid slow load times and penalisation.

11. Choose a speedy theme

Though scores of great WordPress themes are available, it’s important to consider speed when selecting one. Some of the most visually-impressive themes have bad coding and can have an adverse effect on load times.

Try to strike a happy balance between performance and visual quality when selecting a theme. You may need to experiment with a number of themes before you reach the best compromise.

Many WordPress site owners opt for a simple theme and select a number of high-performance plugins to get the right visual feel and efficiency. Some of the most reputable theme shops include StudioPress and Array Themes and are great channels for obtaining impressive themes that won’t result in snail-like loading times.

12. Faster slider plugins

Sliders are particularly popular amongst WordPress users but do have a tendency to lengthen loading times. What’s more is that they can even undermine your attempts at speeding up your site, such as choosing optimised images.

It’s wise to spend time online researching the best slider plugins for your needs. Nivo Slider, Soliliquy and Meteor all have a great reputation amongst leading WordPress experts and veterans.

13. Faster gallery plugins

Do you need to display a large number of photographs? As we have already mentioned, photographs that haven’t been optimised can lead to poor loading times. Many professional photographers using WordPress opt for speedy gallery plugs ins that have been designed for speedy loads.

There are many reliable and fast gallery plugins on the market – some of the most reputable and acclaimed include Envira Gallery, NextGEN and Foo Gallery.

14. Splitting longer posts into pages

There are many great reasons for adding detailed, lengthy posts to your WordPress site. A long post can provide your readers with detailed analysis and facts about complex topics and really establish yourself as a leading player in your field.

They can also be fantastic for SEO. However, if you do post extensive information supported by a string of images, loading times can be impacted.

One way to get around this is to separate your longer posts into pages. Splitting posts into sections isn’t complex – you simply need to use the <!––nextpage––> tag when you wish to end one section and begin another. Long posts don’t need to have an unwanted effect on loading times.

15. Prevent pingbacks and trackbacks

Pingbacks and trackbacks tell you whenever your site receives a link, but they can put your server resources under pressure. What’s more, there are other resources you can use to assess links of your site, such as Google Webmaster Tools. The pressure on your server comes from the way requests from WordPress are sent back and forth when link-ups are made.

Additionally, hackers and other cybercriminals can exploit pingbacks and trackbacks in DDoS attacks. You can switch off this functionality in the Discussion area of Settings. Simply deselect “Allow link notifications from other blogs (pingbacks and trackbacks)” to disable pingbacks and trackbacks.

WordPress is designed to interact with other blogs equipped with trackbacks and pingbacks. When you are mentioned on another site or blog, data on your own post is updated. Don’t worry about backlinks being lost if you disable trackbacks and pingbacks – you’ll only be losing clutter on your site by taking this step.

16. Cut down external HTTP requests

Though it is helpful to use some files from other sites, overdoing things can also impact load times. A large number of plugins and themes load files from other sites, with much making use of scripts, images and more from the likes of Google and Facebook. However, if your plugins make a large number of requests, chances are that loading times will be affected. You can get around this by disabling some scripts and styles.

Alternatively, you may wish to merge them into a single file. This task may seem more complex than many of the other tips and tricks we’ve discussed in this article, but making these changes and gaining a rich understanding of what you need to do to reduce HTTP requests can be worth its weight in gold. There are many tutorials online that will show you how to cut down HTTP requests and disable JavaScript and CSS files from plugins to boost loading times and bring your visitors a smoother and faster site experience.

The process of minification won’t lead to unwanted results but will eliminate unnecessary characters from HTML, JavaScript and CSS files. Minification reduces load times and boosts performance by removing redundant code and unnecessary characters. Various studies have shown how minification makes a significant difference to the performance of WordPress sites. You can also speed up WordPress by minimising page size and reducing the number of calls to JavaScript and CSS.

17. Use GZIP compression

Many computers owners choose to compress files on their computers in order to save disc space after looking for ways to speed up WordPress. The equivalent of this for WordPress users is GZIP compression, which cuts down bandwidth usage and reduces the time it takes for users to access your site. It means the browser unzips your site before they enter it. There are many plugins available that will enable you to compress your files, though you can also add the code below to your .htaccess file.

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

18. Reducing database calls

Again, this step may seem somewhat complex but you can expect your efforts to pay off if you invest time in understanding what you need to do to reduce database calls.

You will need to gain some understanding of PHP and the template files of WordPress to perform this step. Unnecessary direct database calls and requests can put too much pressure on your server and can result from badly-coded WordPress themes. Even themes that are otherwise coded impressively may make database calls just to get simple information.

The tag <?php marks the beginning of a new database call. If you’re using a child theme to customise your site, the calls can be deleted and replaced with specific information. You can also replace them with static information when using a parent theme.

19. Remove unnecessary information from your WordPress database

Once you have been using WordPress for some time, you will probably come across a significant amount of unnecessary information.

The WP-Sweep plugin can be used to eliminate much of this and will get rid of unused tags, trashed posts and much more, giving your database a much-needed and valuable spring clean. Furthermore, you can optimise the entire structure of your database with just one click.

20. Cut back post revisions

Post revisions can fill up a great deal of your database, and some experts suggest that they might have a negative impact on plugin database queries. Plugins that don’t exclude revisions could search through revisions when they don’t need to.

However, it’s relatively easy to limit the amount of revisions kept for every article. You can achieve this by adding the code define( ‘WP_POST_REVISIONS’, 4 ); to your wp-config.php file, which will result in only the last four revisions being kept and older revisions being discarded.

If you’d prefer to use a plugin for post revisions, options are available. A plugin called Revision Control enables you to revert to previous versions if mistakes are made and enable you to decide how many revisions you wish to save so your backend isn’t clogged up with scores of old drafts that you no longer require.

21. Stopping hotlinking and leeching of your content

The higher the quality of your content is, the bigger the chances of someone else using it without your permission become. When other site owners choose to serve your images from their URLs on your site rather than uploading them to your servers, they are using your bandwidth, without you even being able to enjoy extra traffic as compensation. Add the code below to your .htaccess file to stop others hotlinking your images.

#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?ukwebhostreview.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

You may also be negatively impacted by content scraping websites, which take content from your RSS feed to create their own posts. Fortunately, there are many tutorials online which will help you prevent content scraping from your WordPress site.

Jann Chambers

Recent Posts

How to Build a Non Profit Website

No matter what type of non-profit you run, it is important to have an online…

2 years ago

What Are Subdomains?

Although the name might not suggest it, subdomains are actually part of your main domain…

3 years ago

Why Your Website Needs HTTPS

If you've ever used the internet (which I'm assuming you have), typed in a URL,…

3 years ago