How to Speed Up a WordPress Site (Epic Guide)

Loading speed of a site is extremely important and it is also a search engine algorithm component to rank a page

How to Speed Up a WordPress Site
Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Share on email

Do you want to speed up your WordPress site? Well, here is a comprehensive guide about how to improve the loading speed of your site.

Loading speed is very important for every site. Search engines like Google consider page speed as one of the most important components of ranking algorithms.

Google announced the importance of page loading speed for ranking years ago. And now, in a new update, Google mentioned that the Core Vitals are going to be part of the ranking algorithm from 2021.

When you look at the Core Vitals, they revolve around performance on desktop and mobile devices.

So, you simply can’t ignore the loading time of your pages if you want to sustain the ranking of your keywords and keep getting traffic from search engines.

Core-Vitals

Not only for search engines, but you also need to take loading speed as one of your top priorities as it is one of the most important factors for better user experience.

Your users will simply click on the back button and move to the next option if your site doesn’t load instantly.

Research shows that the users expect your page to load within two seconds. Every additional second in the loading time will have a significant impact on conversion.

In this article, we have included all the possible ways to speed up your WordPress site. We have tried to keep it simple and newbie friendly.

Why Speed is Important for Your WordPress Site?

Simple answer, you can’t really rank a page with bad loading speed. If you are managing an eCommerce site, the loading speed will have direct impact on your revenue.

You are sure to lose customers if your site doesn’t load instantly (within 1 second). If you are a blogger, your competitors with great page loading speed will have an edge over your content.

The quality of content is important but speed is equally important. You can’t rank even a great piece of content with very bad loading speed.

Research says, more than 53% of users will abandon your site if it takes more than 3 seconds to load, that’s a significant amount of traffic. Google Study

What is an Ideal Load Time?

When it comes to loading time, every millisecond counts. So, if some changes on your site improve loading time by some milliseconds, you must get that done.

So, you should target to achieve a loading time of below 1 second, that’s probably the new benchmark when it comes to the loading time of a site.

The benchmark will certainly be tightened with time.

Loading speed has a significant impact on the bounce rate of any website. You must work on improving the loading speed of your site if you want your visitors to stick to your site for longer.

How To Test Loading Time of Your Site?

There are a number of tools that you can use to check the loading time of your site.

The most commonly used speed testing tools are

  • Pingdom Tool
  • GTmetrix
  • Google PageSpeed

Any of these tools will give you an idea of the loading speed of your site.

Pingdom Tool

To check the speed of your site using the Pingdom Tool, you can visit the site and place the URL of your site to check the speed. The Tools will analyze your page and show you the result along with what you can improve to make your site load faster.

Pingdom-Speed-Test

Please note: Our site is not yet optimized to the best of its potential. We are still working on it, trying to reduce the number of requests and optimize the images and content on the page.

GTmetrix

GTmetrix is another most widely used website speed testing tools. You can use this tool to check the loading speed of your site.

This tools gives you the PageSpeed and YSlow scores so that you can analyze what are the elements that are slowing down your site.

You can also set a benchmark and compare your site with your top competitor using the compare tool offered by GTmetrix.

gtmetrix

Google PageSpeed

This is really important as it is the tool by Google, and they will consider the standard of this tool for ranking (probably).

Go to the developer PageSpeed test tool and check your site. You can use this tool to check the Core Vitals of your site that we mentioned at the start of the article.

PageSpeed

The Google PageSpeed tool gives you a fair idea about how long your site takes to display the primary content of your site and how long it takes to be fully interactive.

Elements That Slow Down a Site

There are a number of things that you can improve to speed up your site. While some of them are common elements in all sites, there could be site-specific elements that can be improved to speed up a site.

Here are some of the important elements that can have a severe impact on the loading speed of your site.

  • Bad quality hosting
  • Bad configuration
  • Amount of content on a page
  • Bad quality theme
  • Bad quality plugins
  • External scripts
  • Bloated database
  • Number of fonts
  • Hotlinking
  • And more

How To Speed Up Your WordPress Site

Steps you can follow to improve the loading speed of your site.

rocket

01. Get Good Quality Hosting

The hosting you select for your site is one of the most important factors when it comes to the loading speed of your site.

As you move to a better hosting provider, you will see an improvement in loading speed even if you keep all the other factors same.

Now the question is, what is a good hosting option?

Well, there are a number of options to select from depending on the budget you have.

Here are the hosting types that are available

  • Shared hosting
  • VPS hosting
  • Dedicated hosting
  • Fully managed WordPress hosting

