Christmas Social Media Icon

If you notice the change from MickGenie.com, the social media icon changed day ago.

As mickgenie.com is using self host WordPress and do not wish to use plugin to slow down the site loading time, I am adding the addthis script manually.

I will show the exact step being done.
1. Browse to http://www.addthis.com/gallery.
2. Get the option that you want.
3. I am choosing 64×64 Icons (Aquaticus) for my case.
4. Apply the script trough the WordPress editor.
5. From the style of “The CSS”, you may apply to bottom of the style.css file.
6. For the “The HTML” and “The javascript”, apply it to the single.php just before of the div id=”nav-below”. Remember to use your username from the javascript part.

7. Download the Christmas icon from here.
8. Create a christmas folder from your WordPress apps and upload them.
9. You may modify the script of the “The HTML” suitable to your need such as digg as “addthis_button_digg”, digg.png, Digg wording from the class.

enable HTTP Compression

Many of the website did teach how to check HTTP Compression, what Apache module is needed, but there are less guide on how to make it done.

Today, Mick Genie will guide you how to make it done.

Firstly, you may need to compile your Apache with mod_gzip and mod_deflate (Actually Apache 1.x needed mod_gzip and Apache 2.x needed mod_deflate, hence you may compile both of them).

Once done, modify your httpd.conf and assume it is located in /usr/local/apache/conf. Add the following line to the configuration file.

<Location />
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI  \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
</Location>

Restart the httpd services.

service httpd restart

The above command from httpd.conf will compress all the files except the .gif, .jpe, .jpeg and .png files.