Skip to content

Referer

Indicates the URL of the previous web page from which the current request originated.

The Referer request header contains the absolute or partial address of the previous web page from which a link to the currently requested page was followed. The header is notoriously misspelled in the specification (missing an ‘r’), which has been maintained for backward compatibility.

Browsers automatically send this when users click links, submit forms, or load images embedded from other domains.

Servers use this header extensively for analytics (tracking where traffic is coming from), logging, and occasionally for optimizing caching. It can also be used for rudimentary security, like an image hosting service blocking hotlinking if the Referer isn’t their own site.

The value is simply the URL of the originating page. Referer: https://developer.mozilla.org/en-US/docs/Web

Referer: https://www.google.com/