Solution: It’s best to customize your Discourse instance by adding the following snippet before </head>
, which is at least supported by current versions of Chrome and Firefox (but not e.g. in IE 11).
<meta name="referrer" content="never" />
The supported values and corresponding referrers being sent (taking this topic as an example) are:
- unsafe-URL (default) = How to anonymize your links in Discourse?
- never = (no referrer)
- origin = https://meta.discourse.org/
- no-referrer-when-downgrade = https://meta.discourse.org/ (but only if destination is a https:// site)
-
origin-when-crossorigin = How to anonymize your links in Discourse? for destinations on meta.discourse.org and https://meta.discourse.org for other origins)
(Source: <meta>: The Document-level Metadata element - HTML: Hypertext Markup Language | MDN)