• Resolved Bas

    (@basz85)


    Hi,

    First off: I love the plugin! Easy to set-up!

    I have installed and configured this plugin on my sites, all of them (exclude 1) scores a A+ grade. Only one site stays for a bit on A+ grade but dropped down to C grade.

    I have compared one of the .htaccess of a A+ grade site and with the .htaccess C grade site, and I see something does not stay. Here’s an example:

    A+ grade .htaccess of site:

    # BEGIN Headers Security Advanced & HSTS WP 5.2.4
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Methods "GET,POST"
    Header set Access-Control-Allow-Headers "Content-Type, Authorization"
    Header set Content-Security-Policy "upgrade-insecure-requests"
    Header set Cross-Origin-Embedder-Policy "unsafe-none; report-to='default'"
    Header set Cross-Origin-Embedder-Policy-Report-Only "unsafe-none; report-to='default'"
    Header set Cross-Origin-Opener-Policy "unsafe-none"
    Header set Cross-Origin-Opener-Policy-Report-Only "unsafe-none; report-to='default'"
    Header set Cross-Origin-Resource-Policy "cross-origin"
    Header set Permissions-Policy "accelerometer=(), autoplay=(), camera=(), cross-origin-isolated=(), display-capture=(self), encrypted-media=(), fullscreen=*, geolocation=(self), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), payment=*, picture-in-picture=*, publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=*, usb=(), xr-spatial-tracking=(), gamepad=(), serial=()"
    Header set Referrer-Policy "strict-origin-when-cross-origin"
    Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
    Header set X-Content-Security-Policy "default-src 'self'; img-src *; media-src * data:;"
    Header set X-Content-Type-Options "nosniff"
    Header set X-Frame-Options "SAMEORIGIN"
    Header set X-Permitted-Cross-Domain-Policies "none"
    </IfModule>
    # END Headers Security Advanced & HSTS WP

    C grade .htaccess of site

    # BEGIN Headers Security Advanced & HSTS WP 5.2.4
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Methods "GET,POST"
    Header set Access-Control-Allow-Headers "Content-Type, Authorization"
    Header set Content-Security-Policy "upgrade-insecure-requests;"
    Header set Cross-Origin-Embedder-Policy "unsafe-none; report-to='default'"
    Header set Cross-Origin-Embedder-Policy-Report-Only "unsafe-none; report-to='default'"
    Header set Cross-Origin-Opener-Policy "unsafe-none"
    Header set Cross-Origin-Opener-Policy-Report-Only "unsafe-none; report-to='default'"
    Header set Cross-Origin-Resource-Policy "cross-origin"
    Header set Referrer-Policy "strict-origin-when-cross-origin"
    Header set X-Content-Security-Policy "default-src 'self'; img-src *; media-src * data:;"
    Header set X-Permitted-Cross-Domain-Policies "none"
    </IfModule>
    # END Headers Security Advanced & HSTS WP

    As you can see, there’s a difference. How can I make the the C grade site to A+ grade? 🙂

    Thanks in advance & kind regards, Bas

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrea Ferro

    (@unicorn03)

    hello @basz85 ,

    Thank you for your topic, I’m Andrea and I’ll help you with your request. I ask you if you can write to me at support@openheaders.org so that I can ask you for information and help you in the fastest way.

    Thread Starter Bas

    (@basz85)

    Hi Andrea,

    Apologies for the delay. Busy times before festive holidays. Nice to meet you.

    I understand your request by e-mail. Isn’t much more helpful for others (they have the same issue like I do with the down grade) to assist here than regarding e-mail?

    Kind regards, Bas

    Plugin Author Andrea Ferro

    (@unicorn03)

    hi @basz85,

    Don’t worry during the holidays there’s always a lot to organize I understand 😁

    For me no problem I’ll write you here what you should check on the site that is not updating the grade.

    I’ll describe some steps to check because as long as your hosting overwrites some rules.

    • In the menu on the left click on: settings > Headers Security Advanced &HSTS WP > check that there are no ticks on hide duplicate headers
    • Always check in settings > Headers Security Advanced & HSTS WP > that HSTS is checked (includeSubDomains, Preload)

    If you use cloudflare or third-party services I ask you to delete or force the cache.

    I remain available to help you as soon as possible with your website.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘First went to A+ now grade C.’ is closed to new replies.