Optimizing Ways To Speed Up WordPress

Optimizing Ways To Speed Up WordPress

seo omtecweb

When a person lands on your site for the first time, you only have a few seconds to capture their attention to prompt them to hold around. If your WordPress site takes too long to load, most people are gone, lost before you even had a chance.

1. Choose a good host

  • When starting out, a shared host might sound like a bargain. It comes at another cost: especially slow site speed and frequent down time during high traffic spans.
  • If you think on publishing popular stuff, you’re killing yourself by running your WordPress site on shared hosting.
  • The stress of your site going down after getting a big feature; don’t be a victim, invest in proper hosting.
  • The one WordPress host we frequently recommend is:
    WP Engine managed WordPress hosting

2 .Start with a solid framework/theme

  • You might be surprised to here this, but the Twenty Nineteen theme is lightweight and quite speedy.
  • That’s because they keep the “guts” simple.
  • From our experience, the fastest loading premium framework is definitely the Focus Theme Framework, especially the new Focus skin. It surpasses the basic WordPress themes by being far easier to customize.
  • It’s an incredibly solid framework that won’t slow you down with excess plugins or custom edits. Make the changes right from the theme and avoid bloat.

3. Use an effective caching plugin

  • WordPress plugins are obviously quite useful, but some of the best fall under the caching category, as they drastically improve page loads time, and all of them on WordPress.org are free and easy to use.
  • Use any other caching plugin,rather than W3 Total Cache, it has all of the features you need and is extremely easy to install and use.
  • Simply just install and activate, and what your page load faster as elements are cached.

4. Use a content delivery network (CDN)

  • All of your favourite big blogs are making use of this, and if you are into online marketing using WordPress you won’t be surprised to here that some of your special blogs like Copyblogger are making use of CDN’s.
  • Essentially, a CDN, or content delivery network, takes all your static files you’ve got on your site and lets outsider download them as fast as possible by serving the files on servers as close to them as possible.

5. Optimize images (automatically)

  • Yahoo! has an image optimizer called Smush.it that will drastically reduce the file size of an image, while not reducing quality.
  • However, if you loved it, doing this to every image would be beyond a pain, and incredibly time consuming.
  • Fortunately, there is an amazing, free plugin called WP-SmushIt which will do this process to all of your images automatically, as you are uploading them. No reason not to install this one. If you prefer to manage this on your desktop, I really like Squash for Mac users.

6. Optimize your homepage to load quickly

  • This isn’t one thing but really a few easy things that you can do to ensure that your homepage loads quickly, which probably is the most important part of your site because people will be landing there the most often.
  • Overall, a clean and focused homepage design will help your page not only look good, but load quicker as well.

7. Optimize your WordPress database

  • We certainly got a lot of use out of the word “optimize”! This can be cover-up using the very tedious, extremely boring manual fashion, or… You can simply use the WP-Optimize plugin.
  • This plugin allow you to do just one simple task: optimize your database to reduce their overhead.
  • One recommendation is of the WP-DB Manager plugin, which can schedule dates for database optimization.

8. Disable hotlinking and leeching of your content

  • Hotlinking is a form of bandwidth “theft.” It occurs when other sites direct link to the images on your site from their articles making your server load increasingly high.
  • This can add up as more and more people “scrape” your posts or your site, and especially image, become more popular, as must do if you create custom images for your site on a regular basis.
  • Place this code in your root .htaccess file:
    disable hotlinking of images with forbidden or custom image option
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?sparringmind.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?

9. Add an expired header to static resources

  • A way to specify a time far enough in the future so that the clients / browsers don’t have to re-fetch any static content such as css file, javascript, images etc.
  • This method can reduce your load time accordingly for your regular users.
  • You need to copy and paste the following code in your root .htaccess file:
    ExpiresActive On
    ExpiresByType image/gif 3251000
    ExpiresByType image/png I3251000
    ExpiresByType image/jpg I3251000
    ExpiresByType image/jpeg I3251000
  • The above numbers are set for a month (in seconds), you can change them as you wish.

10. Adjust Gravatar images

  • This is not an artistic choice, we did it because it improves page loads by simply having nothing where there would normally be an idiotic looking Gravatar logo or some other nonsense.
  • Some blogs go as far to disable them throughout the site, and for everyone.

11. Add LazyLoad to your images

  • LazyLoad is the process of having only only the images above the fold load i.e. only the images visible in the visitor’s browser window , then, when reader scrolls down, the other images begin to load, just before they come into view.
  • This will not only speed you page loads, it can also save bandwidth by loading less data for users who don’t scroll all the way down on your pages.
  • To do this automatically, install the jQuery Image Lazy Load plugin.

12. Control the amount of post revisions stored

  • WordPress, left to its own devices, would store every single one of these drafts, indefinitely.
  • Now, when your work is done and published, why would you need all of those drafts stored?
  • That’s why user must use the Revision Control plugin to make sure they keep post revisions to a minimum, set it to 2 or 3 so you have something to fall back on incase you make a mistake, but not too high that you clutter your back end with unnecessary amounts of drafted posts.

13. Turn off pingbacks and track-backs

  • By default, WordPress interacts with other blogs that are equipped with pingbacks and track-backs.
  • Every time another blog mentions you, it notifies your site, which in turn updates data on the post. Turning this off will not destroy to your site, just the setting that generates a lot of work for your site.

14. Replace PHP with static HTML, when necessary

  • This one is a little bit advanced, but can drastically cut down your load time if you are desperate to include page load speeds, so I included it.

15. Use Cloudflare

  • This is quite similar as of using CDN’s. Also it is free.
  • To put it bluntly, CloudFlare, along with the W3 Total Cache plugin discussed above, are a really potent combination (they integrate with each other) that will greatly improve not only the speed, but the security of your site.