• Hello,

    How can i change the headers in the wordpress multi site instalation?

    I need to use the following header settings:
    – X-Frame-Options: SAMEORIGIN
    – Content-Security-Policy: upgrade-insecure-requests; block-all-mixed-content;
    – Referrer-Policy: strict-origin-when-cross-origin
    – Permissions-Policy: microphone=(), camera=(), payment=(self)
    – X-Content-Type-Options: nosniff
    – Strict-Transport-Security: max-age=31536000;`

    Can someone help? Thanks in advance.

    • This topic was modified 3 years, 3 months ago by James Huff. Reason: moved to Networking WordPress since this is a multisite question
Viewing 1 replies (of 1 total)
  • Thread Starter carlajesus

    (@carlarrj)

    Hello,

    I’ve insert in .htaccess the headers but the wordpress don’t recognize. What can i do?

    <IfModule mod_headers.c>
    Header always set X-Frame-Options "SAMEORIGIN"
    Header always set X-Content-Type-Options "nosniff"
    Header always set Strict-Transport-Security "max-age=31536000;"
    # Header set Content-Security-Policy ...
    Header always set Content-Security-Policy "upgrade-insecure-requests; block-all-mixed-content"
    Header always set Referrer-Policy "strict-origin-when-cross-origin"
    Header always set Permissions-Policy "microphone=(), camera=(), payment=(self)"
    Header set X-Powered-By "DENY"
    Header set Server "DENY"
    </IfModule>

    Can someone help? Thanks in advance.

Viewing 1 replies (of 1 total)
  • The topic ‘headers in the wordpress multi site instalation’ is closed to new replies.