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

difference between www.domain.com and domain.com

Discussion in 'Black Hat SEO' started by chaltinez, Jan 7, 2010.

  1. chaltinez

    chaltinez Newbie

    Joined:
    Oct 23, 2009
    Messages:
    3
    Likes Received:
    0
    Occupation:
    web designer & cook
    Location:
    zootown, montana
    could anyone tell me if there's a difference, well obviously, but what? what's better for marketing? can i have both? will it cost more? that sorta junk.
     
  2. essares1

    essares1 Junior Member

    Joined:
    Apr 27, 2009
    Messages:
    163
    Likes Received:
    27

    When you own a 'domain.com', you automatically own a 'www.domain.com'. It will not cost you more.

    Technically the difference is that domain.com can point to a clusters of servers and www.domain.com will be pointing to one cluster of servers out of those. so www.domain.com is a part of domain.com.
     
  3. MichiganGuy

    MichiganGuy Newbie

    Joined:
    Dec 27, 2009
    Messages:
    7
    Likes Received:
    3
    You need to use a 301 redirect. Googo dat.:)
     
  4. SpamHat

    SpamHat Junior Member Premium Member

    Joined:
    Apr 27, 2009
    Messages:
    151
    Likes Received:
    67
    Location:
    UK
    The www is just a subdomain.

    Like someword.mysite.com

    Personally I prefer to use the non-www version and it's simpler and the www seems redundant to me.

    I then just use a 301 redirect to send all traffic that lands on the www to the non-www version.

    Personal preference which one you use really.
     
  5. quinnie

    quinnie Registered Member

    Joined:
    Nov 1, 2009
    Messages:
    59
    Likes Received:
    23
    cool thx for the insight, I always thought they might have some effect on SERPS.

    If we were to build backlinks to the non-www version and some to www version, will they be treated the same?
     
  6. Nihilist

    Nihilist Registered Member

    Joined:
    Oct 11, 2009
    Messages:
    59
    Likes Received:
    75
    Occupation:
    Network Sec / Electronics / IT / Programming
    Location:
    Virginia Beach, VA, USA
    In marketing, from a general consumer perspective, people feel more "comfortable/secure" in a www vice a non-www.
    For example, look at big ecommerce sites:
    Code:
    www.amazon.com  www.ebay.com
    There non-www will redirect into a www.
     
  7. shadowedsniper

    shadowedsniper Junior Member

    Joined:
    Aug 15, 2008
    Messages:
    168
    Likes Received:
    100
  8. tivowatcher

    tivowatcher Junior Member

    Joined:
    Oct 7, 2008
    Messages:
    132
    Likes Received:
    49
    This can also be managed at the DNS level - this is typically what I do and I have had no problems with SEO and the Big G.

    Focus on using "www" and put a wildcard "*" (in DNS) to handle the "domain.com" pointing to "www".
     
  9. cdc515

    cdc515 Power Member

    Joined:
    Nov 23, 2009
    Messages:
    602
    Likes Received:
    92
    you can also add both to google webmasters and select which one you want google to recognize
     
  10. nytrolic

    nytrolic Registered Member

    Joined:
    Oct 7, 2008
    Messages:
    86
    Likes Received:
    35
    IM NOT THE ORIGINAL AUTHOR OF THIS TEXT (cant remember where i got it from tho)

    This is the most basic of SEO problems. It is the first thing that every SEO should tackle for their site as it leads to other problems that will limit your ability to rank well. Which would lead me to question why if you are an "SEO freelancer" as you say that you do not already have an excellent understanding of the problem itself, why it is bad, and how to fix it... But whatever... I'll explain it again here for the 100th time at least. LOL

    Google and the other engines rank URLs. They don't rank sites... they don't even rank web pages. Every unique URL is considered by the search engines to be a different 'page' in their index. Most sites out there not professionally SEO'd have canonical issues because they are not aware of this fact. And half of the so called SEOs out there don't even understand it.

    Every 'page' on your site should have one and ONLY one URL. This is called the canonical URL or preferred URL.

    For example,

    http://example.com/
    http://example.com/index.html
    http://www.example.com/
    http://www.example.com/index.html

    might all be URLs for your home page. Google and the other engines see these as 4 different 'pages' because each has a different URL. This leads to a couple of problems that affect your rankings for particular keyword phrases - 1) duplicate content and 2) split page rank/link juice.

    It leads to duplicate content because your site serves up the exact same content (your home page) under all 4 URLs. So one of the 4 URLs (you have no way of knowing which) gets flagged as the original version of the content and the other 3 get flagged as duplicate. For the 3 duplicate versions of the home page, all ranking factors that are based on the content of the page are devalued in the ranking algorithm.

    Since Google sees them as 4 different pages, if they each have 10 inbound links from 10 different sites then what you have is 4 URLs with 10 inbound links each.

    The way to fix this is to decide on some rules of how to determine which URL is the canonical or preferred URL. This usually means making decisions like:

    - www vs non-www
    - show trailing '/' when referencing folders w/ default documents or hide the trailing '/'
    - show default document filename when referencing folders w/ default documents or hide the default document name
    - if you support https as well then which pages should be https and which should be http (don't allow a single page to get indexed as both)

    It doesn't matter which rules you decide on for constructing canonical URLs as long as you decide on the rules and enforce them across your site w/ 301 redirects. I always choose www, show trailing '/', and hide default document name. So my preferred canonical URL in the above example would be http://www.example.com/ but that is just my preference.

    To fix the canonical issues you simply redirect all other non-canonical URLs to the canonical URL similar to the following:

    http://example.com/ --> 301 redirect --> http://www.example.com/
    http://example.com/index.html --> 301 redirect --> http://www.example.com/
    http://www.example.com/ Canonical URL No Redirect Required
    http://www.example.com/index.html --> 301 redirect --> http://www.example.com/

    Now Google will give your canonical URL credit for all inbound links to the other 3 URLs as well as giving it credit for the link text used to link to the other 3 non-canonical URLs. This means the PR will be passed from the other 3 non-canonical URLs to the canonical. The redirects also cause the other 3 non-canonical URLs to drop out of the index.

    So now Google sees your home page http://www.example.com/ as a single URL with 40 inbound links instead of 4 different URLs with 10 links each.

    This eliminates duplicate content issues on your site and split page rank. Your home page will gain some PR because it's getting credit for 4 times as many inbound links and hopefully because of the additional links w/ relevant link text it will rank better for the terms other sites are using in the links. It now has 4 times as many link texts to be considered for keyword rankings in the SERPs and 4 times as many potentially relevant refering pages to be considered.
     
    • Thanks Thanks x 2
  11. ru ru

    ru ru Junior Member

    Joined:
    Mar 23, 2009
    Messages:
    109
    Likes Received:
    30
  12. cdc515

    cdc515 Power Member

    Joined:
    Nov 23, 2009
    Messages:
    602
    Likes Received:
    92
    just stick this in your html source code
    <link rel="canonical" href="http://www.YOURPAGEHERE.com">

    or

    <link rel="canonical" href="http://YOURPAGEHERE.com">

    however you want your page to display.

    this will let all search engines know this is your prefered page location and will not pay attention to the others

    you can also use a redirect but if you dont have access to that just stick that into the html code and your all done
     
    Last edited: Jan 7, 2010
  13. chaltinez

    chaltinez Newbie

    Joined:
    Oct 23, 2009
    Messages:
    3
    Likes Received:
    0
    Occupation:
    web designer & cook
    Location:
    zootown, montana
    Cool thanks for the insight. I thought i was just going to get a bunch of post like... "what a nooob!" n' shit. haha
     
  14. 6000RWHP

    6000RWHP Regular Member

    Joined:
    Nov 13, 2009
    Messages:
    240
    Likes Received:
    109
  15. Dan_B

    Dan_B Junior Member

    Joined:
    Aug 21, 2009
    Messages:
    164
    Likes Received:
    48
    Location:
    Toronto
    When I type in www.mydomain.com it automaticall goes to mydomain.com do I still need to use 301 redirect? When I put a php based 301 redirect in the head tag of my header for wordpress it gives me an error.