HTTP Referrer or Referrer

HTTP Referrer or Referrer

HTTP Referrer or Referrer

The referrer (referer, or HTTP referrer) is simply the URL of an element that leads to the current: for example, the referrer of an HTML page may be another HTML page. In essence, it represents the source from which a user becomes aware of a page. The referer is part of an HTTP request sent by the browser to the web server.

HTTP Referrer: Uses

To find the referer via JavaScript, you can use the document.referrer variable, while in the PHP variable is called $ _SERVER [‘HTTP_REFERER’] or via $ _SESSION [“HTTP_REFERER”], as required. Many management tools have an internal blog feature of the collection, analysis and control of the referrer, making the results public, these features were originally designed to “return the favor”, or relinking pages which provided a link to the page in question: ultimately these features have been heavily targeted by spam.

HTTP Referrer: Examples

To have a practical example on the referer, simply visit This service tracks information referer and simultaneously automatically removes the referer unwanted (spam).

HTTP Referrer: Referer or referrer?

Referer is the English version of American English word referrer (double r), which means “refers to”. This version is the one that is imposed in common, and has been used in the official specification of HTTP (the communication protocol of the World Wide Web). It therefore has become the standard industry spelling when referring to the HTTP referer.

Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons.