Saturday, June 19, 2010

URL rewriting

A rewrite engine is software that modifies a web URL's appearance (URL rewriting). Rewritten URLs (sometimes known as short, fancy URLs, or search engine friendly - SEF) are used to provide shorter and more relevant-looking links to web pages. The technique adds a degree of separation between the files used to generate a web page and the URL that is presented to the world.


Examples

This URL contains query string parameters that encode blog entry dates

http://www.example.com/Blog/Posts.php?Year=2006&Month=12&Day=19

but can be altered to give the user a clear idea of what he or she is going to see

http://www.example.com/Blog/2006/12/19/

The second address also allows the user to change the URL to see all postings available in December, simply by removing the text encoding the day '19', and thereby saving having to navigate the GUI.


http://www.example.com/Blog/2006/12/


Thank you,

No comments:

Post a Comment