Referrer-Policy controls how much of a referring URL the browser includes with a request. Choose the privacy boundary your site needs.
What the policy controls
The request header is spelled Referer, while the policy is Referrer-Policy. Referrer information can identify the page a visitor came from. Paths and query strings can reveal more than you intended.
The policy controls this browser behavior; it does not remove sensitive information from URLs, server logs, or links shared by visitors.
Two practical choices
Referrer-Policy: strict-origin-when-cross-originThis sends the referring URL within the same origin, only the origin across origins, and no referrer on an HTTPS-to-HTTP downgrade. URL fragments and credentials are excluded.
no-referrer omits referrer information entirely. It gives a stronger privacy boundary but may affect referral reporting or integrations that expect that information.
Check the actual request
Modern browsers commonly default to strict-origin-when-cross-origin. A missing response policy is therefore not proof that full URLs leak to third parties.
Test a representative outgoing request in browser developer tools. HTML referrer settings and individual link attributes can also affect the result. Keep passwords and tokens out of URLs regardless of the chosen policy.