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

www or no www in Domain name ?

Discussion in 'Black Hat SEO' started by surinder.oberoi28, Apr 12, 2011.

  1. surinder.oberoi28

    surinder.oberoi28 Regular Member

    Joined:
    Aug 5, 2010
    Messages:
    318
    Likes Received:
    209
    Location:
    online
    Hello,

    I have noticed that my domain name is not having www prefix..
    even if I put www.mydomain.com then it goes to mydomain.com and removes the www
    so was wondering if this can affect my rankings etc..

    need your views..
     
  2. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    It shouldn't make a difference because where www.domain.com and domain.com are concerned, G will pick one or the other (based on your backlinks) and use that as the "canonical" version of the domain and apply your backlinks equally to whichever one they pick.

    If you want to use one or the other specifically, you can set your .htaccess to redirect all request for the domain.com version to the www.domain.com version or vice versa.
     
    • Thanks Thanks x 1
  3. surinder.oberoi28

    surinder.oberoi28 Regular Member

    Joined:
    Aug 5, 2010
    Messages:
    318
    Likes Received:
    209
    Location:
    online
    Oh thanks for your quick reply.. :)
    now my doubt is clear.. and I think I can continue the way it is..
    :)

     
  4. yousefgreat

    yousefgreat Regular Member

    Joined:
    Nov 14, 2008
    Messages:
    282
    Likes Received:
    180
    It is extremely important to have the .htaccess file modified to redirect to either the WWW or the non-WWW version, else Google will consider each a different website which will lead to:
    1) loosing Link Juice as links pointing to WWW will not be added with the non-WWW version
    2) Google will consider the WWW website to be different from the non-WWW version (2 different websites), thus, you will be risking a duplicate content issue even though it is the same website.

    Make sure you set your website from the Google Webmaster Tools to the preferred version too.
     
    • Thanks Thanks x 1
  5. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    That used to be the case but it's no longer true. Cuttsfag came out a while ago and stated that they've fixed the canonical www vs no www problem, and in my experience it's no longer a problem. I would agree that you should explicitly choose one or the other via .htaccess though, it's just common sense.
     
    • Thanks Thanks x 1
  6. surinder.oberoi28

    surinder.oberoi28 Regular Member

    Joined:
    Aug 5, 2010
    Messages:
    318
    Likes Received:
    209
    Location:
    online
    I didn't figure out how to do 301 redirect in .htaccess file, as I didn't find any file named as .htaccess
    also when I type in www.mydomain.com or mydomain.com
    in both cases the url changes to mydomain.com
    is this means 301 redirect is allready done.. ?
    else let me know how can i do this..

    thanks..

     
  7. mikkseen

    mikkseen Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 13, 2009
    Messages:
    123
    Likes Received:
    15
    Location:
    Europe

    Yes, in this case the 301 redirect is already done. I would reccomend G for redirect checker, there are many sites that give you accurate feedback on your redirects and whether they are done right...