What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

Here's how a url of a post looks:

http://stackoverflow.com/questions/6166063/microsoft-access-database-instad-of-sqlite-or-local-database

What exactly is happening behind when I try to visit the following url:

http://stackoverflow.com/questions/6166063/some-text-here

?

I mean, does it make a Permanent Redirect from that url (containing some-text-here) to the original one? Or it just focuses on the id and throws everything after the /?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you examine the http traffic when you make a request to http://stackoverflow.com/questions/6166063/some-text-here, the core engine extracts the id, and redirects you to the true url if necessary. So you'll see a Status Code:301 Moved Permanently and the response header will include Location:/questions/6166063/microsoft-access-database-instead-of-sqlite-or-local-database.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .