How to fix SiteGround’s slow WordPress hosting (no upgrades)

SiteGround PHP 7.4 Announcement

Have a slow WordPress site on SiteGround?

I had this problem too; my GTmetrix scores were near 100% for every blog post I wrote (because I’m obsessed with speed), but my load times could get up to 10+ seconds. I have lots of images and comments on most of my posts, but there was literally nothing else to do in GTmetrix. I finally came to the conclusion that SiteGround’s semi-dedicated GoGeek plan, and even their cloud hosting, wasn’t fast enough (spoiler: I went from SiteGround to Cloudways).

This tutorial covers everything you need to know to achieve better scores + load times in GTmetrix. SiteGround is great for shared hosting, but if you’re running WooCommerce, AdSense, high CPU plugins, or external scripts, I would skip shared hosting all together. Their shared servers often can’t handle the resources it takes, causing a slow WordPress site.

There are better options than SiteGround’s cloud hosting considering Cloudways DO offers the same 2 CPU + 4GB RAM for $42/month (instead of $80/month with SiteGround). My suggestion is to optimize your site as best you can, but keep an eye on server response times which you can measure in Google PageSpeed Insights. If they’re slow, you know the problem.

 

1. Upgrade To PHP 7.4

SiteGround released PHP 7.4 which you can upgrade to in your dashboard.

It’s considerably faster especially if you’re currently running an older PHP version, and it’s one of the easiest ways to speed up your site. It’s a good idea to take a backup, and to make sure your plugins and theme are compatible, though PHP Compatibility Checker is kind of useless.

How To Upgrade To PHP 7.4 On SiteGround

  • Login to your account
  • Click Devs form the left menu
  • Click PHP Manager
  • Click the edit icon
  • Change PHP version and click CONFIRM (screenshot below)

SiteGround Update PHP Version

 

2. Use WP Rocket Instead Of SG Optimizer

Should you use SG Optimizer or WP Rocket? Let’s get this out of the way.

WP Rocket still has more speed optimizations than SG Optimizer (even with SG Optimizer’s big update) which means you will almost definitely see better results with WP Rocket. It lets you do things SG Optimizer doesn’t: host analytics locally, lazy load videos + iframes, replace the iframe with a preview image, clean your database, integration of multiple CDNs, and more.

The main benefit of SG Optimizer is their caching is (suppose to be) faster than any other cache plugin since it users server-side caching rather than file-based caching. However, I have tested both SG Optimizer vs. WP Rocket and have always found myself back at WP Rocket with SG Optimizer uninstalled. Every site is different, so I recommend doing your own tests.

Another option is to use WP Rocket for everything BUT caching. To do this, you would configure the WP Rocket settings to handle everything (but caching). Next, disable WP Rocket’s page caching using their helper plugin. Finally, install SG Optimizer and only use it for caching (but disable everything else to avoid overlapping functionality handled by WP Rocket).

There’s a reason WP Rocket is usually the #1 cache plugin in Facebook polls:

Here’s what SiteGround says, however, I agree to disagree. Again, do your own tests!

SG-Optimizer-vs-Cache-Plugins

 

3. Configure Your Cache Plugin Correctly

Whichever cache plugin you’re using, it’s 110% important that it’s configured optimally. If you’re only using SG Optimizer, you may want to try WP Rocket, WP Fastest Cache, or Swift to take care of ‘other’ optimizations. Remember to avoid duplicate functionality between plugins.

Cache Plugin Configuration Tutorials

 

4. Activate Cloudflare’s CDN In SiteGround

Cloudflare’s CDN now was 200+ data centers (whoa). And it’s still free!

Why any one wouldn’t use it is beyond me, but you can activate it in SiteGround’s dashboard.

Cloudflare SiteGround cPanel

You should still configure the settings in your Cloudflare dashboard. Here are a few tips:

  • Speed: enable Brotli and Rocket Loader
  • Scrape Shield: enable hotlink protection
  • Firewall: block bad bots from Wordfence’s live traffic report
  • Page Rules: Cloudflare has lots of page rules for speed, security, compatibility

 

5. Avoid Hitting SiteGround’s CPU Limits

Your SiteGround plan needs to have enough server resources to accomodate your website’s resource consumption. If it doesn’t, you will you receive CPU notifications from SiteGround threatening to shut down your website, but it’s also a good reason your WordPress site will be slow on SiteGround. That’s because your server is probably overloaded and “stressed out.”

Head to SiteGround’s Features page and scroll down to the “we allocate the resources you need” section. Hover over the Server row and see how many resources come with your plan:

SiteGround Server Resources Comparison

Next, compare this with your CPU consumption (this is a screenshot of their cloud hosting):

Reduce-CPU-Usage-WordPress

If you exceed CPU limits, you will get this email:

SiteGround CPU Limits

Are you close to exceeding CPU limits?

If so, you need a hosting plan that comes with more server resources (CPU limits have been labeled as SiteGround’s biggest downfall). You can upgrade with SiteGround, but if you’re already on their GoGeek plan or cloud hosting, I would definitely not upgrade to anything more. As I’ve said, SiteGround is great to a certain point, but once you outgrow GoGeek or are spending $35/month because of renewal prices, do yourself and favor and move to Cloudways.

 

6. Selectively Disable Plugins On Specific Pages

Let’s talk about Asset CleanUp and Perfmatters.

Both let you selectively disable plugins, scripts, and styles from loading on certain pages. This results in fewer HTTP requests and faster load times since some plugins are infamously slow.

Examples:

  • Disable WooCommerce features on non-eCommerce pages
  • Disable slider plugin on content without sliders
  • Disable rich snippets plugin on content without rich snippets
  • Disable contact form plugin on content without a contact form
  • Disable AdSense or affiliate links where they aren’t being shown
  • Disable social sharing plugin on all pages (since it’s usually for blog posts)
  • Disable WooCommerce scripts, styles, cart fragments on non-eCommerce pages

Step 1: Install the Asset CleanUp or Perfmatters plugin.

Asset CleanUp plugin

Step 2: Edit a page or post and selectively disable unused elements from loading on the page:

Disable WordPress External Scripts

 

7. Optimize Images

Large, unoptimized images can also cause a slow website on SiteGround.

If you see serve scaled image errors in GTmetrix, it means you’re uploading images that are too large and they need to be cropped and/or resized to the correct dimensions (which GTmetrix provides you). You may also see specify image dimension errors which means you need to add a width + height to the image’s HTML. Lastly, if you see optimize images error, you need to losslessly compress them, and the only plugin I found that gets 100% every time is ShortPixel.

Image Optimizations In GTmetrix

 

8. Optimize Google Fonts

If you’re using Google Fonts, check your GTmetrix report for optimization issues:

Google Fonts GTmetrix

There are a number of plugin that can help optimize fonts: OMGF, WP Rocket, Self-Hosted Google Fonts, Autoptimize, even Asset CleanUp. But the ideal method is to host fonts locally.

To do this, download your fonts directly from the Google Fonts website while being minimal with the number of fonts and font weights (since more fonts can also mean more requests).

Next, convert the files to web font files using a tool like Transfonter. Once converted, upload them to your wp-content/uploads folder, and add the fonts to your CSS. Test the font, set a default font with fallbacks, and you’re golden. See my local fonts guide (above) for more info.

 

9. Optimize Third Party Requests

Third party requests are anything that pull requests from outside websites.

This can be Google Fonts, Analytics, AdSense, Tag Manager, Maps, embedded YouTube videos, Gravatars, social share counts, Facebook Pixel, or even plugins that create external requests.

Some third party requests are easy to optimize:

WP Rocket’s Add-on settings let you host Google Analytics locally and enable browser caching for Facebook Pixel. Their Media settings let you lazy load YouTube videos and replace the iframe with a preview image. Disqus has a conditional load plugin for that, and Google Maps + embedded social posts can be taken as a screenshot and used as an image instead of an embed.

Some third party request aren’t so easy:

