Google has said that it does not like copied sites. Yet most sites have copies.
You can see your site at and - its the same site, but its also, contextually a copy. Links from other sources may be confused, so if Google is tracking links to you, it may be tracking one, not both of these web names.

So the first question is which do we go with? or
There is no advantage. if you prefer to see the www, you should include the www, if not, you should not.
How do we do this then? We can set a .htaccess file to tell the web server to redirect traffic from one to the other.
In your favorite text editor create a new file (if you do not have a good text editor, get text pad - it’s a wonderful, powerful text editor, with many powerful tools you can get it from
You can comment this file as much as you want. A comment line allows you to put anything that you want to remind you later what you did! Any line starting with a ‘#’ will be ignored by the server.

The first example is the code you would use to have your site show as even when visitors go to

# Redirect to
RewriteEngine on
RewriteCond %{HTTP_HOST} !^yoursite\.com
RewriteRule (.*)$1 [R=301,L]

What does this do? The first line tells the server to switch on the rewrite engine. The next line sets the condition, which is look for ‘’ and see if it has anything (www) in front of it.
Then we give the rule, which says redirect it to http”// - the $1 will be any of the web address that follows (otherwise will redirect to - which would be no good.) the 301 simply tells Google et al that this is a good page, and the page has permanently moved.

If you want to use the www, the code would say:
# Redirect to
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com
RewriteRule (.*)$1 [R=301,L]

With your file created, save it as .htaccess in windows, you may hit problems, if so, save it as htaccess.txt. Upload it to your server, your public web root (the same place your top level index page is kept). If it is from a windows system, rename the file to .htaccess
If you get a 500 server error when you look at your site, then there are probably illegal characters in your htaccess file. This is what happens when you do not use textpad

With all sites hosted on you can just click an icon in your control panel to create your .htaccess file for you - and its clean, green hosting with 99.9999%+ up-time.

Directory Script - Create SEO Friendly Directory Website In Minutes