There is a much easier way to get
http://sitename.coms/ pointing to
http://www.sitename.coms/ in google.
Sign into your Google Webmaster account
https://www.google.com/webmasters/to...overview?pli=1 click on tools, then click on set preferred domain. This then means google is linking
http://www.sitename.coms/ and
http://sitename.coms/ to the same domain.
No need for redirects or anything, let google know using site tools and it will class both sites as one.