ProPrivacy is reader supported and sometimes receives a commission when you make purchases using links on this site.

Why Should you Change your Referer Header settings & How to do it

When you click on a hyperlink to visit a webpage, the URL of the webpage you came from is normally identified and recorded (in its ‘referer log’) by the new page. This information is automatically appended to the HTTP header field when requesting a new webpage, and is known as an HTTP Referer (originally a misspelling of referrer).

While generally a useful piece of information for visited websites, the information contained in a referrer can be abused to track website visitors across the internet, especially when combined with cookies and other tracking techniques. Search engines, in particular, are bad at giving away information in Referer Headings, as they often include the search terms used to find a web page.

Disabling Referer Headers in Firefox

In Firefox it is easy to prevent the browser sending referrer information when you click on a URL.

  1. Type ‘about:config’ in the URL bar, and hit enter (you may have to click though a, ‘I’ll be careful, I promise!’ warning)
  2. In the search bar type ‘network.http.sendRefererHeader’
  3. Double-click on the ‘network.http.sendRefererHeader’ preference when it comes up
  4. Enter an integer value of 0, 1, or 2 or in the dialog box, then hit OK and close the ‘about:config’ tab


Firefox referer heading

The integer value you enter into step 4 determines how Firefox handles Referer Headings:

Value 0 - completely disables the Referer Header. This is probably what you want, but it does break some websites (most notably WordPress)

Value 1 - Sends a Referer header when clicking on a link, but not when loading images on a page. This should prevent most cross-site tracking using cookies, whilst also allowing sites that rely on Referer Headers (such as WP) to function properly

Value 2 - This is the default setting, and sends the Referrer Header.

Other options

Those wanting more fine grained control can try using the Change Referer Button, and Referrer Control Firefox add-ons. Both allow you to easily toggle the 'network.http.sendRefererHeader' setting on and off, and to create blacklists/whitelists for websites.

Google Chrome does not allow you to turn off Referer Header in its settings, but the Referer Control extension is available from the Chrome Store.

Remember also that Referer Headers are only passed on when you click through a link. Cutting and pasting a web address into a browser’s URL bar, or typing it out manually, will also prevent any Referer Headers being sent to the visited website.

for more information take a look at our best VPN list.

Written by: Douglas Crawford

Has worked for almost six years as senior staff writer and resident tech and VPN industry expert at Widely quoted on issues relating cybersecurity and digital privacy in the UK national press (The Independent & Daily Mail Online) and international technology publications such as Ars Technica.


Donald Edward
on February 21, 2015
The referring site can be included as a parameter in the url as does bestvpn in their email links. Firefox won't remove this.
Douglas Crawford replied to Donald Edward
on February 23, 2015
Hi Donald, Granted, and good point, although this does mean deliberately adding the referring site as a parameter in the URL, rather than it happing automatically.

Write Your Own Comment

Your comment has been sent to the queue. It will appear shortly.

Your comment has been sent to the queue. It will appear shortly.

Your comment has been sent to the queue. It will appear shortly.

  Your comment has been sent to the queue. It will appear shortly.

We recommend you check out one of these alternatives:

The fastest VPN we test, unblocks everything, with amazing service all round

A large brand offering great value at a cheap price

One of the largest VPNs, voted best VPN by Reddit

One of the cheapest VPNs out there, but an incredibly good service