- Impact
- 13
What does everyone think about using or not using the "WWW." on domain names? Do you use it when you promote to the SEs and directories? Do you use it on all references to the URL?


This is a most important item which is often overlooked/forgotten (I sometimes forget in the rush of always having multiple projects going).-Nick- said:I would use www. for making all the links and doing other marketing stuff.
Moreover from your google webmaster account you can select the pages to be shown in the index from www. or from the NON www.
Other thing to make the NON www. redirect to the www. is to use the .htaccess file.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.ext [NC]
RewriteRule ^(.*)$ http://www.domain.ext/$1 [L,R=301]
hark,hark said:This is a most important item which is often overlooked/forgotten (I sometimes forget in the rush of always having multiple projects going).
This has been posted numerous times but never hurts to do it again.
Without this it is possible that over time the domain.ext and www.domain-ext can have different PR values. By using the .htaccess entry all backlinks will be assigned to the www.Code:RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.ext [NC] RewriteRule ^(.*)$ http://www.domain.ext/$1 [L,R=301]
hark said:This is a most important item which is often overlooked/forgotten (I sometimes forget in the rush of always having multiple projects going).
This has been posted numerous times but never hurts to do it again.
Without this it is possible that over time the domain.ext and www.domain-ext can have different PR values. By using the .htaccess entry all backlinks will be assigned to the www.Code:RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.ext [NC] RewriteRule ^(.*)$ http://www.domain.ext/$1 [L,R=301]
RJ,-RJ- said:On all new developed sites, I drop the www entirely and use .htaccess to rewrite the URL if anyone does enter www. I think in a few years it's going to be obsolete, so why not start now.
You can grab the code and a cool badge from here, http://no-www.org/
BTW, NamePros still uses www because that's how I launched it, and changing it now would make everyone have to re-login.
"There is no official deprecation because there is no official requirement - and never was. It is a technical convention, nothing more. The no-www group simply want people to start using their convention."
###
### Assign all links to domain.ext
###
### ***NOTE*** Change ???????? to appropriate Domain Name
###
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.????????\.com$ [NC]
RewriteRule ^(.*)$ http://????????.com/$1 [R=301,L]
###
### Assign all links to www.domain.ext
###
### ***NOTE*** Change ???????? to appropriate Domain Name
###
RewriteEngine on
RewriteCond %{HTTP_HOST} ^????????.com [NC]
RewriteRule ^(.*)$ http://www.????????.com/$1 [L,R=301]

