Problems with recommendations for the site
-
Howdy,
I’m having a problem with the site recommendations that appear when I’m Scanning the Website at – Website Details.
The following recommendations appear to me:
Security Header: X-XSS-Protection Missing We did not find the recommended security header for XSS Protection on your site. https://kb.sucuri.net/warnings/hardening/headers-x-xss-protection
Security Header: X-Frame-Options We did not find the recommended security header for ClickJacking Protection on your site. https://kb.sucuri.net/warnings/hardening/headers-x-frame-clickjackin
Security Header: X-Content-Type nosniff We did not find the recommended security header to prevent Content Type sniffing on your site. https://kb.sucuri.net/warnings/hardening/headers-x-content-type
However I have already added the following directives to the .htaccess file for the above recommendations:
<IfModule mod_headers.c> Header set X-XSS-Protection "1; mode=block" Header always append X-Frame-Options SAMEORIGIN Header set X-Content-Type-Options nosniff </IfModule>
This started to happen when I changed the PHP version of my domain, before I was using version 5.4 and it did not appear, because as I said above, it had already been solved/repaired by adding the above mentioned directives to the .htaccess file.
However when applying version 5.5 or later these recommendations appear again, what could be going wrong?
I am currently using the PHP 7 version.
Thank you in advance,
Best regards.
- The topic ‘Problems with recommendations for the site’ is closed to new replies.