1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

www and non-www for SEO?

Discussion in 'Black Hat SEO' started by aiwnjoo, Jan 18, 2012.

  1. aiwnjoo

    aiwnjoo Registered Member

    Joined:
    Nov 29, 2011
    Messages:
    58
    Likes Received:
    14
    Home Page:
    Hi,

    This is really confusing me now, people say ignore it but I can't.

    My site is setup currently as http://domain.com without www but both work.

    All my SEO stuff was done using www. and some using non-www

    I setup my Webmaster Tools as www.

    In the below image you can see that non-www gets more impressions than www. as it appears in Google natureally as non-www because I have not done a redirect or amended .htaccess.

    Is this bad for SEO, should I add non-www to Webmaster Tools and then set the preferred domain to www. ?

    All backlinking has been done on www. but it seems to get less impressions than non-www...

    From what I have read when my site can be viewed as www. and non-www it affects ranks as Google will rank both sites.

    What should I do? Ideally I want Google to see it as www. only instead of both so that all impressions and views/clicks etc are controlled on one domain not non-www.

    Any advice will help, If you are going to post and ask me to delete Webmaster Tools or use something else don't bother because I won't do that as Google will de-rank me like last time so just advice please.

    Thanks and + rep to helpers.
     

    Attached Files:

  2. nikao

    nikao Power Member

    Joined:
    Oct 14, 2011
    Messages:
    518
    Likes Received:
    180
    Home Page:
    you should pick one version and you can use your htaccess to do a modrewrite to make sure only one version works. All the link juice will still be passed on, so don't worry bout that.
     
    • Thanks Thanks x 2
  3. oxonbeef

    oxonbeef BANNED BANNED

    Joined:
    Jan 4, 2009
    Messages:
    2,242
    Likes Received:
    7,872
    It's a penalization it appears to google as two sites.
     
    • Thanks Thanks x 2
  4. aiwnjoo

    aiwnjoo Registered Member

    Joined:
    Nov 29, 2011
    Messages:
    58
    Likes Received:
    14
    Home Page:
    So should I fix this using Webmaster tools to set the preferred domain as www. or ignore that and use .htaccess to amend this? If my site as non-www appears high in rank now will this de-rank when I change the .htaccess?

    Should I route non-www to www. or block non-www completely?

    Thanks,
     
  5. seoquickheal

    seoquickheal BANNED BANNED

    Joined:
    Dec 18, 2011
    Messages:
    424
    Likes Received:
    42
    Prefer either http or www and do marketing based on that.

    always give one URL for all your anchor text.
     
    • Thanks Thanks x 1
  6. oxonbeef

    oxonbeef BANNED BANNED

    Joined:
    Jan 4, 2009
    Messages:
    2,242
    Likes Received:
    7,872
    All four.
    Google ain't the only fish in the pond.
    Never forget Bing and Yahoo.
    Why lose 1 customer for 2 minutes adjustments.
     
    • Thanks Thanks x 1
  7. SEOWhizz

    SEOWhizz Power Member

    Joined:
    Oct 22, 2011
    Messages:
    606
    Likes Received:
    432
    Location:
    Lat: 38N 43' 11.298" Long: 27W 12' 7.733"
    You can use either the www. or the non-www versions for SEO purposes. But, you must be consistent, as Google will see them as two different sites.

    Given the above scenario :

    1. Set the preferred version (non-www.) in Webmaster tools.
    Code:
    http://support.google.com/webmasters/bin/answer.py?hl=en&answer=44231
    2. Redirect from the www. version to non-www. version, using the .htaccess file, by adding the following code:
    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.example.com$
    RewriteRule (.*)$ http://example.com/$1 [R=301,L]
    3. Back link the non-www. version of the site.
     
    • Thanks Thanks x 2
    Last edited: Jan 18, 2012
  8. nikao

    nikao Power Member

    Joined:
    Oct 14, 2011
    Messages:
    518
    Likes Received:
    180
    Home Page:
    SEOWhiz explains in detail what I meant (thx for that ;) )
    One addition; notice the R=301 in the htaccess code; that means the www version is redirected with 301 to the non-www, which means the backlinks you have right now to www will still cary their linkjuice and value over to your site.
    Of course it is good to be consistent in building backlinks, don't worry to much about it since you are using 301 redirect..
     
    • Thanks Thanks x 1
  9. drogon

    drogon Elite Member Premium Member

    Joined:
    May 28, 2010
    Messages:
    2,109
    Likes Received:
    1,005
    Personally i would setup your site using the www. to match your seo work and also as its already set that way in Google.

    If Wordpress then just go into Wordpress Admin and click on 'Settings', 'General', and change the field:

    Site Address (URL) to include www.

    DO NOT CHANGE WordPress Address (URL)

    Then go to xml sitemap and change the field for 'location of xml sitemap to:
    Custom Location and type in the paths.

    Your site might dance a little while Google deindexes the non www and adds the www. to its index.

    Or if thats is too much just go with the above posters and change the .htaccess file

    Cheers.
     
    • Thanks Thanks x 1
  10. matt broody

    matt broody Junior Member

    Joined:
    Sep 14, 2011
    Messages:
    138
    Likes Received:
    6
    Home Page:
    choose just 1 version and go ahead with it
     
    • Thanks Thanks x 1
  11. idsignup

    idsignup Junior Member

    Joined:
    May 4, 2011
    Messages:
    195
    Likes Received:
    8
    Home Page:
    choose just www or non www
    my opinion: choose non www
     
    • Thanks Thanks x 1
  12. aiwnjoo

    aiwnjoo Registered Member

    Joined:
    Nov 29, 2011
    Messages:
    58
    Likes Received:
    14
    Home Page:
    My site is just HTML and just uploaded to root, I use CPanel and don't have .htacces

    I want to use www. as the main site so do I now block non-www or just redirect to www?

    Do I need to add the non-www site into Google Webmaster Tools then set preferred domain to www? Is this needed/recommended?

    Thanks,
     
    Last edited: Jan 18, 2012
  13. SEOWhizz

    SEOWhizz Power Member

    Joined:
    Oct 22, 2011
    Messages:
    606
    Likes Received:
    432
    Location:
    Lat: 38N 43' 11.298" Long: 27W 12' 7.733"
    If you want to use www. as your preferred domain:

    1. Set the preferred version (www.) in Google Webmaster Tools.

    2. Create a .htaccess file.

    3. Add the following code to the file to redirect from the non-www. to www. version:

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^example.com
    RewriteRule (.*) http://www.example.com/$1 [R=301,L]
    
    (Substitute "example.com" with your own website URL)

    4. Upload the file to the root of the site, using either CPanel or a free FTP client, e.g. FileZilla or Cute FTP.

    5. Once the .htaccess file is uploaded, open a browser and goto the non-www version of your website. You should now be redirected to the proper www version of your site.
     
    • Thanks Thanks x 1
  14. aiwnjoo

    aiwnjoo Registered Member

    Joined:
    Nov 29, 2011
    Messages:
    58
    Likes Received:
    14
    Home Page:
    Thanks Whizz, now I also add the non-www site to webmaster tools then it verifies i own both www and non-www then i can choose preferred domain as www right?
     
  15. SEOWhizz

    SEOWhizz Power Member

    Joined:
    Oct 22, 2011
    Messages:
    606
    Likes Received:
    432
    Location:
    Lat: 38N 43' 11.298" Long: 27W 12' 7.733"
    Yes, you can add the non-www version and verify you own it.

    So, effectively you will need to verify both versions of your site URLs (www and non-www) and then set one of them (www) as your preferred domain.
     
    • Thanks Thanks x 1
  16. aiwnjoo

    aiwnjoo Registered Member

    Joined:
    Nov 29, 2011
    Messages:
    58
    Likes Received:
    14
    Home Page:
    I have now done the redirect you gave me, works brilliantly. Once I have added the non www site to WMTools and then go back into the www. site as this has all the stats, then set this as www preferred domain.

    Once thats done can I delete the non-www one or will that reset it back?

    Thanks again guys sorry about these moronic questions.
     
    • Thanks Thanks x 1
  17. SEOWhizz

    SEOWhizz Power Member

    Joined:
    Oct 22, 2011
    Messages:
    606
    Likes Received:
    432
    Location:
    Lat: 38N 43' 11.298" Long: 27W 12' 7.733"
    Glad it's working for you.

    No, there's no need to delete it. Just leave it there.
     
    • Thanks Thanks x 1
  18. Sharer

    Sharer Power Member

    Joined:
    Apr 11, 2009
    Messages:
    560
    Likes Received:
    1,051
    You should choose one or the other. Using both
    will cause you to work double the time for backlinks.

    For instance if you get 200 backlinks for .www
    and then got another 100 backlinks for the non
    www, then you will not have a combine total of
    300 backlinks for one site. The backlinks will stay
    seperated, 200 for .www and 100 for non www

    You always want backlinks to be combined for
    one site for more link juice power.

    I hope that was not hard to follow.
     
    • Thanks Thanks x 1
  19. aiwnjoo

    aiwnjoo Registered Member

    Joined:
    Nov 29, 2011
    Messages:
    58
    Likes Received:
    14
    Home Page:
    Ok no worries, and the site I have on there now which I use to do indexing and crawling stuff should I continue to do it on that site and not both?

    Would it matter if I left it and did not bother adding the other because all SEO is done on www. so when Google sorts itself out and shows it as www. in Google it should all work out right?

    Hope this does not kill my current rank.

    Thanks,
     
  20. SEOWhizz

    SEOWhizz Power Member

    Joined:
    Oct 22, 2011
    Messages:
    606
    Likes Received:
    432
    Location:
    Lat: 38N 43' 11.298" Long: 27W 12' 7.733"
    Yes, only use the www. version, not both.

    If you mean that you don't want to add the non-www version to Webmaster Tools, then that should be Ok. The list I gave above was only a guideline for you to use as you see fit.
     
    • Thanks Thanks x 1