Skip to main content
SlapMyWeb
How to fix Missing Referrer-Policy Header โ€” SlapMyWeb cinematic hero
Fix Guide

How to Fix Missing Referrer-Policy Header

Easy Medium Impact

Platform-Specific Instructions

WordPress
You can add the Referrer-Policy header using a security plugin like Wordfence or by adding the code to your .htaccess file.
Shopify
Shopify does not permit custom headers; consider using security apps like 'Shopify Security'.
Next.js
Configure headers in the `next.config.js` file. Example: module.exports = { async headers() { return [{ source: '/(.*)', headers: [{ key: 'Referrer-Policy', value: 'no-referrer', }], }]; }, };

Want to find all issues at once?

Run a free audit and get a prioritized fix list with auto-generated code.

Run a free audit
How to Fix Missing Referrer-Policy Header โ€” Fix Guide | SlapMyWeb