What issue or error are you experiencing?
I’ve put these lines in the .htaccess file:
Header set Strict-Transport-Security “max-age=31536000” env=HTTPS
Header set X-XSS-Protection “1; mode=block”
Header set X-Content-Type-Options nosniff
Header set X-Frame-Options DENY
Header set Referrer-Policy: no-referrer-when-downgrade
When I then inspect the page header, none of these lines are taken into account, even though they are on my real site. Why
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
On Local I have choosen Apache PHP 8.3.11. All works fine but after I put these lines I quit WP ans Local and restart.
Nothing change in the header
System Details
- Local Version:
Version 9.2.2+6771 - Operating System (OS) and OS version:
iMac M3 Sequoia 15.3.1
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
No error in log files Apache or PHP
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.