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

Any difference linking to the naked domain vs WWW?

Discussion in 'Black Hat SEO' started by mqs1000, Oct 10, 2013.

  1. mqs1000

    mqs1000 Power Member

    Joined:
    May 4, 2013
    Messages:
    533
    Likes Received:
    56
    Is there any difference in the format of what you put in the anchor when you link to a page?

    Like either

    <a href="http://www.website.com">

    or

    <a href="www.website.com">

    or

    <a href="website.com">
     
  2. Kaistar

    Kaistar Power Member

    Joined:
    Jan 9, 2010
    Messages:
    562
    Likes Received:
    333
    Yes.
    All variations are treated as separate web pages by Google.
     
  3. Kaistar

    Kaistar Power Member

    Joined:
    Jan 9, 2010
    Messages:
    562
    Likes Received:
    333
    Sorry...

    Will be the same...
    Will be a different result, different page, different listing etc etc...
     
  4. sm754

    sm754 Registered Member

    Joined:
    Mar 21, 2012
    Messages:
    93
    Likes Received:
    38
    Occupation:
    Farmer
    Location:
    Azerbaijan
    Some websites actually do display a different page on the www domain (mostly government, I believe); but most just redirect to the same page, and I imagine Google accounts for that case.
     
  5. Solidshot

    Solidshot Newbie

    Joined:
    Oct 8, 2013
    Messages:
    2
    Likes Received:
    1
    Very good question you brought up mqs100!

    I would suggest you choose one of them either "non-www" or "www" and redirect the other (process show below).

    Believe it or not but Google does see these as two different sites and may penalize you for duplicate content. Another reason is to ensure all your sites link juice is coming through from both your "non-www" and "www".

    As for my personal preference I normally go with non-www as it looks cleaner for me, not doesn't matter at all SEO-wise.

    Here is what I normally do:
    1) Add my site to Webmaster tools, google "webmaster tools google"
    2) Add both "non www" and "www" sites
    3) Go to each site and click "Site Settings" and in the "Preferred Domain" choose your preferred either "non-www" or "www".

    Next make sure you have a htaccess file in your root folder of your website and add the following:

    A great source I found for the htaccess code is on StackOverflow if you just google "htaccess non www to www" it should be in the 2 or 3 spot on the 1st page. I would paste the code, but unable to yet as I haven't been a member that long.

    To create a htaccess you simply create a textfile with the name htaccess. I normally set it as a txt file first and then transfer it to my root of my website and then remove the txt.

    I hope this helps, else I can clarify further :)