Publish Links With Or Without "/" On End Of URL

Discussion in 'Google Sitemaps' started by GreenLED, Jun 21, 2008.

  1. #1
    When I'm sharing links with other websites, should I publish those links with or without backslashes on the end of the url like this »

    Example A » http://example.com/
    Example B » http://example.com

    Which link works best. This question is mainly related to link popularity. It is a fact that link popularity is affected when you use www as a prefix for your domain. That is to say, if you used www on 50% of your links and did not use www on the other 50%, you would have half the link popularity. Therefore, if you use a backslash on 50% of your links (assuming your sharing your domain only and not a specific page) would you get half the link popularity in this example? Any thoughts on this?

    » Respectfully, GreenLED
     
    GreenLED, Jun 21, 2008 IP
  2. GreenLED

    GreenLED Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Does anyone have any thoughts on this question?
     
    GreenLED, Jul 1, 2008 IP
  3. cormac

    cormac Peon

    Messages:
    3,662
    Likes Received:
    222
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Always use the forward slash. Take a read of Matt's comment about it. He doesn't admit that it could cause a problem but he does suggest using it.
     
    cormac, Jul 3, 2008 IP
  4. GreenLED

    GreenLED Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I was overjoyed to know that i have been posting my links with the forward slash as a regular habit ;)!
     
    GreenLED, Jul 30, 2008 IP
  5. catanich

    catanich Peon

    Messages:
    1,921
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #5
    catanich, Aug 22, 2008 IP
  6. plepco

    plepco Peon

    Messages:
    97
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It requires one less operation for your server as well, when you include the closing slash...not that it makes that much of a difference.
     
    plepco, Aug 23, 2008 IP
  7. Ragu

    Ragu Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you're listing just the domain name as the URL, your browser automatically includes a "/" at the end (since this is actually required for the HTTP GET request). However, if you're linking deeper into a site and including a directory, such as:
    http://www.example.com/products
    Your server will automatically return a 301 redirect if you should have included a trailing "/". (Your browser doesn't know if "products" is a filename or a directory, so it's up to the server to correct it if it's wrong.)

    I think Google doesn't love redirects, so you might want to include the trailing slash where required. (I verified the 301 with HTTP Analyzer.)
     
    Ragu, Aug 25, 2008 IP