There are some issues when using www domains with non-www domains (like javascript initialization which results in cross-domain incompatability when www.domain.com is understood as something else than domain.com).
Anyway, www is soooo ’90.
To get rid of www and transfer customers to non-www without rewriting your html/php files just put a .htaccess rewrite rule:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
NO COMMENTS
19 May 2011

