RewriteCond %{HTTP_HOST} ^www.site\.com$ [NC]RewriteRule ^(.*)$ Http://site.com/$1 [R=301,L]