1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

domain.com or www.domain.com ...

Discussion in 'Search Engine Optimization' started by Derek1, Aug 31, 2009.

  1. #1
    What one is better for SEO domain.com or www.domain.com ? Should I have everything redirected to www.domain.com ?

    Thoughts ?
     
    Derek1, Aug 31, 2009 IP
  2. akashvista

    akashvista Peon

    Messages:
    189
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    These type of questions have been asked times and times again and as usual I answer the same SEO has nothing to do with domain extensions or a domain with www or without it.
     
    akashvista, Aug 31, 2009 IP
  3. samueldarwin

    samueldarwin Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nothing has importance or something. Set it from your webmasters tool and SE will try to take that data. Especially wrt Google. Also this will raise canonical issue. Check out Matt Cutts blog regarding canonical issue, you will get clear picture.
     
    samueldarwin, Aug 31, 2009 IP
  4. Derek1

    Derek1 Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Fair enough, but should I set the domain to only use www or no www. ? (Google Webmasters)
     
    Derek1, Aug 31, 2009 IP
  5. akashvista

    akashvista Peon

    Messages:
    189
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well you can use www it wont wont hurt you and neither will not using it. So its your choice!!
     
    akashvista, Aug 31, 2009 IP
  6. Italianhawk

    Italianhawk Member

    Messages:
    289
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    35
    #6
    The important thing is going with one way and sticking with it and using a redirect for the one you don't choose. What I do is I take how I'm indexed in google (be it www. or not) and build my links according to how it's already indexed.
     
    Italianhawk, Aug 31, 2009 IP
    oneawesomeguy likes this.
  7. pokey

    pokey Active Member

    Messages:
    317
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #7
    Correct. I would always recommend sticking with www. It's more globally recognised.
     
    pokey, Aug 31, 2009 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    And here's the best way to do it:

    
    RewriteEngine on
    
    # Redirects non-www version to www. version
    RewriteCond %{HTTP_HOST} ^yourdomain\.tld [NC] 
    RewriteRule .? http://www.yourdomain.tld{REQUEST_URI} [R=301,L]
    
    # Redirects /index.ext to /
    RewriteRule ^(.+/)index\.ext?$ http://www.yourdomain.tld/$1 [R=301,L]
    
    Code (markup):
    Replace yourdomain with your domain name, .tld with the top level domain your domain was registered with (such as .com .net or .org), and then .ext with the default index file extension (such as .html or .php).

    Note that this WILL WORK with both Apache 1.x and 2.x servers while also nipping a canonical URI bug where it hurts most. :)
     
    Dan Schulz, Sep 1, 2009 IP
    pokey and oneawesomeguy like this.
  9. affiliates4seo

    affiliates4seo Peon

    Messages:
    248
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    both are ok.

    But, you must have to use only 1. If you using www.domain.com, then redirect domain.com to www.domain.com using .htaccess.
     
    affiliates4seo, Sep 2, 2009 IP
  10. SamKB

    SamKB Peon

    Messages:
    151
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Just use one of them. 301.
     
    SamKB, Sep 2, 2009 IP
  11. facerec

    facerec Peon

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    doesnt matter a lot..
    but 301 redirect is advisable..
     
    facerec, Sep 2, 2009 IP
  12. qtel86

    qtel86 Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    it doesn't matter, but follow big sites like Google. it is redirected from non www. to www.
     
    qtel86, Sep 2, 2009 IP
  13. Maximise

    Maximise Member

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #13
    As has already been said, it doesn't matter. But just choose one, don't use both.
     
    Maximise, Sep 2, 2009 IP
  14. webdev007

    webdev007 Active Member

    Messages:
    1,037
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    88
    #14
    either one is good but with www its better coz people has habit to add www while referring a website.
     
    webdev007, Sep 2, 2009 IP
  15. suraja

    suraja Peon

    Messages:
    537
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #15
    It's an old question

    No need to worry about www and non www

    The nly thing you should worry about is your domain/website IP, make it unique with dedicated IP address
     
    suraja, Sep 2, 2009 IP
  16. localgoogleguru

    localgoogleguru Active Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #16
    I can clearly see you know what you're doing, the problem is I know just enough about Bind, .htaccess , and editing javascript/ css to get me in trouble.

    I'm not a complete newb but have been blogging so long I've lost what little coding skills I had (which date back to the .cgi script days)

    so could you please elaborate a bit more?

    where do we add this code?

    is this snippet intended to go
    • on a robots.txt file
    • or to be appended to a .htacess file
    • or is it to be inserted to a web pages source code


    thanks in advance.

    and to answer the OP, I too don't think it makes any difference from the perspective of the user, from Googlebot's indexing perspective and the dilution of pagerank I've seen it suggested to just log into http://google.com/webmasters/tools and select which one you'd like the pagerank to fall on.

    Again, from what I've been told if you do NOT select... the pagerank will be split, diluted, a percentage will be wasted because X pagerank goes to http://www and Y pagerank goes to http://, so it's to your advantage to tell Googlebot "make all of em point HERE" again this is for pagerank ONLY, I'm not suggesting that "users like one over the other" or "they'll hate your site if you have (or do not have) www.
     
    Last edited: Sep 2, 2009
    localgoogleguru, Sep 2, 2009 IP
  17. AirForce1

    AirForce1 Peon

    Messages:
    1,325
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #17
    A domain with or without www. is not an issue on SEO. But you should always choose one while doing backlinks. This is more important. IMO.
     
    AirForce1, Sep 2, 2009 IP
  18. neoplayer

    neoplayer Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    They are both the same, they don't affect SEO.
     
    neoplayer, Sep 2, 2009 IP
  19. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #19
    It goes inside a .htaccess file. Using http://www.frederickwebpromotions.com/ as an example, it would look like this:

    
    RewriteEngine on
    
    # Redirects non-www version to www. version
    RewriteCond %{HTTP_HOST} ^frederickwebpromotions\.com [NC] 
    RewriteRule .? http://www.frederickwebpromotions.com{REQUEST_URI} [R=301,L]
    
    # Redirects /index.php to /
    RewriteRule ^(.+/)index\.php?$ http://www.frederickwebpromotions.com/$1 [R=301,L]
    
    Code (markup):
     
    Dan Schulz, Sep 3, 2009 IP
  20. Derek1

    Derek1 Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Thanks for the info guys.
     
    Derek1, Sep 10, 2009 IP