Shared Hosting: If you have a relatively low budget, you can go for a shared hosting option.

Bluehost and SiteGround are two of the most popular shared hosting options that you can get.

Both these hosting providers offers you the option to optimize the performance of your site.

Many leading websites and pro bloggers use these hosting services, so they are reliable and secure for your site.

SiteGround hosting is known for its great performance and industry-best customer support. So, if you have a budget of around $6 a month, you don’t have to look for any other hosting option.

Issues With Shared Hosting

The downside of shared hosting is that your site shares the hosting resources of the server with multiple other sites, so the server can easily get packed with a number of sites, and the performance of your site goes down.

In many instances your site might not load properly or show database error, it’s very common with shared hosting.

You can’t expect to take on industry leaders while your site is struggling with the basic need.

So, never go for a non reliable hosting provider. Stick to companies like SiteGround, because they care about their reputation and customers.

VPS Hosting

VPS is slightly better than the shared hosting as you get a certain amount of dedicated resources for your site.

Still, it is limited. You can’t expect to have a top performaing site with millions of visitors on a basic VPS server.

You can get VPS hosting from Bluehost or SiteGround, they have multiple plans that you can select as pet your budget and resource needed.

Dedicated Hosting

In dedicated hosting, you get dedicated server space for your site. This kind of server will have better performance than the shared and VPS server.

Managed Hosting Services

Managed WordPress hosting services are very popular these days. There are a number of top quality cloud hosting providers with fully managed hosting solution.

If your site is on a managed hosting server, you don’t have to worry about any issues related to housing. You also get much better performance than any other hosting type.

If you have a budget of around $30 a month, go for Kinsta. You are sure to get a lightning-fast service for your site.

Kinsta offers Google Cloud hosting service, that means your site will be hosted on Google Cloud server optimized by the Kinsta team.

They will offer you free migration if your site is hosted with some other host at the moment, you will host your site in a highly secured environment, offer you free CDN, 24×7 support and 30 days money back guarantee if you don’t like their services for nay reason.

1.1. Use Latest PHP version

WordPress is primarily coded using PHP. As it is a server side language, the PHP version that your hosting company is offering will have a great impact on the loading speed of your site.

You need to make sure that your hosting provider is using the latest PHP version so that you get the optimum performance.

There are still many WordPress sites running on the older PHP version and you can’t expect a fast loading time on such hosting environment.

Here is a graph for the PHP version for all WordPress based sites.

PHP-Version-WordPress
Source: WordPress

1.2. Use of HTTP2 Protocol

HTTP stands for Hypertext Transfer Protocol. Through HTTP the browser communicates with the server of your site.

As someone tries to visit your site, the browser will send requests to the server for various resources to load.

We will talk about how to reduce the overall number of HTTP requests to increase the loading speed of a site later in the article.

First, let’s understand more about HTTP.

HTTP came to life in 1989. It was updated to HTTP/ 1.1 in 1997 which is still used by many hosting providers.

HTTP/2 was introduced in 2015 with significant improvements.

As we are talking about speed in this article, HTTP/2 is a lot faster than the HTTP/1.1 as it can send more requests than the earlier versions. It reduces latency and increases the loading speed of your site.

So, before you select your hosting provider; you need to check if they support HTTP/2. All the hosting providers we mentioned above supports the HTTP/2 protocol.

If you wish to check if your site is served through HTTP/2 protocol, you can use this site to check it.

HTTP2 Support

02. Use an Optimized Fast Loading Theme

The theme that you use on your WordPress site makes a big difference in loading speed.

You can’t expect a great loading time with a messy free theme.

You must select a top quality, well-coded theme to make sure that your site is safe and loads quaickly.

Whenever you look around for a fast loading theme for WordPress, you will come across a few names such as the Genesis themes, GeneratePress, Astra, MyThemeShop themes.

You will get a number of theme options on the ThemeForest marketplace and other stores that offer unlimited design options, all possible features. But don’t fall for those themes as most of them are bloated that will have a large impact on loading speed.

Let’s take Genesis as the standard. If your site is using any random theme, you will see an instant improvement in the loading time of your site just by changing your theme to Genesis.

Genesis is a framework based design, So, you will need to use the Genesis base Framework and a Child Theme to make it work.

There are big businesses running on Genesis themes.

There are multiple WordPress themes created to work with the Genesis Framework, here are some of the best options.

Essence Pro

Essence-Pro

