Linking with or without www

Discussion in 'Link Development' started by ddzc, Nov 8, 2008.

  1. #1
    Hi all,

    I have a site which is wordpress based. Therefore, when you type http://www.mysite.com it redirects on it's own to http://mysite.com. When submitting sites and creating internal links, should the structure be with or without the www? I'm not sure if theres anyway I can edit wordpress so it doesn't redirect and remove www.

    What's your take?
     
    ddzc, Nov 8, 2008 IP
  2. Simply Me

    Simply Me Peon

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I believe that you can change that, check your .htaccess files. I believe those files change the url, not wordpress.
     
    Simply Me, Nov 8, 2008 IP
  3. allout

    allout Prominent Member

    Messages:
    5,000
    Likes Received:
    461
    Best Answers:
    2
    Trophy Points:
    340
    #3
    If you are talking about links pointing to your site, it does not matter. Just stay one way or the other with all back links you build. Either use with or without for all links you build. I always use the one without www for all my blogs. The PR will show up on both version in PR checkers.

    There is no need to remove the redirect, it does not affect anything. I would leave it like it is, I have several blogs and all have done good with the standard set up.
     
    allout, Nov 8, 2008 IP
  4. ddzc

    ddzc Peon

    Messages:
    487
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    great, thanks a lot
     
    ddzc, Nov 8, 2008 IP
  5. Brandon Sheley

    Brandon Sheley Illustrious Member

    Messages:
    9,721
    Likes Received:
    612
    Best Answers:
    2
    Trophy Points:
    420
    #5
    You can also tell google in webmaster tools which formate you prefer ;) with or without the www.
     
    Brandon Sheley, Nov 8, 2008 IP
  6. gemini181

    gemini181 Well-Known Member

    Messages:
    2,883
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    155
    #6
    At the start:
    You really should choose with www or without www and be consistent.

    .htaccess
    (This is a general solution, for no www, not related to any one script)


    RewriteEngine On
    
    RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^example.com$ [NC]
    
    RewriteRule ^(.*)$ http://example.com$1 [L,R=301]
    Code (markup):
     
    gemini181, Nov 8, 2008 IP
  7. allout

    allout Prominent Member

    Messages:
    5,000
    Likes Received:
    461
    Best Answers:
    2
    Trophy Points:
    340
    #7

    Just curious, is this not what Word Press already does. It redirects www to no www?
     
    allout, Nov 8, 2008 IP
  8. golan

    golan Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    In general - you should ONLY use without the WWW
    The fact that wordpress is doing that is a good thing, always make links to your site from other websites the same way - WITHOUT the WWW...

    Why?
    Google sees: www.yoursite.com and yoursite.com as 2 different sites.
    So links to one + links to the other do NOT add up to give you your pagerank.
    Instead you will get: (for example)
    www.yoursite.com PR: 3
    yoursite.com PR: 1
    where you might have gotten yoursite.com PR: 4 if you hadn't split the domain that way.
    (well, this is an example to illustrate, It's not quite that simple, I know)

    Also, new web standards remove the "www." (which is technically, a subdomain) in favor of using the domain directly.

    did that help explain or did I just make it more confusing?
    haha, sometimes I confuse myself, but the idea is there.....
     
    golan, Nov 8, 2008 IP
  9. JackHeskett

    JackHeskett Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I've always used without the www.
     
    JackHeskett, Nov 8, 2008 IP
  10. cipals15

    cipals15 Well-Known Member

    Messages:
    1,085
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    100
    #10
    You can also set it in Google Webmaster Tools.
     
    cipals15, Nov 8, 2008 IP
  11. gemini181

    gemini181 Well-Known Member

    Messages:
    2,883
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    155
    #11
    Your admin > settings >> Main URL

    and

    .htaccess

    can both have an effect.

    I just experiment and figure it out. :p

    .

    ..

    ...

    ....


    .....


    ......



    ....... :)

    ........

    ...........

    ..................


    ...........................



    ........................................




    ................................................... :D :D
     
    gemini181, Nov 8, 2008 IP
  12. malikwiki

    malikwiki Active Member

    Messages:
    563
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #12
    Hello,you can easily change it to www .just login in to account and where you gave the website url change there to www.sitename.com..
     
    malikwiki, Nov 8, 2008 IP
  13. ddzc

    ddzc Peon

    Messages:
    487
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Thanks a lot

    Good to know how to change it in wordpress..most of my links are without www so i'll just stick to it. Thanks again
     
    ddzc, Nov 10, 2008 IP