Whenever I spider my site using Screaming Frog (thanks Jill!) I see two versions of EVERY page in the results – the www. version and the non-www version. I would like to remedy this problem but not sure how to go about it. Google support recommends I specify a preferred domain in my Google account. http://support.googl...en&answer=44231
I assume this is the right thing to do to solve my problem? Is www better than non-www?
Then they state the following:
"Once you've set your preferred domain, you may want to use a 301 redirect to redirect traffic from your non-preferred domain, so that other search engines and visitors know which version you prefer."
Do I need to do this? I know how to redirect a page, but a whole domain? and where do they want me to do this?
Is it as simple as this documentation below? (I got it off the web)
Example of a 301 Permanent Redirect of Non-WWW to WWW
This is the code to use in your htaccess file for redirecting content to the www version of your website.
RewriteCond % ^awebguy.com [NC]
RewriteRule ^(.*)$ http://www.awebguy.com/$1 [L,R=301]
Edited by rayjoy, 14 May 2013 - 05:50 AM.