Essence Pro is a beautiful, elegant design for the blogger with a modern layout. You can use this theme on any niche blog. If you are creating a lifestyle blog, food blog, health, and wellness type of blog, it is a perfect theme for you.

It is a fast loading, Google AMP ready WordPress theme.

Recipe Blogger Theme Package

Recipe-Blogger-Theme-Package

A custom-created theme package for the food bloggers to offer a high-performance design solution.

If you are planning to create a food blog or you are already managing a food blog but not happy with the performance, this is the theme you need.

Astra Theme

Astra-Theme

The Astra theme has become very popular in recent years, this is primarily because it is focused on performance.

The theme is not bloated with unnecessary bells and whistles. It sticks to the core objective to offer a high performing design for WordPress users.

With over a million active users. the Astra theme has proven to be a best solution for bloggers and business sites.

GeneratePress

GeneratePress

Similar to the Astra theme, the GeneratePress theme also acts as a strong foundation for a high performing site.

You can use this theme and build any custom design by using the pro add-ons or any popular website builders such as Elementor.

GeneratePress is bloggers’ favorite theme. It is perfectly optimized for the search engine and fast loading time.

03. Remove Heavy plugins

One of the most important reasons behind the popularity of WordPress is the availability of plugin for almost anything you can think of.

You can quickly install a plugin and add new functionality to your site. But, should you do that?

One of the most important question for the newbie WordPress user is “how many plugins should I install?”

Well, there is no fixed answer for that. It all depends on what you need on your site and the quality of plugins that you install.

A single plugin can have an impact on loading speed that is more than ten other plugins put together.

So, before you install a plugin on your WordPress site, you must check it properly, read discussion around the plugin. And, if any of the plugins deteriorate the performance of your site, you must consider uninstalling the plugin.

A poorly coded plugin can ruin your business. Not only the performance, but it can bring in security concern for your site.

Deactivate Unused Plugins

If there is a plugin that you are not using on your site but it is still installed, you must consider removing it from your site.

Every additional plugin will increase the loading speed of your site to a certain extent. So, don’t keep any unnecessary plugin.

Also, make sure to keep your plugins updated to latest version.

04. Keep Your Site Minimal

A site with a lot of colors, images, shapes, icons, widgets will take longer to load than a simple clean design because all those elements have to be download before your site becomes fully interactive.

A clean design is also good for the user experience. A site with a lot of white space gives users a great experience than a site with multiple colors and tons of widgets.

06. Keep Minimal or No Widgets

Widgets are an integral part of WordPress, so you tend to place widgets in the sidebar, footer or wherever possible.

While some widgets make your site meaningful and high converting, it has an impact on the overall page load time.

So, always try to keep the number of widgets to a minimum. If possible remove them completely so that your page loads quickly and your visitors have a better experience on your site.

07. Remove Non-Performing Banner Ads

Search engines never like a page with a number of ads around it, your users don’t like them too.

Also, the banner ads will have a significant impact on the loading time of the page. So, if a banner ad is not performing, why not get rid of it.

If you are adding some external banner ad widget, every time your page loads, it will have to wait for the external ad code to load. While some ads may load quickly some might take longer.

You should consider hosting them on your own server or removing them altogether.

Also, if you still want to keep the ads, you must consider adding lazy load option so that the ads loads once the important content on your site is loaded.

08. Consider Removing Your Sidebar

Traditionally we see websites adding banners, widgets on the sidebar. Widgets like social media buttons, AdSense ads, other banner ads, email subscription widgets, and other widgets make the sidebar crowded.

It not only deteriorate user experience but it also impacts the load time.

So, you may consider removing the sidebar and keep the page minimal so that your visitors can enjoy your content without any distraction.

As a blogger, we all like it when the users stick to our site for a longer time. And search engines like that too.

If you are able to create a sticky blog and make your visitors keep on your site for a longer time, it will signal the search engine that your content is useful and it will have a positive impact on the ranking.

A traditional method to keep users for a longer time on a site and reduce the bounce rate is by offering them more related content to read.

So, as they finish reading your site, they will more articles to read at the bottom of the post or the sidebar that is generally placed using a related post widgets.

It’s a good practice.

But does it have any impact on the loading speed?

It certainly do.

If you showcase ten related posts with thumbnails, your server will have to download all those images while the page loads.

So, make sure to keep the related posts to minimum. Also, keep them without any image.

Adding related post links manually that are highly relevant to the post the user is reading. It will have better conversion and lower load time.

10. Optimize Images

While the images on your site are very important, it has a remarkable impact on the loading time.

