Hi,
im September hattet ihr mir schon einmal zu dem Thema geholfen (https://kriesi.at/support/topic/referrers-leaked/). Leider funktioniert der damals vorgeschlagene Code für “referrers leaked” nicht mehr.
function avia_header_scripts_custom(){
?>
<meta name="referrer" content="no-referrer">
<?php
}
add_action('wp_head', 'avia_header_scripts_custom');
Und ich würde gerne zusätzlich noch “<meta http-equiv=”Content-Security-Policy” content=”script-src ‘self'”>” integrieren. Das geht doch bestimmt in Verbindung mit der “referrers leaked” Einstellung?
Würde mich sehr über Hilfe freuen. Danke!!!!
Hey robaldo,
Where do you add that code?
Please reply and write in English the problem, will be easier for us and faster to help.
Best regards,
Basilis
Hi Basilis,
Sorry – I thought due to your origin country language wouldn’t matter :-D
As recommended in the original post (see link above) I had included this in the childs functions.php. In September last year this worked. But when testing now it doesn’t anymore. Maybe a question of the new update?
Thanks!
Hi robaldo,
Could you please give us a link to your website, we need more context to be able to help you.
Is the code still there?
Best regards,
Victoria
Hi Victoria,
Yes it is – in the file /wp-content/themes/enfold-child/functions.php.
You can find the website below in “private content”.
Thank you!
Hi rob,
You can add the tag in the function that you already have. In this function I meant avia_header_scripts_custom.
Best regards,
Victoria
Thanks – I’ll try
Hi,
Please let us know if you need further help, or if we should close.
Best regards,
Jordan Shannon
Please close – thank you!
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon