I recently found out I'm being penalized by google for having double content. I need to do a redirect but what I can't figure out is am I doing www.website.com -> website.com or vice versa? It seems so simple but for me it's hard 

<IfModule mod_rewrite.c>
Options +FollowSymLinks
rewriteEngine On
rewriteCond %{HTTP_HOST} !^website.com [NC]
rewriteRule (.*) http://website.com$1 [R=301,L]
</IfModule>
[COLOR=#333333][R=301,L]
[COLOR=#333333][R=302,L]