Benefits and Drawbacks
There are several benefits to using a rewrite engine for URLs:
- The links are "cleaner" and more descriptive, improving their "friendliness" to both users and search engines.
- They prevent undesired "inline linking", which can waste bandwidth.
- They hide the inner workings of a web site's address to visitors, which can prevent them from discovering query strings that could compromise the site.
- The site can continue to use the same URLs even if the underlying technology used to serve them is changed (for example, switching to a new blogging engine).
There can, however be drawbacks as well; if a user wants to modify a URL to retrieve new data, the rewrite engine may hinder the construction of custom queries due to the lack of named variables. For example, it may be difficult to determine the date from the following format:
http://www.example.com/Blog/06/04/02/In this case, the original query string was more useful, since the query variables indicated month and day:
http://www.example.com/Blog/Posts.php?Year=2006&Month=04&Day=02Read more about this topic: Rewrite Engine
Famous quotes containing the words benefits and/or drawbacks:
“I do seriously believe that if we can measure among the States the benefits resulting from the preservation of the Union, the rebellious States have the larger share. It destroyed an institution that was their destruction. It opened the way for a commercial life that, if they will only embrace it and face the light, means to them a development that shall rival the best attainments of the greatest of our States.”
—Benjamin Harrison (18331901)
“France has neither winter nor summer nor moralsapart from these drawbacks it is a fine country.”
—Mark Twain [Samuel Langhorne Clemens] (18351910)