How to Add Referrer Policy Security Header in WordPress

Опубликовано: 11 Февраль 2025
на канале: WebTask With Hassan
1,595
23

In this wordpress tutorial for beginners you will learn how to enable / set Referrer-Policy http security header in wordpress website /domain using htaccess file.

Find Code in Top Pinned Comment Section.
Add code in .htaccess file.
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "no-referrer"

#referrerpolicy #htaccess #header #securityheaders #website #wordpress #wordpresstutorial #webtaskwithhassan #hassangilani