---
title: "The Referrer-Policy is missing or leaks addresses"
description: "There is no Referrer-Policy, or one that sends full page addresses to other sites, possibly with private details in them."
url: https://ursy.com/issues/referrer-policy/
updated: 2026-11-30T12:53:05+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/referrer-policy/
---

# The Referrer-Policy is missing or leaks addresses

> There is no Referrer-Policy, or one that sends full page addresses to other sites, possibly with private details in them.

There is no Referrer-Policy, or one that sends full page addresses to other sites, possibly with private details in them.

## Why it matters {#why-it-matters}

When a visitor follows a link, or a page loads a file from another site, the browser can tell that site which page they came from. With unsafe-url or no-referrer-when-downgrade, the full address goes along, including anything after the domain, such as search words or order numbers.

Current browsers default to strict-origin-when-cross-origin, which is a sound choice, but older browsers sent full addresses. A value browsers do not know is ignored.

## How to fix it {#how-to-fix-it}

Send "Referrer-Policy: strict-origin-when-cross-origin". It keeps full addresses inside your own site, sends only your domain to others, and sends nothing from https to http.

Check the spelling, because browsers ignore a value they do not recognise. Check with the Security Headers Checker.

### What the problem looks like {#what-the-problem-looks-like}

```
Referrer-Policy: unsafe-url
```

Sends the full address of every page, including anything after the domain, to every other site.

### What it looks like fixed {#what-it-looks-like-fixed}

```
Referrer-Policy: strict-origin-when-cross-origin
```

Full addresses stay inside your site, other sites see only your domain, and nothing goes from https to http.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
Help me set a safe Referrer-Policy on [your website address], which runs on [your platform or server, e.g. Shopify, or WordPress on nginx]. A checker says the policy is missing, misspelt, or sends full page addresses to other sites. First check: run "curl -sI https://[your domain]/" (or ask me to paste the headers) and read the page source for meta referrer tags and referrerpolicy attributes. Tell me which pages could carry private details in their addresses, such as search words, order numbers or email addresses. Explain plainly what is sent today. Then give me the exact change: "Referrer-Policy: strict-origin-when-cross-origin", set in one place, spelt exactly. Rules: back up first, keep all other headers, remove only conflicting looser values, and if a partner needs to know which page a visitor came from, suggest a tracking parameter in that link instead. Give the exact line and where it goes. Finally, tell me to re-check with the URSY.com Security Headers Checker at ursy.com/security-headers-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Many security plugins have a Referrer-Policy setting. Check that a plugin or theme is not adding a looser one.

### A hand-made site {#a-hand-made-site}

If you cannot set headers, <meta name="[referrer](https://ursy.com/wiki/referrer/)" content="strict-origin-when-cross-origin"> in the head of each page does the same job.

### Your server or hosting {#your-server-or-hosting}

On nginx add add_header Referrer-Policy "strict-origin-when-cross-origin" always; and on Apache Header always set Referrer-Policy "strict-origin-when-cross-origin".

## Check it is fixed {#check-it-is-fixed}

Run the Security Headers Checker again: it should find Referrer-Policy set to strict-origin-when-cross-origin, or another value that does not leak full addresses.

## Official source {#official-source}

[MDN: Referrer-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy)

## Questions {#questions}

### Will partners still see where visitors came from? {#will-partners-still-see-where-visitors-came-from}

They will see your domain, not the full page address. If a partner needs the exact page, add it to the link as a parameter.

### Does it change my own analytics? {#does-it-change-my-own-analytics}

Visits between your own pages keep the full address. What you see about visitors from other sites depends on their policy, not yours.

---

**Cite this page:** The Referrer-Policy is missing or leaks addresses. URSY.com. Updated 30 November 2026. https://ursy.com/issues/referrer-policy/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[The Referrer-Policy is missing or leaks addresses](https://ursy.com/issues/referrer-policy/), URSY.com`. One section: add its id, for example https://ursy.com/issues/referrer-policy/#section-id (every heading above has one).

Section links: https://ursy.com/citations/21/#p-5749 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/referrer-policy/
- As JSON: https://ursy.com/issues/referrer-policy/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
