Jump to content

Permalink

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 3primetime3 (talk | contribs) at 03:35, 1 April 2016 (Reverted 1 edit by 59.94.99.112 (talk) to last revision by 204.44.10.4. (TW)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A permalink (portmanteau of permanent link) is a URL that points to a specific web page, often a blog or forum entry that has passed from the front page to the archives, or that results from a database search. Because a permalink remains unchanged indefinitely, it is less susceptible to link rot. Most modern weblogging and content-syndication software systems support such links. Other types of websites use the term permanent links, but the term permalink is most common within the blogosphere. Permalinks are often rendered simply, so as to be human-readable.

History

Originally, all hyperlinks were permalinks, as content was static. However, when many web pages became dynamic, this was often no longer the case.

One cited early use of the term permalink in its current sense was by Jason Kottke on March 5, 2000, in a post titled: "Finally. Did you notice the".[1] Matt Haughey had discussed a permalink style feature with Blogger co-founders Evan Williams and Paul Bausch the previous weekend, and Bausch had pointed out that it was technically feasible to produce permanent links in Blogger, using a feature (written by him) that allowed the ID of a post to be placed in a Blogger template. In response to Kottke's blog, on March 6, 2000, Matt Haughey posted the technical details on his own weblog,[2] which helped open the way to widespread adoption.[citation needed]

Purpose

Permanence in links is desirable when content items are likely to be linked to, from, or cited by a source outside the originating organization. Before the advent of large-scale dynamic websites built on database-backed content management systems, it was more common for URLs of specific pieces of content to be static and human readable, as URL structure and naming were dictated by the entity creating that content. Increased volume of content and difficulty of management led to the rise of database-driven systems, and the resulting unwieldy and often-changing URLs necessitated deliberate policies with regard to URL design and link permanence.

For example, Wikipedia's internal cgi-based URLs are made more readable by simplifying them. The internal URI for a Wikipedia article named Example, which is http://en.wikipedia.org/w/index.php?title=Example, is generated via URL rewriting from the more human-readable external URL, http://en.wikipedia.org/wiki/Example.

An entry in a blog with many entries is accessible from the site's front page for only a short time. Visitors who store the URL for a particular entry often find upon their return that the desired content has been replaced by something new. Prominently posting permalinks is a method employed by bloggers to encourage visitors to store a more long-lived URL (the permalink) for reference.

Permalinks frequently consist of a string of characters that represent the date and time of posting, and an identifier that denotes the author who initially authored the item or its subject. Crucially, if an item is changed, renamed, or moved within the internal database, its permalink remains unaltered, as it functions as a magic cookie that references an internal database identifier. If an item is deleted altogether, its permalink can frequently not be reused.

Permalinks have subsequently been exploited for a number of innovations, including link tracing and link trackback in weblogs, and referring to specific weblog entries in RSS or Atom syndication streams

Comparing with PURL

Both permalink and PURL are used as a persistent URL, and redirect to the location of the requested web resource.

The main differences in the concepts are about domain name and time scale: PURL uses an independent (preserved) domain name, and is about decades; permalink is about years, and usually does not change the URL's domain.

On Wikipedia, a permanent link to a specific version of an article is obtained from the "Permanent link" entry in the toolbox.

Many blogging and content management systems do not support versioning of content, that is, if an entry is updated, a uniquely accessible version is not created. Thus, in the context of these systems, a permalink may refer to different content over time. In the context of systems that support versioning, such as most wikis, a permalink is commonly understood as a link to a specific version. Here, both the link itself and the resource it refers to should not change over time.

MediaWiki, the software that runs Wikipedia, supports this type of permanent link. In its current implementation, old versions of specific articles, images, and templates are referenceable by unique unchanging URLs, though current entries may not use old versions of images and templates. Permanent links to specific versions are recommended for citing articles from sources such as Wikipedia and Wikinews, to ensure that the content remains unchanged for review. A reviewer can then view the cited revision, the current revision, and the differences between the two.

Presentation

Blog entries are usually laid out as follows:

  • Title
  • Date
  • Entry
  • Comments, permalink, and what category the entry was posted to (known as metadata)

Permalinks are usually denoted by text link (i.e. "Permalink" or "Link to this Entry"), but sometimes a symbol may be used. The most common symbol used is the hash sign, or #. However, certain websites employ their own symbol to represent a permalink such as an asterisk, a dash, a pilcrow (¶), a section sign (§), or a unique icon.

Permalinks can be indicated within the HTML of a page so as to allow automated browsing tools to detect the permalink and use it for linking instead of the stated URL. The link element should include the following attributes:

<link rel="bookmark" href="http://example.com/bookmark/123/" />

See also

References