Sunday, November 28, 2010

WordPress Optimization

2:54 AM |

Today i m going to tell you about WordPress Optimization , Nowadays with the Craze of SEO (search Engine Optimization) People also want that their site to be Optimized , Optimization means

improving a system to reduce runtime, bandwidth, memory requirements, or other property of a system

Optimization Results in many Good things , if you optimize your site :

1.The Site Becomes Extremely Fast
2.Most of the Visitors Stay on the Site and Visits more pages then Average because of your Loading speed
3.Site get indexed more nicely , and then the statistics of your site are good then what they are
4.Increases your SEO
5.More Bots and Spiders Crawls your site and Many More

Now lets start WordPress Optimization :

1. Knowing What is the Problem :

First of all we should know why our site is loading Slowly , This Helps us great in Optimization , As nowadays the web pages consist of lots of images , CSS , Java Script and many More Multimedia Stuff which affects bandwidth, so for that we need to keep it optimized .

If you want to keep to Optimize then first of all get this things :

Firefox Browser
Firebug ( An Firefox Addon )
Page Speed ( Addon by Google ) or YSLOW ( Addon by Yahoo )

Now Run Page Speed and Check which all factors make your site load slowly. Page speed gives your site performance rating from 0-100 in that try to get rating around 80.

Try to keep your Page size around 100kb or less.
2. Checking out the Plugins :

Plugins are the functionality which make your wordpress blog go zoom, but their are some plugins that make your blog Load too much slowly as they are not properly Optimized for the performance , So here’s a simple trick to find out which plugin is the one affecting your site

Login to your WordPress Admin Panel
Go To Plugins and disable all of them
Then Enable Plugins one by One until you find the Faulty Plugin

Then Find an alternative to your Faulty plugins and remove the faulty one
3. Changing Faulty Theme :

If you found that their is no problem in your plugins then try verifying about your theme has theme consist of many multimedia things and Java Scripts , CSS and Images they may slow down your site , So to verify change your theme to something else or Default WordPress Theme.

As suggest default wordpress theme Twenty Ten is nice and is mostly optimized for performance. So you can switch to default theme and check if your theme have any problem.
4. Optimize Database :

All the Data of your wordpress blog are stored in Database and every time the website loads it takes the data from the database , for that reason your database should be optimized and repair at least once a month. So to that theirs one plugin by Lester chan.

WP-DBManager is a plugin by Lester Chan that manages your database and you can scheduled your database optimization and Repair.

Other wise you have to use your Phpmyadmin to do Optimization and Repair
5. Using Cache :

Cache is a component that transparently stores data so that future requests for that data can be served faster. The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that are stored elsewhere. If requested data is contained in the cache (cache hit), this request can be served by simply reading the cache, which is comparably faster. Otherwise (cache miss), the data has to be recomputed or fetched from its original storage location, which is comparably slower. Hence, the more requests can be served from the cache the faster the overall system performance is.

You can use some Plugins for cache like W3 Total Cache is Really Rocking nowadays. it will help you a Lots that Guaranteed 100% .
6. Adding Header Expiry :

Expire headers tell the browser how long it should keep the content in cache. Most of the images on your site never change and it is good idea to keep them cached locally.

Add this to .htaccess of your site

<FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|swf)$">
ExpiresActive on
ExpiresDefault "access plus 30 days"
Header unset ETag
FileETag None

Header unset Pragma
FileETag None
Header unset ETag
# 1 YEAR
Header set Cache-Control "public"
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"
Header unset Last-Modified
Header set Cache-Control "max-age=7200, must-revalidate"
Header set Cache-Control "public"
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT"
Header unset Last-Modified
7. Use Multiple Sub domains :

When ever a site loads the browser uses only 2 – 3 parallel downloads per domain . So if you use more domains to download the content of your site like Java Script , CSS , images and etc. you will get more parallel downloads and then your site will load more quicker.

you can do this by using w3 total cache plugins also , In w3 total cache plugin go to CDN (Content Delivery Network) and complete the settings and you will experience a great change
Conclusion :

Experience a Faster wordpress blog that loads with in blink of the eyes , if you work hard on optimization you can make your blog load faster then google and thats possible.

If you like then do share it please and also Subscribe to get more

Leave A Comment