Semantic URL

Semantic URL

The term semantic URL refers to a URL which is of a form that is immediately and intuitively meaningful to non-experts. Such URL schemes tend to reflect the conceptual structure of a collection of information (see Information Architecture) and decouple the user interface from a server's internal representation of information. Semantic URLs have become an issue in recent years with the increasing use of server-side scripting to power web sites and web services.

Non-semantic URLs

A non-semantic URL is typically composed of a path, script name, and query string. The query string parameters dictate the content that is to be shown on the page, as in the following example: http://example.com/showproduct.cgi?prodid=3448

Problems

The key issue with non-semantic URL is that while the query string parameters can be manipulated by hand, it is not always obvious what their possible values are. For example, many content management systems use a database record number to specify the page. This has a logical meaning only to the database management system, meaning page URLs cannot be inferred by users.

Also, if the site database is moved/restructured, or the site itself is ported to a different software, all of its URLs can change, due to database records being re-ordered, script file names and/or extensions being changed, and so on. This can cause numerous problems, such as broken links (both internally and from external sites) and removal of search engine listings.

How a semantic URL works

A semantic URL replaces long query strings with a simple, traditional path structure. For example, the URL shown above could be replaced with the following: http://example.com/products/example-product

The implementation of this can vary, but most often involves transparently rewriting the semantic URL into the query string form which is understood by the server-side software. Because the rewriting takes place on the server side, the semantic URL is the only form seen by the user.

Key points

Semantic URLs typically have the following qualities:
* are easily remembered,
* indicate navigational structure and position,
* are intuitively manipulated,
* are more durable and more reliably bookmarked, and
* may inadvertently improve security by hiding internal server or application information.

External links

* [http://httpd.apache.org/docs/trunk/mod/mod_rewrite.html mod_rewrite] Apache URL rewriting module.
* [http://www.useit.com/alertbox/990321.html URL as UI]
* [http://www.isoc.org/HMP/PAPER/016/ps/paper.ps The User Interface of URLs (PostScript format)]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Semantic URL attack — In a semantic URL attack, a client manually adjusts the parameters of its request by maintaining the URL s syntax but altering its semantic meaning. This attack is primarily used against CGI driven websites.A similar attack involving web browser… …   Wikipedia

  • Semantic publishing — on the Web or semantic web publishing refers to publishing information as data objects using a semantic web language or as documents with explicit semantic markups. Semantic publication is intended for computers to understand the structure and… …   Wikipedia

  • URL shortening — For information about human generated short URLs on Wikipedia, see WP:WP and mw:Manual:Short URL. URL shortening is a technique on the World Wide Web in which a Uniform Resource Locator (URL) may be made substantially shorter in length and still… …   Wikipedia

  • Semantic Web Services — are self contained, self describing, semantically marked up software resources that can be published, discovered, composed and executed across the Web in a task driven semi automatic way. Semantic Web Services can be defined as the dynamic part… …   Wikipedia

  • Semantic MediaWiki — Тип Расширение Разработчик Технологический институт …   Википедия

  • Semantic memory — refers to the memory of meanings, understandings, and other concept based knowledge unrelated to specific experiences. The conscious recollection of factual information and general knowledge about the world,cite web… …   Wikipedia

  • Semantic Web — The Semantic Web is an evolving extension of the World Wide Web in which the semantics of information and services on the web is defined, making it possible for the web to understand and satisfy the requests of people and machines to use the web… …   Wikipedia

  • Semantic Web Stack — The Semantic Web Stack , also known as Semantic Web Cake or Semantic Web Layer Cake , illustrates the architecture of the Semantic Web. Overview The Semantic Web Stack is illustration of the hierarchy of languages, where each layer exploits and… …   Wikipedia

  • Semantic Research — Infobox Company company name = Semantic Research, Inc. company logo = company type = Private company slogan = I see what you re thinking foundation = 2001 location = 4922 North Harbor Drive San Diego CA key people = Richard T. Chip Harrison, CEO… …   Wikipedia

  • Semantic service oriented architecture — A Semantic Service Oriented Architecture (SSOA) is a computer architecture that allows for scalable and controlled Enterprise Application Integration solutions. [ [http://www.wsmx.org/papers/publications/SSOA.pdf Exposing Semantic Web Service… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”