-
AuthorPosts
-
February 3, 2019 at 3:42 pm #1062256
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!!!!
February 5, 2019 at 2:01 pm #1063178Hey 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,
BasilisFebruary 5, 2019 at 5:54 pm #1063234Hi 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!February 9, 2019 at 8:52 pm #1064988Hi 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,
VictoriaFebruary 10, 2019 at 8:10 am #1065060Hi 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!
February 11, 2019 at 7:08 pm #1065614Hi rob,
You can add the tag in the function that you already have. In this function I meant avia_header_scripts_custom.
Best regards,
VictoriaFebruary 12, 2019 at 10:45 pm #1066121Thanks – I’ll try
February 13, 2019 at 12:08 am #1066157Hi,
Please let us know if you need further help, or if we should close.
Best regards,
Jordan ShannonFebruary 13, 2019 at 7:55 pm #1066617Please close – thank you!
February 13, 2019 at 8:56 pm #1066637Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Referrers leaked + Content Security Policy’ is closed to new replies.