For most of the sites, more than 30% of the overall loading time is because of the images. So, you must take steps to optimize the images so that you can reduce the overall load time.

Non-optimized images are one of the primary reason for high load time for many sites.

If you are a newbie blogger, you are probably not aware how to optimize the images that you use on your blog.

So, how to optimize the images?

Well, the process is simple. Here are a few steps that you can take to optimize the images on your site.

10.1. Use Proper Image Ratio

If you need an image of 800px by 500px, don’t just upload an image from a stock image site that is over 4000px. Make sure to resize the image before you upload it.

You can use the built-in image editor on your system to resize the image. Image editor is available on Mac as well as windows system.

10.2. Use TinyPNG to Optimize The Image

You need to make sure that you oiptimize every single image you upload on you site is optmized by using the TinyPNG optimizer.

It’s a free tool to optimize the PNG and JPG image files. It will take extra few seconds to optimize the images.

You go go to TinyPNG and upload your image to optimize.

TinyPNG-Compress

10.3. Remove Unattached Images

As your blog grows, there will be a number of unused images on your media folder. You should consider removing the unused images regularly.

You can use the Media Cleaner plugin to remove the unused images from your site so that you free up space.

You can also consider doing it manually by going to the media folder. Select Unattached files from the dropdown, click on Bulk Select, now you can select all the media files that you don’t need and delete those.

Remove-Unused-Images

10.4. Use Next Gen Image Format

When you check page speed of any site using the Google PageSpeed tool, one of the most common errors you will find is about the Image Format that you use on your site.

It asks you to use the next generation image formats.

Generally, PNG and JPG are the most commonly used image formats. JPEG 2000, JPEG XR, and WebP are considered as the next-generation image formats.

These image formats offers better compression and use less resource.

There are plugins available that can help you to convert all your images to next generation image formats.

10.5. Use Image Optimization Plugins

There are a number of good quality WordPress plugins to optimize the images on your WordPress site.

Some of the most popular image optimization plugins are.

  • Smush
  • ShortPixel

Though, there are a number of other plugins; the above mentioned plugins are by far the best to optimize images on your site.

Smush

The Smush plugin will optimize, compress, and resize the images without losing the quality of the images. You can start using this plugin for free.

In the pro version of the plugin, you will get the option to convert all the images to the next generation image formats that we skope above.

It will help you to serve the images in WebP format improving the Google PageSpeed score and overall performance of your site.

Smush-Plugin

ShortPixel

ShortPixel is another very popular WordPress plugin to optimize the images. This plugin gives you the option to optimize all the images on your media folder in a single click.

And it will optimize new images as you upload them in to your site. It will resize and compress the images on the fly.

ShortPixel

11. Use a Caching Plugin

WordPress is a dynamic platform. Everytime a user visits your site, the pages and created dynamically that takes time for the process to complete.

Here is why you need a cache plugin so that it creates a copy of the pages after the first visit making it load a lot quicker.

It is highly recommended to use a cache plugin.

There are a number of quality cache plugins such as WP Super Cache which is free to use. W3 Total Cache is another popular option but if you are a newbie, you may find it difficult to set it up properly with some many options.

WP Rocket is another big name when it comes to the cache plugins. It is a premium plugin but simple and easy to use. The settings are not complicated unlike many other competitor plugins and it offers great performance.

Make sure to check with your hosting provider before you install a cache plugin as many hosting companies offer their own cache solution that works best for their server.

For example, if you host your site on SiteGround, they have their own cache plugin. On cloud hosting service like Kinsta, you don’t need a cache plugin because they have their own system to make your site load faster.

Here is the kind of loading speed you can expect on the Kinsta server with their own caching solution.

kinsta-load-times
After Migrating a site to Kinsta Server

12. Use Content Delivery Network (CDN)

Your visitors location and your hosting server location have direct correlation with the loading time of your site.

If your hosting server location is United States and the visitors location is also United States, your site will load instantly for that user.

However, if your server location is Unites States and the users location is India, the site will load a lot slower for that user. This is because the users are far from the location of the server.

So, to resolve this issue and to make sure that your site loads instantly irrespective of the location of the user, you need to use a CDN service.

Now, the question is “What the Heck is a CDN?”

CDN stands for Content Delivery Network. When you use a CDN service the pages of your site are served from a location that is closest to your user.

So, if you user from United States visit your site; your pages will be served from a server location in the United States. And for the Indian user the pages will be served through a server in India.

It will make sure that no matter what the location of the use is, your site will load quickly for every visitor.

