• Home
  • New Entries
  • Popular Entries
  • Submit a Story
  • About

How to Enable Super Cache Wordpress plugin ...


Few days back We talked about WP-Super cache plugin. Wp-Super cache is must have plugin for any wordpress blog on Shared hosting. WP-Super cache plugin is very useful to face the Digg effect.

Digg effect is when any of your blog post hits the Front page of Digg, you will get huge traffic spike. A Normal Shared hosting is not capable of facing such huge traffic, to make them capable of face such situation, you need to install and configure wp—Super cache wordpress plugin. To know more about Digg, you may refer to my previous post on :

Digg : The beginners guide

How to configure Wp –Super cache wordpress plugin?

Just installing and activating Super cache plugin, doesn’t mean that it is enough to take care of huge traffic. When you access super cache under settings you will see something like this >

So to enable the Wp –Super cache plugin

You need to add this line to your .htaccess file

# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
</IfModule>
# END WPSuperCache

You also need to check, /home/origina5/public_html/yourdomain.com/wp-content/cache/.htaccess

has the following entry, if not manually edit it :

# BEGIN supercache
<IfModule mod_mime.c>
  AddEncoding gzip .gz
  AddType text/html .gz
</IfModule>
<IfModule mod_deflate.c>
  SetEnvIfNoCase Request_URI .gz$ no-gzip
</IfModule>
<IfModule mod_headers.c>
  Header set Cache-Control amax-age=300, must-revalidate
</IfModule>
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType text/html A300
</IfModule>
# END supercache

Once you have added the entry in your .htaccess file click on update mod_rewrite rules under settings>Wp super cache

So with two simple steps, you will be making your wordpress blog to face the Digg or stumble effect.

 Original Source:
http://www.shoutmeloud.com/how-to-enable-super-cache-wordpress-plugin.html

AddThis Social Bookmark Button

Posted at 11:32:34 am | Permalink | Posted in WordPress Plugins  

Related Stuff

Google Buzz Button Wordpress Plugin Released

If you are looking for a Google Buzz button to add into your Wordpress site then we have released the first Wordpress plugin exclusively ...

Plug And Play Ecommerce With Wordpress Plugins

Since 2003 Wordpress has slowly been gaining popularity amongst the elite of the internet, the bloggers. It is one of those few things ...

Add Google Search to Your WordPress Blog

The native WordPress search does not return very relevant results, thus it makes a lot of sense to add Google Search into your WordPress ...

Add More Sidebars to Your WordPress Theme

You can add more than one sidebar section to your WordPress site. For example, with the stc-intermountain.org site, I added a whole bunch ...

Series Posting in Wordpress

In my functions.php file, I have some code which implements series posting. This relies on the thematic ...

Top Stuff

Free Blogger templates Anime Themes

Wordpress Guestbook Generator Plugin

48 Unique Ways To Use WordPress

GeekLog

WordPress Single Post Templates

Zookoda



About Webloglines

Webloglines is a project offers a comprehensive collection of blogging services, articles, themes and plugins from around the world. Whether you're looking to promote your own blog or find blogs on various topics, this site is for you.


Search


Topics

  • Adsense (12)
  • Blogging Tips (73)
  • Blogs Slides (25)
  • Blogs Websites (22)
  • Digg (20)
  • How to Blog (129)
  • Search Engines (9)
  • SEO (135)
  • WordPress Plugins (269)
  • WordPress Security (75)
  • Wordpress Themes (99)
  • Wordpress Tips (162)

© 2006 www.webloglines.com. All Rights Reserved. Powered by IRange