An example question URL is http://stackoverflow.com/questions/36032064/make-ftp-server-return-files-listed-by-timestamp-with-apache-ftpclient
. But even with a random text replacing the title, the question is identified correctly. Is this text actually part of the question URL? Or it is just added in client side (by browser) to make it more readable?
1 Answer
The question title won't affect the system. You can type anything after the question ID, it won't matter. But why is it there?
- for Search Engine Optimization (SEO) reasons.
Search engines go through millions of pages searching for your search term. When a part of your term matches with a part of the url there's a good chance that it may contain what you are looking for.
- Bookmarks and Browser history (User Experience)
One of the major reasons for using the url binded parameters are because it's easier for the user to get back to his/her saved bookmark, or the post he/she visited few weeks ago by searching through the browser's history/bookmarks. Furthermore browsers will always assist you by matching your history and bookmarks when you type something in the url bar.
- help user to decide whether it is the needed post.
Another reason is that if we share a link to a post without the title there's no way to know what kind of post that is. For an example, someone who knows about apache
ftpclient
may decide to take a look at this http://stackoverflow.com/questions/36032064/make-ftp-server-return-files-listed-by-timestamp-with-apache-ftpclient
.
http://meta.stackoverflow.com/q/319610
even. In fact, that's what you'll get from the "share" link, minus the user id appended to the end.