Cloudflare is a big name in the CDN industry. If your site is relatively new, you can start using their free plan.

Some hosting providers offer their own CDN service that comes along with your hosting package. So, make sure to check with your hosting provider.

13. Use Asset Optimizer to Speed Up WordPress Site

You can use the Asset Optimizer plugin like Asset CleanUp to speed up your WordPress site. This kind of asset optimizer plugin can help you speed up your site by disabling the resources that are not required to load a particular page.

A WordPress site usees a theme and a number of plugins to make it work properly with all the features that you need on your site.

But, do you need the functionality of every plugin on every site? certainly not.

For example, you don’t need to contact form plugin on the homepage of your site in case you are not showing the content form on the homepage, which is true for most of the sites.

So, the Asset Cleanup plugin will help you to disable the content form plugin or any other plugin that you don’t need for the home page of your site making it load a lot quicker.

When a user land on your homepage, your server will not have to load all those plugins. They will load only on the pages where it is needed.

This process will decrease the number of HTTP requests on page load.

Similarly you can optimize any page on your site.

The Asset Cleanup plugin will also help you to combine and minify CSS and JavaScript files helping your site to load a lot faster.

Please Note: There are a few other plugins to achieve this. You can check all other plugins to make sure the one that works best for your site.

14. Use Page Preloading

Preloading is a very effective technique to make any page load instantly, yet it is not commonly used.

It is a simple technique where the page is already loaded before the user clicks on it making it load lightning fast.

There are quick solutions for WordPress sites to take advantage of this technique.

You can use instant.page script to make your site instantly by prefetching the pages on hover.

The process is very simple, all you have to do it to copy the following code and paste it before </body> on your page.

<script src="//instant.page/5.1.0" type="module" integrity="sha384-by67kQnR+pyfy8yWP4kPO12fHKRLHZPfEsiSXR8u2IKcTdxD805MGUXBzVPnkLHw"></script>

Many WordPress themes give you a quick option to add additional code in the header and footer. If your theme doesn’t have that option, you can use a header and footer code editor plugin, in case you are not comfortable editing your theme files.

This Instant.page code will preload the pages just before the user clicks on it. If a user hovers on a link for 65 ms, it starts loading the page so that the page loads instantly for the users once it is clicked.

Use Flying Pages Plugin

Flying Pages is a plugin that works similar to the code we mentioned above. This is a very simple plugin that will help you to preload your pages just before a user clicks on any link.

It’s a very lightweight plugin that injects a small JavaScript code.

Here is how it works

  • Preload pages in the viewport
  • Preload pages on mouse hover 
  • Limits the number of preloads per second
  • Stops preloading if the server is busy 
  • Understands user’s connection and preferences

This plugin will instantly make your pages load lightening fast for the visitons, you don’t have to do anything extra.

15. Optimize Your Homepage

The homepage of a site is the most important page. It represents your site to a large extent. So, you must consider optimizing your homepage to the best of its potential.

But, How to Optimize the Homepage of Your WordPress Site?

Here are a few tips that you can use to speedup the homepage of your blog.

15.1. Reduce the number of posts that you display on the homepage

Generally, a WordPress blog display the latest posts on the homepage if you don’t set a custom page for the home.

So, you can reduce the number of posts that you display on your site to make it relatively faster.

It display ten latest posts by default, you can make it five or six that will take seller time to load the page.

To reduce the number of posts, you can go to your WordPress admin >> Settings >> Reading.

WordPress Homepage

15.2. Display Expert Instead of Full Post

In the same page, you can set to display the summary of a page instead of the full article to make it load quicker.

Many blogs display the complete article on the homepage which is an old practice. If you display only the summary of the page, it will also help you to increase the number of pageviews on your site as the users will click and go to the blog posts to read it further.

15.3. Minimize the Number of HTTP Requests

Your homepage doesn’t need all the plugins to load that you use on your site. But, if you don’t set a custom rule it will load everything on the site every time a user visit your homepage.

You can use the Asset Optimizer plugin that we discussed above to set custom rules for the homepage of your site to minimize the number of scripts that load on your homepage.

15.4. Minimize the Number of Images, Widgets on Homepage

You must keep your homepage minimal so that it loads quickly. Don’t use any widget, banner ads or any image that doesn’t add any value to your site.

Keep the homepage as clean as possible to make sure that it doesn’t have to load a tons of scripts to display the page.

16. Optimize Your Blog Posts

Most of the visitors will land directly on your blog posts from search engines or social media sites. So, you need to make sure that your blog posts load quickly.

