www. is deprecated

Today, I came across a website that claims: www. is deprecated

The claim does makes sense since most websites can be configured to be accessed using http://example.net or http://www.example.net.   If a website can be accessed without using "www.", than why do we need to use it? Perhaps because "www" stands for "World Wide Web" and most people commonly accept the fact that it is a required prefix for any website.

This site lets you validate your domain and classifies your domain as one of the following:

  • Class B - Preferred category. All traffic on www.example.net  is redirected to example.net
  • Class A - Most common compliance no-www compliance level. http://www.example.n­et  and http://example.net are both valid methods of reaching the site.
  • Class C - Most stringent compliance level.  Explanation of this category is not too clear.
  • Wall of Shame - Traffic to example.net is either blocked or redirected to a different domain.

I validated my website and it fell in the "Class A" category. That made sense because this is the configuration I had been using for years.  I was convinced to get myself to "Class B" level.  As the website instructed, I added the following lines to my .htaccess file:

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

Enough discussion.  Go to http://no-www.org and validate your website now.