Google AdSense, Google Tag Manager, and Gravatars are a bit more difficult to optimize. You can load AdSense asyncrounously and trying lazy loading it, but that’s about it. Google Tag Manager should only be used for large, unoptimized websites. And I haven’t found a good solution for Gravatars (I’ve tried nearly every Gravatar cache plugin) and have them disabled.

External Scripts

 

10. Avoid Resource-Hungry Plugins

If you’re running infamously slow plugins, SiteGround’s shared hosting may not be enough.

These plugins are usually portfolios, sliders, live chat, backup, statistics, related posts, social sharing, calendar, or even WooCommerce and WPML. Of course it depends on which plugins you’re using and how well they’re developed with speed in mind. Here are common culprits:

  1. AddThis
  2. AdSense Click Fraud Monitoring
  3. All-In-One Event Calendar
  4. Backup Buddy
  5. Beaver Builder
  6. Better WordPress Google XML Sitemaps
  7. Broken Link checker (use Dr. Link Check)
  8. Constant Contact for WordPress
  9. Contact Form 7
  10. Contextual Related Posts
  11. Digi Auto Links
  12. Disqus Comment System
  13. Divi Builder
  14. Essential Grid
  15. View Full List Of 65 Slow Plugins

 

11. Finish The Last 10% With Perfmatters

There’s a lot of “miscellaneous optimizations” that don’t really fall under the main categories of speed optimization. I’m talking about disabling autosaves, pingbacks, trackbacks, limiting post revisions, DNS prefetch and preconnect, and essentially removing bloat from your site.

The Perfmatters plugin (by Kinsta) takes care of this last 10% of speed optimization:

perfmatters features

 

12. Find Bottlenecks In GTmetrix

GTmetrix can be used for more than measuring scores and load times. It can also used to pinpoint why your website is slow on SiteGround, slow plugins, ttfb, etc. Here are examples:

Time To First Byte

Time To First Byte

Slow Plugins

Slow WordPress Plugin

 

13. Measure Server Response Times

It’s time to find out once and for all if SiteGround’s hosting is your problem.

Run your site through Google PageSpeed Insights and check your server response time which should be under 200ms like Google recommends. If it’s not, you need a more powerful server.

Reduce Server Response Time

 

14. Get Cloud Hosting (Not From SiteGround)

Here’s what happened when I migrated from SiteGround to Cloudways DigitalOcean:

SiteGround-vs-Cloudways-Cloud-Hosting

Even posts with tons of requests load in <2s. Run this page through GTmetrix if you want.

GTmetrix-report-for-long-post

What I was paying with SiteGround:

SiteGround-Cloud-Hosting-Sales-Receipt

What I’m now paying with Cloudways:

Cloudways-Invoice

I don’t think I need to say much more. Just because SiteGround is good for shared hosting doesn’t mean their better or faster than other cloud hosting providers. Keep your options open and join the WordPress Hosting Facebook Group to see what real people are saying.

What other people are saying:

Cloudways Facebook Review

Cloudways vs SiteGround

Bottom line: shared hosting is fine if you’re not running WooCommcerce, AdSense, high CPU plugins, or have decent traffic. But once you have one of those, look into cloud hosting. Yes, I’m an affiliate for Cloudways, but there are plenty of other people who migrated and posted their results. The code OMM25 will give you 25% off the first two months of hosting at Cloudways.

 

Is Your Website Still Slow On SiteGround?

Considering I covered nearly every major factor from the WordPress optimization guide, you should have a much faster site. And if you don’t, chances are you outgrew SiteGround’s StartUp or GrowBig plan, or your cache plugin isn’t configured properly. But if you still have questions, leave me a comment with your GTmetrix report URL and I’ll be glad to take a look.

Cheers,
Tom