16.1. Keep The Blog Single Pages Minimal

Like we mentioned in the homepage optimization, you need to single blog pages as minimal as possible to make sure that they load quickly.

Reduce the number of widgets and ads on your page. Anything that doesn’t add value to your site needs to be removed.

You can also disable the plugins that are not required to load in the blog pages to further reduce the number of HTTP requests.

16.2. Paginate The Comments

Quality comments add a lot of value to any blog posts. It shows that you have an engaging community around your blog.

The search engines also value that while ranking blog posts. Keeping all other parameters same, a blog post with a number of quality comments ted to rank better than the one with no comments.

But the downside of comments is that it will impact the loading speed of a site.

So, you must split them into pages to make your page load quiclkly.

WordPress gives you a built-in option to split the comments into pages. Go to WordPress admin dashboard >> Settings >> Discussion here you will see an option to break comments into pages.

Break-Comments-into-Pages

17. Use System Fonts

The font that you use on your WordPress site has a big impact on the overall experience of your site.

Not only the design or readability, but it also has a big impact on the loading speed of your site. If you are using Google Fonts, it will slow down your site to a certain extent as the browser has to download it before it becomes visible to the user.

So, it is recommended to download the fonts that you are going to use on your site and host them on your own server to improve the loading time.

You can improve it further by using the system font. If you use system font, the browser will not have to download the fonts before they become visible as it will using the system font of the user.

Many leading websites in the world use the system fonts to improve performance. And it also offers a great reading experience to the users because it uses the same font that the OS they are already using.

Many leading WordPress themes offers the quick built-in option to select the system font in the typography settings, so it should not be a difficult task to get set system font for your site.

Here are some of the commonly used system fonts.

SystemFontFont
Mac OS X/OS X/macOSSan FranciscoHelvetica Neue
WindowsSegoe UIMS Sans Serif
iOSSan FranciscoHelvetica Neue
AndroidDroid SansDroid Serif

18. Disable Hotlinking

Hotlinking is a process when someone uses your image or media file URL and place it on their site and it served through your server.

While it is not legal to do so, it is being practiced widely on the internet. So, you must safeguard your business by taking preventive measures.

Hotlinking will cost you money and it will drain your server resources.

You can use the following code to prevent hotlinking. Add this code in the .htaccess file. I you are not comfortable adding the file or confused, you can take help from your developer or hosting support to add the code.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?example.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yahoo.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ - [F]

19. Optimize Your Database, Remove Revisions

Optimizing the database of your site on a regular interval is important to speed up your WordPress site.

As your site grows in terms of content and age, there will be multiple revisions of your pages that will accumuilate in the database that will have negative effect on your site load time.

There are multiple WordPress plugins available that will help you to remove all the unnecessary junk that is accumulated over a period of time.

You can use the plugin to remove all those revisions and unnecessary compotenets from your database so that it loads after.

And you can uninstall the plugin once you are done and install in back when you need it.

WP-Sweep is one such plugin that you can use to remove revisions and other files from your database and keep it clean.

It can remove the following

  • All unused revisions
  • Deleted / spam / unapproved comments
  • Orphaned meta
  • Optimizes database tables

As the database of your site is the most important component of your business, you must take care of it by cleaning it regularly and keep it optimized as much as possible.

20. Limit Post Revisions

If your WordPress setup is keeping multiple revisions of your posts, you can limit the number of revisions you wish to keep just by adding a single code.

You can put the following code in the wp-config.php file of your site.

define( 'WP_POST_REVISIONS', 3 );

You can change the “3” to any desired number you want to keep.

Final Word

I hope you find this guide helpful. You can go step by step and see if your WordPress site follow all the instructions we have included.

Out of all the steps that we have included, there are a few that every WordPress site must follow before getting on with the site.

Such as

  • Selecting a top-quality hosting provider
  • Selecting a fast loading theme
  • keeping the number of plugins as minimum as possible
  • Optimizing the images
  • Optimizing database at regular intervals

If you have any suggestion that can help to increase the loading speed of a WordPress site; feel free to comment it below.

Also, please help us by sharing this article with your friends who might need help with WordPress optimization.

Thank you for your time.

Join Our Newsletter

Get top WordPress resources & discount offers right in your inbox.

blog

How to Start a WordPress Blog?

A Detailed Step By Step Guide

speed

How to Speed Up a WordPress Site

A Detailed Step By Step Guide

Share This Article

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on LinkedIn

You Might Also Like

Leave a Comment

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