Posted The: 06/05/2009 At: 2:56
Contents:
The www part of the URL is considered deprecated. As it only makes it take longer for users to type in the URL for any given website.
WWW is an optional server configuration, rather then a required part of the URL. In short, WWW stands for World Wide Web, and is really just a subdomain.
It has been used to indicate the actual website, rather then the mail server, or the ftp server. It came from a time where some companies had multiple servers, one for each servise they would offer. I.e. ftp.yoursite.com, pop.yoursite.com
It is recommended that web developers simply redirect their users to one or the other. The preferred is to use the non-www version, because having www in the URL is irelevant, and only requires more typing, if the user was to type in the URL manually.
Not all sites are doing either, which could lead to duplicate content issiues with search engines, so be careful. Its also inconvenient to simply block the traffic, it would be better to redirect your users.
All you need to redirect incomming traffic on your www subdomain, is to modify, or create a file called .htaccess, and place it in your server root. Then include the following in the file:
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^brugbart\.com
RewriteRule (.*) http://brugbart.com/$1 [R=301,L]Note. You should replace brugbart.com, with your own domain name.
Comments: [0]
© Brugbart Webdesign