Speed Up Your Site: Use a slash on your links

By Daniel Scocco

When a server opens a link in the form of “http://www.domain.com/about” it will need to figure what kind of file or webpage is contained on that address, wasting time on the process. If instead of using that link you include a slash (“/”) at the end like “http://www.domain.com/about/” the web server will already know that the link points to a directory, reducing the time to load the page.

The improvement on the loading time of links ending with a slash will not be astronomical, but when it comes to speeding up a website every small bit helps!

Speed Up Your Site Series:

  1. Optimize Images
  2. Image Formats
  3. Optimze Your CSS
  4. Use a Slash on Your Links
  5. Use the Height and Width Tags
  6. Reduce the HTTP Requests


Related Articles

Please install the YARPP plugin

Share

61 Responses to “Speed Up Your Site: Use a slash on your links”

  • Keith Davis

    Wow – never knew that.
    Easy to do so I’ll give it a try on all my future links.

  • Smackitta

    i dindn’t know it !! 🙂 many thanks 🙂 i’ll try it for all my links

  • Bang Kritikus

    Thanks this is new information for me

  • morton benson crack

    morton benson crack morton benson crack [link=http://oneway.si/store/PDF/docs/laxsitsed.html]morton benson crack[/link] morton benson crack morton benson crack [link=http://oneway.si/store/PDF/docs/laxsitsed.html]morton benson crack[/link]

  • johny

    Thanks for the info. I always use slash for any url. Anyway, I bookmark on some social bookmarking websites, but they cannot display the slash at the end of url. So I want to redirect the page with non-slash-end url to normal url that contain slash at the end.
    How can I do for my website ?

    Thank you in advance …….

  • webhosting

    @maht,

    its not about saving traffic iets about winning load speed of your site.
    server has les calculations sow result is faster

  • darraccn

    daracelou

  • delpasget

    eltvarcao

  • Andrew David

    You must use mod_rewrite from htacces file (it is a file like robots.txt), it isn’t very complicated.

  • WebProffy

    Hi, Daniel!
    Can you help me… I have links as “http://www.site.com/about”
    And I want my links look like this: “http://www.site.com/about/” (with LAST slash)… For 301 redirect I use recommended plugin “enforce-www-preference”… What can I do to have links with LAST slash???

    Help me, PLEASE!!!
    Thx!

  • WebProffy

    Ohh… sorry… http://www.site.COM everywhere in my previous post… Sor… (not post this post as a comment – it’s correction of my prev…)

  • WebProffy

    Hi, Daniel!
    Can you help me… I have links as http://www.site.com/about
    And I want my links look like as this: http://www.site.ru/about/ (with LAST slash)… For 301 redirect I use recommended plugin “enforce-www-preference”… What can I do to have links with LAST slash???

    Help me, PLEASE!!!
    Thx!

  • Daniel

    Google does not care.

  • Andrei Ancuta

    I have a dillema, how does google reacts if i add a slash at the end of my links because don’t want to lose my rankings.

  • Surfer

    Great Tips Yo !!
    Keep it going if anyone has any suggestion on
    on my site please comment on it.

    thanx

  • Basketer

    I am ussing a blogger platform. Please help me through the procedure for changing the link since I cant find any option related to that in blogger.

    Basketer/

  • Zander

    Very useful, cheers for pointing this out.

  • Thilak

    After reading all comments which follow up. I think the debate is not about bandwidth, it all about pageload speed. Visitors always want the page to load as quick as possible.

  • Eli

    Must automatically do it or something, I just checked all three of my WordPress installations and all the permalinks end in /, which is the way I like it anyway! 😀

    Good tip anyway! 🙂

  • Piyal

    very good tip

Comments are closed.