Вот полный листнинг файла .htaccess <IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST} !^www\.RewriteCond %{REQUEST_URI} !^/robots\.txt$RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule>А вот редирект с www на без www <IfModule mod_rewrite.c># Rewrite to no wwwRewriteEngine OnRewriteCond %{HTTP_HOST} ^www\.(.+) [NC]RewriteRule .* http://%1/$0 [L,R=301]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule>