Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6037595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:05:50+00:00 2026-05-23T06:05:50+00:00

I was reading an article referenced by Jeff Atwood about Yahoo’s Best Practices for

  • 0

I was reading an article referenced by Jeff Atwood about Yahoo’s “Best Practices” for speeding up a website, and I noticed this little gem:

One of the most wasteful redirects
happens frequently and web developers
are generally not aware of it. It
occurs when a trailing slash (/) is
missing from a URL that should
otherwise have one. For example, going
to
http://astrology.yahoo.com/astrology
results in a 301 response containing a
redirect to
http://astrology.yahoo.com/astrology/
(notice the added trailing slash).
This is fixed in Apache by using Alias
or mod_rewrite, or the DirectorySlash
directive if you’re using Apache
handlers.

Does this still happen? The article is pretty old, as the web goes. I think I’ve been doing this for years. I don’t think I’ve noticed this happening lately, but then again I’ve never really looked. Is this an Apache thing? Does IIS 7 do this?

I’m scared. Hold me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:05:51+00:00Added an answer on May 23, 2026 at 6:05 am

    Try it!

    Here are some truncated requests run from the terminal.

    curl -I  http://astrology.yahoo.com/astrology
    
    HTTP/1.0 301 Moved Permanently
    Date: Tue, 21 Jun 2011 13:24:24 GMT
    Location: http://shine.yahoo.com/astrology/
    
    
    curl -I http://wordpress.org/extend
    
    HTTP/1.0 301 Moved Permanently
    Server: nginx
    Date: Tue, 21 Jun 2011 13:26:17 GMT
    Location: http://wordpress.org/extend/
    

    Though it seems that IIS does it the other way:

    curl -I http://www.iis.net/overview
    
    HTTP/1.0 200 OK
    Server: Microsoft-IIS/7.0
    
    curl -I http://www.iis.net/overview/
    
    HTTP/1.0 301 Moved Permanently
    Location: http://www.iis.net/overview
    

    Guess it depends how you have it configured, but it’s definitely something to optimise.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was reading this article about Double-Checked locking and out of the main topic
After reading this article about validating with service layer I have some doubts. First:
After reading this article net.tutsplus.com/tutorials/javascript-ajax/14-helpful-jquery-tricks-notes-and-best-practices/ I came to conclusion that using this.href is more
I was reading this very useful article and noticed that a Windows Phone application
After reading an article about the subject from O'Reilly , I wanted to ask
After reading this article on thedailywtf.com, I'm not sure that I really got the
After reading this article http://lukast.mediablog.sk/log/?p=155 I decided to use mingw on linux to compile
I was reading an article on MSDN Magazine about using the Enumerable class in
I just finished reading this article on the advantages and disadvantages of exceptions and
I was reading an article about how query expressions defer executions. Does that mean

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.