Ok,

Unsure if this is the correct thread however need some assistance, we rarely use htaccess codes and can not properly configure it by tutorials on google.

Here is the issue.

Site

http://sitename.com
and
http://www.sitename.com

go to the same place,

this needs to happen

http://www.sitename.com
points to
http://sitename.com


the site is located at http://sitename.com

due to how some systems had to be set up. Anyone willing to provide the code?

Here is what we have thus far:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://sitename.com/ [R=301,L]

Thanks for your assistance, it is greatly appreciated!