Home » Archive

Articles Archive for October 2008

PHP »

[13 Oct 2008 | No Comment | 355 views]

Guys,
we can access our website with both www.domain.com and domain.com.  But there are times when search engines have already indexed your website under both addresses, that you can’t change that easily. But because these search engines penalizes this due to duplicated content reasons, you have to stick only one domain format.
The solution is to do a 301 redirect for all http requests, here is a htaccess code:
Redirect domain.com to www.domain.com:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.domain.com$
RewriteRule ^(.*)$ http://www.domain.com/$1

Redirect www.domain.com to domain.com:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^domain.com$
RewriteRule ^(.*)$ http://domain.com/$1

Tech Tips »

[5 Oct 2008 | One Comment | 336 views]

Are you a young IT professional, in your 20s, 30s or even early 40s working up to 10-hours daily in front of your computer? You try to eat something at least halfway healthy when you make it to the company canteen. By 5 p.m., you’re sprawled out all over your desk, (hell with ergonomics!), still typing furiously on your workstation wondering if you’ll ever get out the door.
You know in the back of your mind that the long days, heavy workload, poor eating, lack of exercise and awkward posture add …