WWW or Non-WWW – You need to Force One or the Other
You want your website to either resolve to “www.yoursitename.com” or “yoursitename.com” – regardless of whether or not “www” is entered. This is called your Preferred domain name. This is important for your search engine results.
You can use a 301 redirect to redirect traffic from your non-preferred domain name. We commonly take care of this in the .htaccess file.