Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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!!!!

    #1063178

    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

    #1063234

    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!

    #1064988

    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

    #1065060

    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!

    #1065614

    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

    #1066121

    Thanks – I’ll try

    #1066157

    Hi,

    Please let us know if you need further help, or if we should close.

    Best regards,
    Jordan Shannon

    #1066617

    Please close – thank you!

    #1066637

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Referrers leaked + Content Security Policy’ is closed to new replies.