Title: Issues with security headers
Last modified: May 28, 2023

---

# Issues with security headers

 *  Resolved [EddieG](https://wordpress.org/support/users/eddievet/)
 * (@eddievet)
 * [3 years ago](https://wordpress.org/support/topic/issues-with-security-headers/)
 * Hi there
 * I issues with security headers.
 * I have added the following headers into htaccess but there aren’t taking effect.
   Here is what i have done so far to make it work.
 * I have also disabled cloudflare.
   Enable Rewrite is turned ONcleared all cache
 * Header always **set** **Strict**-Transport-Security “max-age=31536000; includeSubDomains;
   preload”
 * Header always **set** Content-Security-Policy “default-src ‘self’;”
 * Header always **set** X-Frame-Options “SAMEORIGIN”
 * Header always **set** X-Content-Type-Options “nosniff”
 * Header always **set** Referrer-Policy “strict-origin-when-cross-origin”
 * Header always **set** Permissions-Policy “geolocation=(), camera=(), microphone
   =()”
 * Can someone help to figure out the issue presented?
    -  This topic was modified 3 years ago by [EddieG](https://wordpress.org/support/users/eddievet/).
    -  This topic was modified 3 years ago by [EddieG](https://wordpress.org/support/users/eddievet/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissues-with-security-headers%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [3 years ago](https://wordpress.org/support/topic/issues-with-security-headers/#post-16775760)
 * Hi [@eddievet](https://wordpress.org/support/users/eddievet/)
 * What is issue of AIOS here ? It seems like the .htaccess file editing seems have
   issue. Please use proper syntax and make sure .htaccess rules work.
 * Regards

Viewing 1 replies (of 1 total)

The topic ‘Issues with security headers’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/issues-with-security-headers/#post-16775760)
 * Status: resolved