How To Optimize WordPress For Faster loading Time-Proven Tips

0 Flares 0 Flares ×

Website Optimization Speed  plays an important role on the internet. Even Google page rank also depends on Site loading speed. So I made a research on this topic and come out with best techniques and result is My site Softwarebuzzer loads less than 5 seconds. Make your site faster and it gets more visitors to your site. In this article, you can see, how to optimize your WordPress site proven tips by me



  • First step Get a Best website hosting like Hostgator, Since Better web hosting services make your site better performance. And We Recommend Hostgator ,since we didn’t fail any downtime at all .
  • Second step is Removing unwanted plugins in wordpress. Since the more wordpress plugins the more loading time :(, So make a short list of plugins and remove all unwanted plugins.
  • Optimize all images while uploading. Since images having high resolution will takes more time to load at the user end.
  • Adding images to Thumb also should be optimized to size of 150*150 or lesser.
  • Remove unwanted affiliate ads,Scripts on your site . If you want to earn money First satisfy the Blog visitors if they satisfy they will surely buy your affiliate products too.
  • Fourth Step should be Optimizing Database. Database should be optimized every day(if possible) . As a wordpress users we have got a plugin for database optimization use it and optimize the database.
  • Add plugins of Wp-minfy and
  • wp minfy will compress your css, javascript codes. and wp minify plugin will compress and optimize your images 🙂 .

Note: The better the optimization of images, the faster loading time of site 🙂

  • In next step add a Cache plugin for your wordpress plugin. The best the cache plugin the better the performance too. We recommend you to install w3 Total Cache
  • After installing  a cache plugin your site is faster now 🙂 . Now we are making your site still more faster by Using FREE CDN
  • CDN (Content Delivery Network) will catch all your statics files like, images, css, javascripts so that the process of your hosting server will reduce , since the CDN will take care of this process 🙂 We are using SpeedyMirror a CDN which offers 50GB free bandwidth .
  • Singup for the CDN and setup with w3 Total cache. After setting up the CDN , click on Deploy option to start your CDN working.
  • The optimization is not yet over :P. we are at final stage of  optimizing the .httaccess also 🙂 add the code below for .httaccess.
  • So in this we are enabling cache and Gzip and stopping hotlinking by .httacess

Gzip- Compress all your images, css, javascirpt, text, and php files for better performance and faster loading time.

Hotlinking- Its a process of using your images on other websies. this means the images hosted on your site but the resources are used from your server . So we need to stop it by adding some code in .httaccess file .

Code for Cache and Gzip is:

# BEGIN Compress text files

SetOutputFilter DEFLATE

# END Compress text files

# BEGIN Expire headers

ExpiresActive On
ExpiresDefault “access plus 1 seconds”
ExpiresByType image/x-icon “access plus 2592000 seconds”
ExpiresByType image/jpeg “access plus 2592000 seconds”
ExpiresByType image/png “access plus 2592000 seconds”
ExpiresByType image/gif “access plus 2592000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2592000 seconds”
ExpiresByType text/css “access plus 604800 seconds”
ExpiresByType text/javascript “access plus 216000 seconds”
ExpiresByType application/x-javascript “access plus 216000 seconds”
ExpiresByType text/html “access plus 600 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”

# END Expire headers

# BEGIN Cache-Control Headers

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

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

Header set Cache-Control “max-age=216000, private”

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

# END Cache-Control Headers

# BEGIN Turn ETags Off

Header unset ETag

FileETag None
# END Turn ETags Off

# BEGIN Remove Last-Modified Header

Header unset Last-Modified

# END Remove Last-Modified Header

Source code for Hotlink is :
#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?*$ [NC]
#RewriteRule \.(gif|jpg)$ – [F]
RewriteRule \.(gif|jpg)$ [R,L]

Finally your wordpress site is fater than before. If you like this post, keep sharing to your friends .  Be a fan at our facebook fan page and Subscribe to our Rss Feeds

0 Flares Twitter 0 Facebook 0 Google+ 0 0 Flares ×

29 thoughts on “How To Optimize WordPress For Faster loading Time-Proven Tips

  1. U covered everything, good job.

  2. gravtars slow down the site conderably, gravtar caching helps.

  3. Good tips bro. You missed CSS sprites for optimizing images and reducing HTTP request.

  4. Good work, even I use HG but I not much happy with them bcoz I got downtime 4-5 times however they have a very good customer support so let see that make me continue with them.. I have most of these done on my blog.. but httaccess, CDN not done.. And one thing your few plugins and images are not working so I think you need to check.. And thanks for this post.. 🙂

  5. Great tips.I’ll use this on my blog.

  6. Bro, WP-minigy can append files and reduce HTTP requests but gzip is a compression method. Gzip cannot reduce HTTP request or create CSS Sprites.
    I think you didn’t get my point on CSS Sprites, checkout this pic in you should be able to understand what is css sprites by looking into it. You can find those images in different sections on my page.

    Let me know, If you need any help regarding CSS Sprites.

  7. Awesome 😀 My page came down from 1.96 to 0.60 secs 😀 Thanks a lot 🙂 🙂

  8. nice tips bro and you always came up with extraordinary posts and can u tell me how to optimize blogspot?

  9. Awesome post Suresh, I will check the things that you have mentioned. Thanks for sharing

  10. I have WP-SuperCache installed and it does wonders for me.
    Thanks for this post.

  11. Perfect tips…thanks for it, this is the complete package….

  12. great post dude !
    u have mentioned few things i had never bothered or thought of !
    keep rolling such extra-ordinary post ,
    thanks a lot !

  13. iPad App Development says:

    These are all great tips i will implement all these in my website. Thanks friend for sharing this information.

  14. Hi Suresh,

    I have almost finished the above list for my blog long time back, except hostgator and wpminfy. However I am using a cloud server for my blog and w3totalcache help you to minfy and optimize the database. One of the most important thing we have to do is to keep our wordpress updated. I never miss any updates.

    There is lot to learn for me from you you guys it is good to be a part of these awesome community.

    Thanks for Sharing.

  15. Nice article.. will try to use it for my website.. thanks

  16. Great Article which really helped us a lot to spend up a very slow blog

    Regards Geoffrey

  17. This is a great list for WordPress, if you have the ability, adding varnish in front of your webserver (which I would recommend be nginx) and then using APC to cache your PHP will help too, and tie in with the W3 Cache plugin. I’m also now using Cloudflare, which combines CDN like functionality while blocking ‘bad traffic’ (bots and such) from even reaching your servers.

  18. i have to add the gzip and i dont know about the htaccess , so i never tried that . don twat to mess woth blog post!

    i hope you help me when i need the optimization. 😀

    good article !

  19. wonderful tutorial. I have learnt something important from this post bro. I am in need of increasing site speed and reducing CPU Usage.

  20. Hi Suresh. Thanks for sharing this. It’s a very detailed and useful information. I don’t really understand using coding in WordPress.

  21. […] post on WordPress loading speed and optimization and tested. Here is the link of the previous postHow To Optimize WordPress For Faster loading Time-Proven Tipsimprove wordpress speed with ajax paginationIn the previous post we have coveredSetting up CDN […]

  22. Hi Suresh,

    Nice article. I suggest to use Hypercache plugin that improves the loading time to great extent. Simply, remove unwanted images + use Wpminify plugin to optimize CSS, JS codes.


Leave a Reply

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