Guide
Guide on Checking and Configuring the Referrer-Policy Header
Updated December 2026
To check and set the Referrer-Policy header, you first need to verify its presence on your website and then configure it to match your security needs. This process protects user data by controlling how much information browsers share when navigating pages.
Ensuring a correct Referrer-Policy is crucial for UK small business owners to maintain online privacy and trust. Providing clear steps, this guide helps you verify and set your Referrer-Policy header effectively.
Follow the steps outlined here to make sure your website's Referrer-Policy is in place and correctly configured, strengthening your site’s security controls.
Step 1: Verify the Current Referrer-Policy Header
Begin by checking if your website already includes a Referrer-Policy header. Use online tools like the free EB Security checker to scan your site easily and view the header's current status.
Check for the presence and value of the Referrer-Policy header in the scan results. This will help identify if any adjustments are necessary for better security.
Step 2: Decide on the Appropriate Referrer-Policy Setting
Choose a Referrer-Policy setting based on your privacy goals. Options range from 'no-referrer', which sends no referrer information, to 'unsafe-url', which sends the full URL.
Consider the implications of each policy: stricter settings offer more privacy, while permissive policies may aid in analytics tracking.
Step 3: Modify the Referrer-Policy Header in Your Server Configuration
To set or adjust the Referrer-Policy, access your server's configuration files. The method varies depending on your server type (e.g., Apache, Nginx).
Insert or update the Referrer-Policy directive to reflect your desired setting. Be sure to save changes and restart your server for adjustments to take effect.
- Apache: Add 'Header set Referrer-Policy "no-referrer"' to .htaccess.
- Nginx: Add 'add_header Referrer-Policy "no-referrer";' to the server block.
Free, instant, no account
See your site's security grade in seconds.
Free, instant, and no account needed to see your grade.
Plain-English A to E grade in about 10 seconds. No account needed to see it.
Step 4: Test the Implemented Referrer-Policy Header
After configuration, verify that your Referrer-Policy header is correctly set by re-scanning your site with the EB Security tool or another reliable checker.
Ensure the scan reflects the intended policy and observe any changes in referrer information when accessing your site from browsers.
Why is a Referrer-Policy Important for Your Website?
A proper Referrer-Policy safeguards sensitive referrer information, enhancing user privacy and preventing potential data leakage.
For UK businesses, setting an appropriate policy helps in compliance with privacy regulations and fosters customer trust by demonstrating a commitment to data protection.
Common questions
How do I know if my site has a Referrer-Policy header?
What is the safest Referrer-Policy setting?
Why can't the scanner set my Referrer-Policy header for me?
Is a Referrer-Policy the same as an HTTPS policy?
Can incorrect Referrer-Policy settings affect my site's performance?
Keep exploring
Free, instant, no account
Check your website now, free.
A free, plain-English A to E grade in about 10 seconds, with monthly monitoring if you want it.
Plain-English A to E grade in about 10 seconds. No account needed to see it.