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.

www or "no" www

Discussion in 'Search Engine Optimization' started by KeywordsandCopy, May 3, 2007.

  1. #1
    I have a quick question and have not been able to get a firm answer or resolution...

    My new wp blog can be accessed with either www.sitename.com or sitename.com. But when I click on the header it shows sitename.com in the address bar..

    My question is, does it matter? Is there a difference between having both address types out there or just one...

    If so, what can I do to make it one or the other? I was just wondering from a se point of view...

    Hope that makes sense!

    Thanks in advance!
     
    KeywordsandCopy, May 3, 2007 IP
  2. Limitsiz

    Limitsiz Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes it matters a little.Your www.yoursite.com and yoursite.com values would be different.
     
    Limitsiz, May 3, 2007 IP
  3. WunschShrek

    WunschShrek Peon

    Messages:
    629
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello Sir,

    Yes that is no good. Search Engine's see them as two different address's, and this has in the past caused people to get flagged duplicate content.

    What you want to do is pick whichever one you want to use, whichever sounds best to you, and then redirect in .htaccess the other version.

    Example, lets say you wanted all http://yoursite.com/whatever.htm to be redirected to http://www.yoursite.com/whatever.htm

    Use the code below in your .htaccess. Changing your url. It will automatically redirect all non www to www, and the correct page.

    
    RewriteEngine on
    rewritecond %{http_host} ^yoursite.com [nc]
    rewriterule ^(.*)$ http://www.yoursite/$1 [r=301,nc]
    
    Code (markup):
     
    WunschShrek, May 3, 2007 IP
    mikey1090 likes this.
  4. Stax_Daniel

    Stax_Daniel Guest

    Best Answers:
    0
    #4
    or for those of us who are members of the no-www movement...or just prefer to not have the 'www'

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
    RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
     
    Stax_Daniel, May 3, 2007 IP
  5. Nystul

    Nystul Well-Known Member

    Messages:
    3,077
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    175
    #5
    I am the no-www movement! Thanks for the code.
     
    Nystul, May 3, 2007 IP
  6. guy123

    guy123 Guest

    Messages:
    858
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I just realized that I have never 301'd one of my non www. sites...thanks for the help. I actually needed it.
     
    guy123, May 5, 2007 IP
  7. depotgang

    depotgang Peon

    Messages:
    530
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #7
    just be consistent with your linking strategy. Don't do some as www .site.com and other as site.com.
     
    depotgang, May 5, 2007 IP
  8. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #8
    yeah, dont build links for the both, stick to one or the other.

    And if your visitors link to your site and use the other method, make sure you add the hta access code to redirect it to your preferred method.
     
    mikey1090, May 6, 2007 IP
  9. Comenius

    Comenius Peon

    Messages:
    424
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Agree, that little 301 redirect in your .htaccess is something you should do for every site you operate.
     
    Comenius, May 6, 2007 IP
  10. Komodo Tale

    Komodo Tale Peon

    Messages:
    140
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #10
    To reiterate what was already said, choose one and stick to it in all of your links. 301 redirect the other to the one you select.

    Now think about this:

    While http:// and www can be considered redundant, hence the no-www movement, most people think in www terms and will automatically include the www when they type in your URL and link to it. Hence, including the www has become the de-facto best practice.

    Could it be?

    The reason to use the 301 is to pass link equity from links going to the version you do not use to the version you do use. We know that 301 will pass link equity but we do not know if a 301 leaks any equity. You might be passing 100% or you might be passing 75% or some other percent. This is something that has just never been adequately addressed.

    Because this unknown exists and we do know that most people automatically include the www I always recommend using the www version. It cannot hurt and it just may help.
     
    Komodo Tale, May 6, 2007 IP
  11. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #11
    The search engines seeing sites with / without "www" is a search engines' problem. I don't see it too difficult to build an algo to recognize the presence of the same website no matter if "www" is or isn't present in the URL.
     
    Clive, May 6, 2007 IP
  12. Komodo Tale

    Komodo Tale Peon

    Messages:
    140
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #12
    www. creates a subdomain of the second level domain. There are websites that have different content on the www subdomain than on their 2nd level domain. So it's not a search engine problem. It is a domain administrator's housekeeping responsibility.
     
    Komodo Tale, May 7, 2007 IP
  13. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #13
    This is the same reason why www.domain and domain.com have different page ranks sometimes.
     
    inworx, May 8, 2007 IP
  14. Sherlock

    Sherlock Well-Known Member

    Messages:
    547
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    110
    #14
    Sherlock, May 8, 2007 IP
  15. rayn_84

    rayn_84 Banned

    Messages:
    342
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Its preferable with "www"
     
    rayn_84, May 8, 2007 IP
  16. Stax_Daniel

    Stax_Daniel Guest

    Best Answers:
    0
    #16
    why would you say that?...as long as you use the proper redirects it doesn't really matter...

    i prefer no www...
     
    Stax_Daniel, May 8, 2007 IP
  17. kh7

    kh7 Peon

    Messages:
    2,715
    Likes Received:
    109
    Best Answers:
    0
    Trophy Points:
    0
    #17
    You can do the redirect, or you can login to google webmaster tools and tell google which you prefer. But if the version without www is in the title tag, I'd either change that, or go with the www-less version.
     
    kh7, May 8, 2007 IP
  18. d16man

    d16man Well-Known Member

    Messages:
    6,900
    Likes Received:
    160
    Best Answers:
    0
    Trophy Points:
    180
    #18
    it doesn't really matter....one of my blogs does not have a www, and it is doing well...I have a redirect set up and all the traffic hits the regular site if a www is entered...I wouldn't worry about it, since you can go on and do regular SEO with or without it.
     
    d16man, May 8, 2007 IP
  19. boyponga

    boyponga Banned

    Messages:
    1,013
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #19
    I would refer with www, www can be edited through htaccess
     
    boyponga, May 8, 2007 IP