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

TO use 'www" or not when building links?

Discussion in 'White Hat SEO' started by lucius, Jul 1, 2010.

  1. lucius

    lucius Power Member

    Joined:
    Jul 29, 2009
    Messages:
    546
    Likes Received:
    158
    Ok guys I am trying to rank a blog. when i type its url including www i get redirected to non www. ( for example if i put in hxxp://www.myblogaddress.com, i get redirected to hxxp://myblogaddress.com/)

    I have been using www. address when building links..and dare i say I have built a lot of them and am not seeing the results I was expecting.
    What are your thoughts on this? does it make any difference if I use "www" too? If so, do I need to setup a 301 redirect to get the full extent of the link juice from the links I have built so far? and how do I set one up? and do I even need to inspite of the www address already redirecting to non-www.?I had a look at my htaccess and all that is there is this

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Now how do I setup the redirect? and where do I start adding the code? I would be grateful if anyone could help me out with this. I know I could google it but I wanna make sure I do it right.


    Thanks ahead
    regards
     
  2. wahidpolin

    wahidpolin Regular Member

    Joined:
    Dec 25, 2009
    Messages:
    441
    Likes Received:
    259
    use the url u have put in the general setting section in wordpress admin to build links
     
  3. Grizzy

    Grizzy Senior Member

    Joined:
    Nov 11, 2008
    Messages:
    919
    Likes Received:
    999
    I like to force www
    I don't think it matters if you force www or force non-www, as long as you do one of the two.

    Here's what I use
    but the rewrite code you use will vary from system to system.
     
  4. bizroot

    bizroot Supreme Member

    Joined:
    Feb 25, 2008
    Messages:
    1,345
    Likes Received:
    912
    Location:
    In My Computer
    I will suggest you to make links for url which are displaying... I mean if you forced your site to open without www then you should make links without www or vice-versa...

    If you have made good amount of links with www then it will be better if you forced www now... It can be easily done in wordpress or you can always use .htaccess

    Always better to avoid some thing which can be problem or you not sure...
     
  5. levin

    levin Newbie

    Joined:
    Sep 14, 2009
    Messages:
    30
    Likes Received:
    6
    Indeed!
     
  6. wpbacklinks

    wpbacklinks Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 27, 2010
    Messages:
    3,397
    Likes Received:
    1,339
    Gender:
    Male
    Occupation:
    Affiliate Marketer
    Location:
    Everywhere
    yes i use www while building links.. i think the results are same as no www
     
  7. Joeblack99

    Joeblack99 Newbie

    Joined:
    Mar 31, 2009
    Messages:
    37
    Likes Received:
    20
    Hi, apologies if ive missed the point but why not just
    Go to settings >> General >> blog address, and set it to stick with the www rather than resolving when you type it in directly
     
  8. fear91

    fear91 Regular Member

    Joined:
    Dec 14, 2007
    Messages:
    366
    Likes Received:
    88
  9. ultimategamechain

    ultimategamechain Power Member

    Joined:
    Apr 22, 2010
    Messages:
    527
    Likes Received:
    76
    Location:
    Here!
    Home Page:
    you can set that on google webmasters tool so that your site http://domain.com will be seen by google as the same site with http://www.domain.com

    And yes google sees it as different site if you wont set it right in google webmasters tool

    But if you already set it in GWT it wont matter if you build links with www or not
     
  10. tangkeer

    tangkeer Newbie

    Joined:
    Sep 3, 2009
    Messages:
    21
    Likes Received:
    2
    the result are the same when u dont use www
     
  11. signthe

    signthe Newbie

    Joined:
    Oct 18, 2009
    Messages:
    42
    Likes Received:
    1
    I like to use the 3 w's because general computer users always will enter the 3 w's when visiting a website and if they see it without they may think something stupid of it (Like it's full of viruses or what ever crap they say coz they're dumb)
     
  12. lucius

    lucius Power Member

    Joined:
    Jul 29, 2009
    Messages:
    546
    Likes Received:
    158
    ok thanks for dropping useful info. but to be on the safe side, I'd still like to do a 301 redirect? How do i do one?
     
  13. z3zim4

    z3zim4 Newbie

    Joined:
    Oct 28, 2008
    Messages:
    42
    Likes Received:
    10
    Location:
    Here
    I never use www. in my domains simply because www. makes my domain 4 characters longer. But it really doesn't matter.
     
  14. Neil_UK

    Neil_UK Newbie

    Joined:
    Nov 27, 2009
    Messages:
    10
    Likes Received:
    0
    Occupation:
    SEO Marketing - Although not doing too brilliantly
    Location:
    Chelmsford, Essex.
    Home Page:
    I may be wrong, but surely if the www and non-www URL's both go to the same page then the SEO benefits of the links that are generated will still be received.

    Lucius if you go to the Web Confs website they list a few different ways to 301 redirect a page.
     
  15. wahidpolin

    wahidpolin Regular Member

    Joined:
    Dec 25, 2009
    Messages:
    441
    Likes Received:
    259
    put this code in ur .htaccess file,change the domain to ur actual domain

    Options+FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^domain.com
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]
     
  16. cnick79

    cnick79 Jr. VIP Jr. VIP

    Joined:
    Jun 10, 2010
    Messages:
    653
    Likes Received:
    341
    Location:
    Google's SandBox
    Code:
    http://www.google.com/support/webmasters/bin/answer.py?answer=55281&hl=en
     
  17. Entrepreneur

    Entrepreneur Regular Member

    Joined:
    Oct 12, 2007
    Messages:
    438
    Likes Received:
    379
    This will 301 redirect www.domain.com to domain.com

    RewriteBase /
    RewriteCond %{HTTP_HOST} ^www.domain.com [NC]
    RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
     
    • Thanks Thanks x 1
  18. britcpa

    britcpa Power Member

    Joined:
    Mar 25, 2010
    Messages:
    509
    Likes Received:
    1,384
    as a non-techy, id appreciate someone 'who knows' explaining what the difference is between these two separate pieces of advice:

    are they conflicting, or are they referring to solutions for two separate but related problems?
     
  19. tnhomestead

    tnhomestead Regular Member

    Joined:
    Oct 9, 2011
    Messages:
    385
    Likes Received:
    253
    Location:
    Tenneessee USA
    Home Page:
    Same problem, 2 different solutions is all
     
  20. fabiola

    fabiola Newbie

    Joined:
    Jan 31, 2010
    Messages:
    14
    Likes Received:
    2
    www and non-www does not matter at least to Google..