When talking about website speed, a lot of publishers – WordPress user or not – will argue that it is indeed an important factor that has to be sustained consistently for the reason that it can directly impact the users experience. Its effect is so huge that in fact, 40% of internet users said that they will abandon a website that takes more than 3 seconds to load.
In today’s world where the attention span of people is getting shorter, it is imperative for all website owners to understand the value of speed as a key factor in overall user experience and therefore an important signal to rank well in search engine results pages.
Check the items below as we’ve gathered up some of the tricks and methods you need to speed up WordPress and help your website load at lightning speed.
1. Test Your Current Website Speed
Before you can optimize your website speed you need to know your starting point. This means you’ll need to measure your website’s initial speed. Here are a few of the best free online tools that can help you determine which parts of your website may be causing bottlenecks:
- Google PageSpeed Insights: Copy & paste your website URL to see what areas you can tune up to improve your page speed on desktop and mobile devices (such as optimizing images, fixing broken links, etc).
- Pingdom Website Speed Test: Evaluates all of your web page parts and provides a performance outline complete with a rating and recommendations.
- GTmetrix: Evaluates your website by giving you both a PageSpeed and YSlow score, informing you of page loading time, page size, and the number of requests made, as well as solutions for making your website better.
2. Choose A Good Hosting Provider
If you’re running an e-commerce website or your website uses a lot of different content such as videos or infographics, then make it a priority to find a reliable hosting provider. If you’re really serious about your website, you’ll probably want to ditch you free or shared hosting services and opt for quality managed WordPress hosting instead. We use and love WP Engine and can’t recommend them enough. Their fully managed hosting platforms means you can worry less about your server and more about your content.
But if that’s more than you need there are plenty of shared hosting options to choose from that are affordable and more viable if you’re just starting out. Then if the need arises, you can scale up your plan for more bandwidth allocations or other hosting perks that come with larger plans. For shared hosting we like Bluehost since they offer a bunch of great perks for new bloggers, but we also love Cloudways if you’re looking for an easy cloud hosting option.
When choosing a hosting provider there are sure to be a few key factors you’ll want to consider. Depending on your own individual needs these might include:
- Price (often the #1 consideration for new bloggers)
- Free domain name
- SSL support
- Website migration
- Fully managed
- Technical specifications
- Daily website backups
- Chat, email or phone support
- FTP/SFTP access
- Overall ratings/reviews
3. Choose an Awesome WordPress Theme
There are a lot of visually stunning themes available for you to pick nowadays. However, the looks do not necessarily equate to performance, especially if the theme is poorly coded. Even a simple blogging theme could slow down your website if the developer didn’t know what they were doing. Your best bet is to choose a theme with great speed test scores.
We of course recommend our Total WordPress theme. Hand built right here at WPExplorer, it’s not only full of great features it’s also incredibly fast. Just take a look at this guide by Kinsta on how to optimize the Total WordPress theme for speed! But if you want to test another theme (or even test Total for yourself) just use the speed tests we linked to above to test the theme demos.
4. Avoid Cluttering Your Site with Unnecessary Plugins
If you’re wondering if too many plugins can slow down your WordPress website’s performance, the answer is maybe. This really if going to depend on the size of your plugins, if they’re compatible with one another, if there’s overlapping functionality and most importantly if they’re well coded plugins (just like themes, even if you’re installing a simple plugin for social links it can stall your site if it’s poorly coded).
Although one of the key differentiators that separates WordPress from other platforms is its wide array of plugins, it doesn’t necessarily mean that you have to install all the plugins that you see. Try to only install plugins that you need, be sure to delete plugins you’re no longer using (no sense in being a plugin hoarder) and remember to update your plugins to keep them in tip top shape.
When choosing plugins, remember to focus on quality rather than quantity. Here are some tips for managing plugins:
- Test your website’s speed (and run a website backup to be safe) before and after installing a new plugin
- Use a plugin performance profiler (we like the P3 Plugin Performance Profiler and Query Monitor)
- Opt for plugins with multiple functions (like Jetpack – WordPress’ star all-in-one plugin)
5. Enable WordPress Caching
One of the surest ways to speed up your website is by setting up caching (even WordPress says so in the Codex). It can significantly boost the loading speed of your website even when you’re using a shared hosting service. It works by displaying a static copy of your website rather than executing PHP and making database calls for every visit – saving you a ton of bandwidth in the process.
WordPress is using this process in multiple places of its internal functioning. However, you can enhance the level of caching of other WordPress processes by installing cache plugins like W3 Total Cache or WP Super Cache.
6. Use a CDN
Besides speeding up the delivery of your content to your visitors, another of the benefits of using a CDN with WordPress is that it minimizes your latency since it reduces the distance between the server and the endpoint machine (compared to shared hosting or managed hosting services which only utilizes one server). A website latency test conducted by KeyCDN showed that a website using a CDN can experience a 73% decrease in latency instantly. Some of the best free CDN providers include CloudFlare, Jetpack’s Photon and CDN77 (which has a 14-day free trial)
7. Upgrade Your PHP Version
For beginners, PHP is a scripting language to create dynamic interactive websites like WordPress. WordPress relies on PHP to execute its code to generate web pages. The version of PHP has a tremendous impact on your WordPress website’s performance. In fact, a benchmark performed by Kinsta Managed Hosting showed that PHP 7 is almost 2x faster than its previous version.
Upgrading, however, may or may not be your choice. Check with your hosting provider to see if your server has been upgraded yet or to find out the timeline for upgrading. Some old functions may no longer be supported, so make sure to throughly test your website (theme & plugins included) after upgrading.
8. Optimize Images
You can also reduce the loading time of your website by optimizing your images. When uploading an image to your WordPress website, you can choose to compress or save it as a progressive JPG. Other ways to optimize your images are as follows:
- Resize and crop images before uploading using basic photo editing software
- Compress and optimize images before uploading with Kraken.io (an easy and free optimizer)
- Shrink uploaded images through image optimization plugins such as WP Smush, WP Smush Pro (our favorite) or the Ewww Image Optimizer
- Disable image hotlinking (or at least take steps to prevent hotlinking)
- Define image sizes within your WordPress theme
- Defer image loading until needed with a lazy loading WordPress plugin
9. Clean Out Your Database and Limit Post Revisions
After you’ve enjoyed using your WordPress website for a while, your database will contain unused, orphaned and duplicated data which you don’t need so your should take a minute to optimize your WordPress database. Removing this data can reduce the size of your database, making the backup process significantly faster and more importantly it will improve the overall performance of your website.
Post revisions also take up space within your database, so it’s a good idea to limit the number of drafts stored to a minimum of 2 or 3 to serve as your backup copies. Simply add this line of code to your wp-config.php file:
define( 'WP_POST_REVISIONS', 3 );
Or to make your life easier you can use a plugin. One popular option is WP Optimize, which which includes easy options for cleaning up your posts, comments, trackbacks, metadata and more.
10. Disable Pingbacks and Trackbacks
WordPress, by default, sends and receives pings and trackbacks from and to other websites. This happens when other sites mention your website, which in turn notifies you and upon approval updates the data in your post. This can cause irrelevant links to be added to your site, which can cause confusion to your visitors and it also affects your websites performance.
To disable notifications on pingbacks and trackbacks on your WordPress website, login to the dashboard, then go to Settings > Discussion and uncheck the ‘Allow link notifications from other blogs (pingbacks and trackbacks)’ option.
Having a strong footing on your website’s speed will give your website a substantial boost not only to search engines but to your audience and customer’s experience as well. Although having a speed-optimized website is not everything, it can help you a lot in driving more traffic to your website, and it can increase the number of satisfied users who might eventually turn into quality leads and sales.
Want to keep reading up on tips to speed up your WordPress website? Checkout this visual guide by WP Shrug on how to speed up your WordPress website which you can view and download from their blog.
And as always, feel free to ask any questions you might have or add your own WordPress speed tips in the comments below!