Simple tutorial, just thought I'd post it here for those who might find it useful and for those who asked. Basically this line of code redirects pages with url links without 'www.' to links WITH 'www.'. For example, if you key in 'kenetix.net' in your browser, it will automatically redirect to 'http://www.kenetix.net'. This is useful for increasing the number of backlinks pointing to one domain instead of two. Since search engines recognize both domains (www and no-www) as two seperate domains, merging both of them to one link would help increase your PR. There are a couple of mod_rewrite methods out there that use .htaccess, this method is for PHP. Pointing links without 'www.' to 'www.' if(!eregi("www.", $_SERVER['HTTP_HOST'])){header("location: http://www.".strtolower($_SERVER['HTTP_HOST'])."");} PHP: Links with 'www.' to no 'www.' if(eregi("www.", $_SERVER['HTTP_HOST'])){header("location: http://".strtolower($_SERVER['HTTP_HOST'])."");} PHP: The strtolower is just to keep all characters in the link lowercase consistently.