Learn Digital Marketing Online

9 Awesome WordPress Speed Optimization Tips

11 4,196

We will help to improve website SEO for WordPress speed optimization as well as none WordPress website by increase website speed WordPress plugin speed performance. Naturally, improve website speed performance will ranking to get top in search ranking. We explain to you step by step “how to increase WordPress website speed” performance techniques. Refer to this post secrete of on-page SEO Optimization technique to improve Google ranking. I focus on the Google search algorithms few of them calculate website page load speed.

How to increase WordPress website speed

Before starting, I would like to suggest you do some tests on your current website status. Because it will help you in feature analyzing. I will prefer free test tools “PageSpeed insights Google developer,” or “Ping Dom website speed test tool” first of all test your current website status and take a screenshot.

Image optimization

When you run your WordPress speed optimization test first time, you will notice that your images are taking time to load and their size you will get. Google Pagespeed insight recommendation: By compressing … you could save 4.7 KB (30%) without losses“.

After this first test, you defiantly want to do on-page SEO Optimization For your Website. Try to reduce the image size as much as you can use the minimum weight of images. Also, you have to compromise with quality. Don’t use high-resolution photos or try to reduce the number of high-resolution images maybe 1 or 2 images on a single page.

 

Reduce the HTTP request

SEO Optimization For WordPress Website

When the user starts to browse a site, an HTTP request hits on the server and response display on the browser. This communication between the browser client and host server use request/response for each link file, e.g., image, CSS, JS, etc. If you have more HTTP requests would take more time to the response due to n number of request.

How to reduce the number of requests:

how to increase wordpress website speed

  1. Use inline JavaScript (if it is single line code)
  2. Keep common CSS file or minimum as much as you can (2 to 3 CSS files)
  3. Keep common Js file or minimum as much as you can (2 to 5 Js files)
  4. Avoid using third-party plugins that make a large number of external requests.
  5. Off-Page SEO Techniques

Remove all non-usable requests from your page. Don’t use additional request therefore that doesn’t lead to load time.

Minify CSS and JavaScript

Compress all your CSS and JS files by minifying. That will help to reduce the file size and load much faster than the previous version. These are most beneficial in WordPress speed Optimization.

  • Remove whitespace characters
  • Remove newline characters
  • It also removes comments
  • Remove block delimiters

Tips: When you run a test on Google Speed Insights, You can get your minify CSS, Js, and images from the bottom of the result. If you are using WordPress, you can minify your CSS and JavaScript with the cache plugin.

Critical Path and Render Blocking Resources

When hosted server return response to any request. The client browser receives Js file and blocks other resources until the Js file completely load. And the same process happens with CSS files. This is now as we referred render-blocking resources

  • The best practice to keep all your JavaScript files at the bottom of the page before </body> tag close.
  • Use the async or defer directive to avoid render blocking in js files.
  • Try to use single Js and CSS files or keep minimum data as much as you reduce.
  • Minify all Js and CSS files and try inline if it is a single line code.

Async allows the scripts to be downloads in the background without blocking.

<script async src=”footerscript.js”></script>

You can also use the defer JavaScript. Patrick Sexton has a good example of how to defer the loading of javascript properly.

Avoid 301 redirects to WordPress speed optimization

Redirect a repeat request/response to the same content. It generates an additional round trip time (RTT). Furthermore, It takes double the time to load the initial page.

HTTP 1.1 301 moved permanently header

<link rel=”DNS-prefetch” href=”http//www.example.com”>

Browser Cache

Cache means to copy the website content in browser directory. A browser can save a copy of images, CSS, JavaScript or the full page when user visits for the first time. The next time the user visit on that resource, the browser doesn’t download it again from the server. Because it already downloaded, It serves from the downloaded cache memory. Due to WordPress speed optimization cache site load faster and cache plays a significant role in SEO Optimization For WordPress speed optimization and Performance.

