URL rewriting is a software running on web application framework. This software is used to generate more user friendly URL rather than a computer generated URL which are sometimes unreadable.
Websites with dynamic content are often generated with URLs with computer generated content with query string parameters. URL rewriting can be applied in these situations to generate more readable URL.
Ex:
http://www.example.com/Content/Posts.php?Yr=2012&Mon=11&Day=18
this URL can be rewritten as
http://www.example.com/Content/2012/11/18/article1
Benefits of URL Rewriting
Websites with dynamic content are often generated with URLs with computer generated content with query string parameters. URL rewriting can be applied in these situations to generate more readable URL.
Ex:
http://www.example.com/Content/Posts.php?Yr=2012&Mon=11&Day=18
this URL can be rewritten as
http://www.example.com/Content/2012/11/18/article1
Benefits of URL Rewriting
- More cleaner user friendly URLs
- Query strings can be used to compromise information about the websites. URL rewriting minimizes this risk
- Prevent inline linking
Web Frameworks
Almost all the popular web frameworks supports URL rewriting. Following are some of them.
- Apache HTTP Server
- IIS
- Ruby on Rails
- Java EE
- Django
- Codeigniter
Following are some of useful links for URL Rewriting