1
2
3
4
# Redirect all website.com traffic to www.website.com
RewriteEngine On
RewriteCond %{HTTP_HOST} ^website\.com$ [NC]
RewriteRule ^(.*)$ http://www.website.com/$1 [R=301,L]