Referrer-Policy header
One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.
What audibot checks
Whether the home page sends a Referrer-Policy response header, with any value. A <meta name="referrer"> tag is not read.
- Pass
The header is set.
- Warning
The header is missing, so each browser applies its own default.
Why it matters
The Referer header tells the next site which page a visitor came from — sometimes including a path or query string that names an account, a search or a token. An explicit policy decides how much leaves the site instead of leaving it to each browser.
Which Referrer-Policy should I use, and how do I set it?
strict-origin-when-cross-origin sends the full URL within the site, only the origin to other HTTPS sites, and nothing to plain HTTP. Use no-referrer if other sites never need to know where traffic came from.
nginx
add_header Referrer-Policy "strict-origin-when-cross-origin" always;Apache (mod_headers)
Header always set Referrer-Policy "strict-origin-when-cross-origin"Caddy
header Referrer-Policy "strict-origin-when-cross-origin"Related tools
- Security headers checker — Check the HTTP security headers sent by a homepage.
- Security headers generator — Write security header settings for your web server or hosting platform.
Other checks in Security headers
- Strict-Transport-Security (HSTS) header
- Content-Security-Policy header
- X-Content-Type-Options: nosniff
- Clickjacking protection (frame-ancestors / X-Frame-Options)
- Permissions-Policy header
- Software versions in response headers
- Cookie flags: Secure, SameSite and HttpOnly
- security.txt
Security headers in the methodology ·All guides
This check is one step of the website launch checklist.
Check your site
audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.