Blogging tips


HostMonster (Bluehost sister company) is the first US web hosting that I use. Follow by HostGator and Just Host. HostMonster serves me well for the past 3 years. Past 2 years were great, no major issue. But faced quite some DB server down issue lately and got suspended for high CPU usage last week. Moved out to HostGator and to Just Host and remains at HostMonster.

HostGator vs. HostMonster vs. Just Host ~ all of them are unlimited shared web hosting. Most of the shared web hosting use ‘unlimited’ disk space and bandwidth as the marketing tool. But there is no such thing is unlimited for the cheap price that you pay. Make sure that you read term and conditions fine print…

Both HostMonster and Just Host have 50,000 files backup limit while HostGator offers 100,000 files backup limit. They will not backup any of your files if the backup limit is reached.

We love free stuffs. Both HostMonster and Just Host offer free domain but nothing from HostGator.

Future upgrade? Only HostGator provides VPS and dedicated server packages. So choose wisely else be prepared to have headache when do migration. I asked by HostMonster to move out when it hit high CPU usage limit.

Speed performance? Hard to benchmark unless you have exact website on each of the shared web hosting. But you can have a look with WebPagetest. on HostGator, on Just Host and on HostMonster (for the moment until I move it out to VPS).

Hmm… What else should I cover here? Let me know if you want to know anything extra.

Most of the hosting has discount coupon. Make sure that you search for them on the Internet before you sign up anyone of them.


Thanks to AllGuru.NET. Its WordPress security hardening using .htaccess really helps to reduce lot of spam comments. I added below lines in .htaccess file few weeks back. And my total spam comments were reduced from 10,000++ to 3,000 comments now. If I did not install the scripts, the spam comments will stay at 10K++ level.

# Protect from spam comments
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*DomainName.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

Note – replace DomainName to your own domain name without .com or .net. Eg. RewriteCond %{HTTP_REFERER} !.*spblogger.* [OR]

This method will stop some spam comments from autobots. But can’t stop real human’s spam comments. I don’t mind about human’s spam comment because I have extra page view. And I always count on WordPress Akismet plugin to block them.

via: AllGuru.NET


Internet connection is very important to pro blogger as He makes a living through Internet. If the broadband connection is down, his life is going down hill too. Therefore, I always have a backup broadband connection with me. I signed up a postpaid voice plan just for the unlimited 3G broadband connection early this year as I seldom make calls. Ad-hoc data connection charges are stupidly expensive in Malaysia. I have no choice then…

Luckily, I have the backup 3G data connection with me now. Else I won’t be writing this post. My main broadband connection is down since yesterday. Connection on, off, off, on, off, off… Even get connected, I still got website not found issue. My 3G data connection is not super fast but enough for me to do some surfing and blog update. Too bad that none of the 4G connections are available at my area. Else I can watch online movie now too.

As a conclusion, always have a backup broadband connection. 😉


Based on Google Webmaster Tool ~ Site performance, my blog ~ takes 13.5 seconds to load (updated on Dec 17, 2010). And it is slower than 98% of sites. This is not a good sign because site speed is one of the factor in Google search ranking algorithms. So you will rank lower if your page speed is slow. But the question is how much?

I took 2 web pages to test ~ (CloudFlare Review: Speed Up and Protect Your Blog) and (Download darkstone SuperRAM FroYo Android ROM for HTC HD2). For your information, is using CloudFlare which has Globally-distributed network (CDN) while is hosted at HostMonster with WordPress Super Cache plugin only.

Based on the video above, CloudFlare does not seem to help much in improving blog loading speed. Maybe due to many advertisements and other add-ons. How is your blog loading speed? Check it out with the help of WebPagetest.


I don’t care much about web hosting bandwidth because my blogs are hosted at HostMonster with unlimited bandwidth. The bandwidth counter was not performing properly since March 2010. And it just got fixed middle of the November. I discovered that is using around 6 GB data on daily basis. Wow… That’s a lot for a blog with around 700 visits and 4500 pageviews per day. Someone is stealing lots of bandwidth by displaying PrettyGirl2u’s photos on their sites.

By creating a .htaccess file for hotlink protection, you can stop people from displaying your images and pictures on their sites. Of course, it will stop images from displaying from FeedBurner email subscribers too. Therefore, I disabled it on PrettyGirl2u since it does not make any money for me. So everyone need to login to PrettyGirl2u to see their pretty girls from now on.

How to prevent other sites from displaying your images with .htaccess hotlink protection?
Create a .htaccess file and put these below in there. Change to match your domain name. Copy .htaccess to your domain root level.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)? [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

Or the easy way, use .htaccess for hotlink protection generator here to create .htaccess scripts for you.

Let’s see how much bandwidth I can save by turning on the hotlink protection.