Tips: I will suggest you to use super cache or W3Total Cache Plugin for WordPress website.

# 480 weeks<FilesMatch “.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$”>

Header set Cache-Control “max-age=290304000, public”

</FilesMatch>

 

# 2 DAYS

<FilesMatch “.(xml|txt)$”>

Header set Cache-Control “max-age=172800, public, must-revalidate”

</FilesMatch>

 

# 2 HOURS

<FilesMatch “.(html|htm)$”>

Header set Cache-Control “max-age=7200, must-revalidate”

</FilesMatch>

Hotlink protection code

Also here we explain to you shortly about hotlink protection and where to solve. Hotlink protection will save your bandwidth by prohibiting remote host to display your images. Use this code in your htaccess file. This will also help you to increase WordPress website speed and performance and enhance the user experience as well as your server quality.

RewriteEngine on

RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?yourdomain.com [NC]

RewriteRule .(jpg|jpeg|png|gif)$ – [NC,F,L]

RewriteRule .*.(jpe?g|gif|bmp|png)$ [L]

Enable Gzip compression code

Gzip compression will compress your web page size and reduce up to 60% to 80% less of the total page size. If your hosting provider has mod_gzip module enabled that allows you to quickly and easily compress your files before you send them to the browser clients. This speeds up your site like crazy!. Gzip Enable will boost WordPress speed optimization For Website Speed up Performance.

You can add the following snippet in your .htaccess file to improve website performance

 <ifModule mod_gzip.c>

mod_gzip_on Yes

mod_gzip_dechunk Yes

mod_gzip_item_include file .(html?|txt|css|js|php|pl)$

mod_gzip_item_include handler ^cgi-script$

mod_gzip_item_include mime ^text/.*

mod_gzip_item_include mime ^application/x-javascript.*

mod_gzip_item_exclude mime ^image/.*

mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

</ifModule>

WordPress speed optimization

Conclusion

Finally you can see 9 Easy WordPress Speed Optimization performance techniques to improve website loading time. Hence we have tried to cover best technique of hidden SEO optimization for website. If you have any query to implement or your website not getting speed due to technically. Leave your comments we will analyse and guide to you. Subscribe our newsletter to get latest update in your inbox.

Like this post use full likes it on our social media and share it with others.

Become An Expert in Digital Marketing
Enter your email below to get WordPress, SEO and traffic tips
You can unsubscribe at any time
Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

11 Comments
  1. Abnehmen says

    Hi, i have also created my website just 3 days ago as per your instructions, your articles helped me a lot.
    Thank You.

    1. Ramiz Syed says

      Your most Welcome
      for the next step you can follow the next step to improve search visibility in search engine: 10 Secret Techniques Improve On Page SEO Ranking Immediately

  2. Blossom Smith says

    You are absolutely right ,because using some high resolution image and extra css and javascript plugin our site get more time to browsing.
    So this tips help us to compress our site limit and get extra fast browsing.
    Thanks.

  3. MD Ahetesham says

    Thanks for given such great information at one place.
    i follow your website speed optimization techniques step by step on my website now it’s loading quickly compare to previous test.
    how to improve search engine position quickly?

  4. Shavonne says

    Because the admin of this site is working, no doubt very rapidly it will be well-known, due
    tto its feature contents.

    1. Ramiz Syed says

      Thank you Shavonne

  5. Akash Srivastava says

    Excellent WordPress speed optimization tips, Ramiz!

    1. Ramiz Syed says

      Thank you, Akash Srivastava

  6. Marcco says

    Good post. This helped me also. I explored a lot of plugins which helped me to compress images. Some of the plugins required a lot of configuration, some seem too expensive for me. I chose cheetaho They give every month some free images to optimize. For example, kraken gives only 500 for testing.

    1. Ramiz Syed says

      Thank you

  7. Kids LearningSongs says

    Hii. Very amazing great useful information . Thanks for you sharing.