span,.wp-review-60319.wp-review-percentage-type .review-list li>span{display:inline-block;position:absolute;z-index:1;top:32px;left:45px;color:#ededed;font-size:14px;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.3);-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wp-review-60319.wp-review-point-type .wpr-user-features-rating .review-list li>span,.wp-review-60319.wp-review-percentage-type .wpr-user-features-rating .review-list li>span{color:inherit;text-shadow:none}.wp-review-60319.wp-review-point-type .wpr-user-features-rating .review-list li .wp-review-input-set+span,.wp-review-60319.wp-review-percentage-type .wpr-user-features-rating .review-list li .wp-review-input-set+span,.wp-review-60319.wp-review-point-type .wpr-user-features-rating .review-list li .wp-review-user-rating:hover+span,.wp-review-60319.wp-review-percentage-type .wpr-user-features-rating .review-list li .wp-review-user-rating:hover+span{color:#fff}.wp-review-60319 .review-list li:nth-child(even){background:#fff}.wp-review-60319 .review-links{padding:30px 30px 20px 30px}.wp-review-60319.review-wrapper .review-result-wrapper i{font-size:18px}#review.wp-review-60319.review-wrapper .review-pros-cons{clear:both;padding:0;border-top:1px solid #fff}#review.wp-review-60319.review-wrapper .review-pros-cons .review-pros,#review.wp-review-60319.review-wrapper .review-pros-cons .review-cons{width:100%;flex:none;padding:0}#review.wp-review-60319.review-wrapper .review-pros-cons .review-pros{background:#2c3fd3;padding:30px 30px 10px 30px;color:#fff;box-sizing:border-box}#review.wp-review-60319.review-wrapper .review-pros-cons .review-cons{background:#5e1d9a;padding:30px 30px 10px 30px;color:#fff;box-sizing:border-box}.wp-review-60319.review-wrapper .mb-5{text-transform:uppercase}.wp-review-60319.review-wrapper .mb-5+p{line-height:26px}.wp-review-60319 .user-review-area{padding:15px 30px;border-top:1px solid}.wp-review-60319 .wp-review-user-rating .review-result-wrapper .review-result{letter-spacing:-2.35px}.wp-review-60319.review-wrapper .review-title{letter-spacing:1px;font-weight:700;padding:15px 30px;background:transparent}.wp-review-60319.review-wrapper .review-total-wrapper{width:40%;margin:0;padding:35px 0;color:#fff;background:#ededed;border-left:1px solid;text-align:center;float:right;clear:none;border-top:1px solid}.wp-review-60319.review-wrapper .review-list{clear:none;width:60%;float:left;border-top:1px solid}.wp-review-60319.review-wrapper .wpr-user-features-rating,.wp-review-60319.review-wrapper .wpr-user-features-rating .review-list{width:100%;clear:both;border-top:1px solid #fff}.wp-review-60319.review-wrapper.wp-review-circle-type .review-total-wrapper{padding:20px 0}.wp-review-60319.review-wrapper.wp-review-circle-type .review-total-wrapper .review-circle.review-total{margin:auto 0;padding-top:10px;width:auto;height:100%;clear:both}.wp-review-60319.review-wrapper.wp-review-circle-type .user-review-area{padding:12px 30px}.wp-review-60319.review-wrapper.wp-review-thumbs-type .review-list{width:100%}.wp-review-60319.review-wrapper .review-result-wrapper{border-radius:25px}.wp-review-60319.review-wrapper .review-percentage .review-result-wrapper,.wp-review-60319.review-wrapper .review-percentage .review-result,.wp-review-60319.review-wrapper .review-point .review-result-wrapper,.wp-review-60319.review-wrapper .review-point .review-result{height:26px;margin-bottom:0;background:#fff;border-radius:25px}.wp-review-60319.review-wrapper li .review-point .review-result{background:#5e1d9a}.wp-review-60319.review-wrapper li:nth-of-type(2n) .review-point .review-result{background:#2c3fd3}.wp-review-60319 .review-total-wrapper .review-point.review-total,.wp-review-60319 .review-total-wrapper .review-percentage.review-total{width:70%;display:inline-block;margin:20px auto 0 auto}.wp-review-60319.review-wrapper .review-total-wrapper .review-total-box{float:left;text-align:center;padding:0;color:#424242;line-height:1.5}.wp-review-60319.review-wrapper .review-total-wrapper .review-total-box h5{margin-top:10px;color:inherit}.wp-review-60319.review-wrapper.wp-review-point-type .review-total-wrapper .review-total-box,.wp-review-60319.review-wrapper.wp-review-percentage-type .review-total-wrapper .review-total-box{width:100%}.wp-review-60319.review-wrapper .review-star.review-total{color:#fff;margin-top:10px}.wp-review-60319.review-wrapper .user-review-title{padding:15px 30px 10px;margin:0;color:inherit;background:#fff;border-top:1px solid;border-bottom:1px solid}.wp-review-60319.review-wrapper .user-total-wrapper .user-review-title{display:inline-block;color:#424242;text-transform:uppercase;letter-spacing:1px;padding:0;border:0;background:transparent;margin-top:3px}#review.wp-review-60319.review-wrapper.wp-review-circle-type .user-total-wrapper h5.user-review-title{margin-top:12px}#review.wp-review-60319.review-wrapper.wp-review-circle-type .user-total-wrapper span.user-review-title{margin-top:8px}.wp-review-60319.review-wrapper .reviewed-item{padding:30px}.wp-review-60319.review-wrapper.wp-review-circle-type .review-total-wrapper>.review-total-box{display:block}.wp-review-60319.review-wrapper.wp-review-circle-type .review-total-wrapper>.review-total-box>div{display:none}#review.wp-review-60319.review-wrapper .user-review-area .review-percentage,#review.wp-review-60319.review-wrapper .user-review-area .review-point{width:20%;float:right;margin-bottom:5px}.wp-review-60319 .review-embed-code{padding:10px 30px}.wp-review-60319.review-wrapper,.wp-review-60319 .review-title,.wp-review-60319 .review-list li,.wp-review-60319 .review-list li:last-child,.wp-review-60319.review-wrapper .review-list,.wp-review-60319 .user-review-area,.wp-review-60319.review-wrapper .review-total-wrapper,.wp-review-60319 .reviewed-item,.wp-review-60319 .review-links,.wp-review-60319 .wpr-user-features-rating,.wp-review-60319.review-wrapper .user-review-title{border-color:#fff}.wp-review-60319 .wpr-rating-accept-btn{background:#5e1d9a;margin:10px 30px;width:-moz-calc(100% – 60px);width:-webkit-calc(100% – 60px);width:-o-calc(100% – 60px);width:calc(100% – 60px);border-radius:50px}@media screen and (max-width:480px){.wp-review-60319.review-wrapper .review-title,.wp-review-60319.review-wrapper .reviewed-item,.wp-review-60319.review-wrapper .review-list li,.wp-review-60319.review-wrapper .review-desc,.wp-review-60319.review-wrapper .user-review-area,.wp-review-60319.review-wrapper .review-embed-code{padding:15px}.wp-review-60319.wp-review-circle-type .review-list li{padding:15px 15px 0 15px}.wp-review-60319.review-wrapper .review-pros-cons>div>div{padding:15px;padding-top:0}.wp-review-60319.review-wrapper .ui-tabs-nav{padding:0 15px}.wp-review-60319.review-wrapper .review-links{padding:15px 15px 5px}.wp-review-60319.review-wrapper .review-list,.wp-review-60319.review-wrapper .review-total-wrapper{width:100%}.wp-review-60319.review-wrapper .review-total-wrapper{padding:10px 0}.wp-review-60319.review-wrapper .review-total-wrapper .review-total-box h5{margin-top:0}.wp-review-60319.review-wrapper .review-total-wrapper .review-total-box div{line-height:1}}]]>

Keep reading the article at Tom Dupuis. The article was originally written by Tom Dupuis on 2020-01-18 19:23:03.

The article was hand-picked and curated for you by the Editorial Team of WP Archives.

Disclosure: Some of the links in this post are "affiliate links." This means if you click on the link and purchase the product, We may receive an affiliate commission.

Leave a Comment

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

Show Your ❤️ Love! Like Us
Scroll to Top