# How to anonymize your links in Discourse?

**URL:** <https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185>\
**Category:** Support\
**Created:** [2015 年 2 月 12 日午後 11:39 UTC](https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185 "2015-02-12T23:39:25Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![claas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/claas/32/71725_2.png) [@claas](https://meta.discourse.org/u/claas)\
**Post date:** [2016 年 8 月 4 日午後 10:35 UTC](https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185/17 "2016-08-04T22:35:15Z")

</div>

**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).

```html
<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?](https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185)
- **_never_ = (no referrer)**
- _origin_ = [https://meta.discourse.org/](https://meta.discourse.org/)
- _no-referrer-when-downgrade_ = [https://meta.discourse.org/](https://meta.discourse.org/) (but only if destination is a https:// site)
- _origin-when-crossorigin_ = [How to anonymize your links in Discourse?](https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185) for destinations on [meta.discourse.org](http://meta.discourse.org) and [https://meta.discourse.org](https://meta.discourse.org) for other origins)  
(Source: [\<meta\> HTML metadata element - HTML | MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta))

---

_[View the full topic](https://meta.discourse.org/t/how-to-anonymize-your-links-in-discourse/25185)._
