Archive for March 30th, 2007


Mar

30

The no-www movement

Starting today I am no longer going to use the www. on my domain name. There are a few reasons I have come to this conclusion. In my opinion my domain is josephcrawford.com the www. is just a sub-domain of my domain. The www. in a domain name was just an abbreviation for ‘world wide web’ and well who calls it that anymore it’s called the internet :D

I think everyone should follow the no-www.org movement and make your www sub-domain redirect to the real domain name. You can accomplish this by adding the following lines to an htaccess in your root directory.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

Please note that I have not figured out a way to make this work by adding it to the apache configuration file, however it will work in an htaccess file. Please take a few moments and join the no-www.org movement with me.

I meant to include this but for some reason added the trackback and failed to mention it here ;( This code was found on this site and I am very thankfull for the mod_rewrite code ;)

Development, Entertainment, Internet, News, Raves.


Technology Blogs - Blog Top Sites Add to Technorati Favorites Page Rank Tool NYPHP Users Group View Joseph Crawford's profile on LinkedIn

   

SEO Consultant SEO services