How to tell google to index only www or non www?

Discussion in 'Google' started by edbri871, Aug 4, 2007.

  1. #1
    I read this on a blog but cant seem to find it in the webmaster tools section:

    Can anyone point me in the right direction?

    Brian
     
    edbri871, Aug 4, 2007 IP
  2. THT

    THT Peon

    Messages:
    686
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    why not use htaccess to do this properly?
     
    THT, Aug 4, 2007 IP
  3. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #3
    add that code to your .htaccess file
     
    trichnosis, Aug 4, 2007 IP
  4. bsdpowa

    bsdpowa Banned

    Messages:
    388
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What if someone promoted his website as yoursite.com without the www, would rewrite work or would it be bad for SEO?
     
    bsdpowa, Aug 4, 2007 IP
  5. Sxperm

    Sxperm Notable Member

    Messages:
    4,386
    Likes Received:
    142
    Best Answers:
    0
    Trophy Points:
    225
    #5
    The another way is do 301 redirect from www. to non www version or reverse depend on page you want Google to index.
     
    Sxperm, Aug 4, 2007 IP
  6. skrachs

    skrachs Peon

    Messages:
    1,791
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #6
    there is lags with this if i use wordpress. is there something for wordpress blogs?
     
    skrachs, Aug 4, 2007 IP
  7. PalSys

    PalSys palsys.io

    Messages:
    2,628
    Likes Received:
    224
    Best Answers:
    0
    Trophy Points:
    230
    #7
    I use 301s for the same purpose on a wide network of WordPress powered sites with no lag. The redirect is executed by your web server immediately, there should be no added load time.
     
    PalSys, Aug 4, 2007 IP
  8. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #8
    i think fucoder.com/code/permalink-redirect/ plugin does the same think. try it:D:);)
     
    trichnosis, Aug 4, 2007 IP
  9. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #9
    You can 301 redirect from non www to www version, but I feel Google looks at the common link format for your backlink profile and indexes that version.
     
    dcristo, Aug 4, 2007 IP
  10. Solid_Nuts

    Solid_Nuts Active Member

    Messages:
    886
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #10
    its simple all you need to do is go to google.com/webmasters its in there on the left menu just need to look:p if you still dont find it ill send you a screenshot :D
     
    Solid_Nuts, Aug 4, 2007 IP
  11. lukazs

    lukazs Well-Known Member

    Messages:
    583
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    125
    #11
    lukazs, Aug 4, 2007 IP
  12. sweetfunny

    sweetfunny Banned

    Messages:
    5,743
    Likes Received:
    467
    Best Answers:
    0
    Trophy Points:
    0
    #12
    No do not use Google Webmaster tools, use a server side 301 redirect.
     
    sweetfunny, Aug 4, 2007 IP
  13. bogart

    bogart Notable Member

    Messages:
    10,911
    Likes Received:
    509
    Best Answers:
    0
    Trophy Points:
    235
    #13
    Use a 301 direct.
     
    bogart, Aug 5, 2007 IP
  14. ahelpinghand

    ahelpinghand Guest

    Best Answers:
    0
    #14
    301 direct works for all search engines while the Webmaster tools works only for Google, if you want to be extra safe, do both. That's what I do.
     
    ahelpinghand, Aug 5, 2007 IP
  15. maldives

    maldives Prominent Member

    Messages:
    7,187
    Likes Received:
    902
    Best Answers:
    0
    Trophy Points:
    310
    #15
    maldives, Aug 5, 2007 IP
  16. kpraveenkumars

    kpraveenkumars Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    submit a google Sitemap and through the Google Webmaster Central you can instruct google to cache only www domains and not non-www.

    Also redirect from non-www to www domains
     
    kpraveenkumars, Aug 5, 2007 IP
  17. mji2010

    mji2010 Active Member

    Messages:
    762
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #17
    use a 301 redirect in htaccess
     
    mji2010, Aug 5, 2007 IP
  18. bogart

    bogart Notable Member

    Messages:
    10,911
    Likes Received:
    509
    Best Answers:
    0
    Trophy Points:
    235
    #18
     
    bogart, Aug 5, 2007 IP
  19. edbri871

    edbri871 Well-Known Member

    Messages:
    396
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    110
    #19
    I dont get it I dont see preferred domain in webmaster tools.....
     
    edbri871, Aug 5, 2007 IP
  20. rong889

    rong889 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    use Webmaster tools
     
    rong889, Aug 5, 2007 IP