Title: HTTP headers works, HTTPS does not
Last modified: June 27, 2018

---

# HTTP headers works, HTTPS does not

 *  [cJayy](https://wordpress.org/support/users/cjayy/)
 * (@cjayy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/http-headers-works-https-does-not/)
 * Hi,
    I have configured plugin to send some of security headers. It’s working 
   fine when accessing via HTTP, but when I reach web via HTTPS it doesn’t send 
   any of headers from plugin.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttp-headers-works-https-does-not%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Dimitar Ivanov](https://wordpress.org/support/users/zinoui/)
 * (@zinoui)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/http-headers-works-https-does-not/#post-10441330)
 * Hi [@cjayy](https://wordpress.org/support/users/cjayy/)
 * Chrome DevTools console throws the following error:
 * > Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-
   > referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’,‘
   > strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer
   > policy has been left unchanged.
 * Try to fix it, I guess this might be the reason.
 * Regards,
 *  Thread Starter [cJayy](https://wordpress.org/support/users/cjayy/)
 * (@cjayy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/http-headers-works-https-does-not/#post-10441366)
 * Hello [@zinoui](https://wordpress.org/support/users/zinoui/)
 * I think this error is **not the reason** why plugin doesn’t send headers, **but
   the result** of plugin not sending headers. According to browser documentation
   this error is default error when referrer policy header is not set. (And that
   is the reason why I want to use this plugin.
 * // I don’t know how else should I fix missing headers than by activating plugin
   to set headers… Do you know any other solution?
 * Thank you 🙂
    -  This reply was modified 7 years, 11 months ago by [cJayy](https://wordpress.org/support/users/cjayy/).
    -  This reply was modified 7 years, 11 months ago by [cJayy](https://wordpress.org/support/users/cjayy/).
 *  Plugin Author [Dimitar Ivanov](https://wordpress.org/support/users/zinoui/)
 * (@zinoui)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/http-headers-works-https-does-not/#post-10441610)
 * If you’re using this plugin in the “Apache” mode (which is recommended) then 
   settings are stored in your .htaccess file. Can I see it?
 *  Thread Starter [cJayy](https://wordpress.org/support/users/cjayy/)
 * (@cjayy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/http-headers-works-https-does-not/#post-10461977)
 * I am not using Apache mode. When I try to turn it on I get following error.
 * > Fatal error: Uncaught Error: Call to undefined function insert_with_markers()
   > in /wp-content/plugins/http-headers/http-headers.php:1055
 * I don’t know how to debug this.
 *  [jpollie](https://wordpress.org/support/users/jpollie/)
 * (@jpollie)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/http-headers-works-https-does-not/#post-10717623)
 * Ahhh same for me, we are not using Apache but IIS, on https its not working my
   website gets a D on securityheaders.com
 *  Plugin Author [Dimitar Ivanov](https://wordpress.org/support/users/zinoui/)
 * (@zinoui)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/http-headers-works-https-does-not/#post-10722245)
 * Hi [@jpollie](https://wordpress.org/support/users/jpollie/)
 * Unfortunately the HTTP Headers plugin doesn’t supports IIS yet.
    However, the
   IIS support is scheduled for v2.0

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

The topic ‘HTTP headers works, HTTPS does not’ is closed to new replies.

 * ![](https://ps.w.org/http-headers/assets/icon-128x128.png?rev=1413576)
 * [HTTP Headers](https://wordpress.org/plugins/http-headers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/http-headers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/http-headers/)
 * [Active Topics](https://wordpress.org/support/plugin/http-headers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/http-headers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/http-headers/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)
 * [TLS](https://wordpress.org/support/topic-tag/tls/)

 * 6 replies
 * 3 participants
 * Last reply from: [Dimitar Ivanov](https://wordpress.org/support/users/zinoui/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/http-headers-works-https-does-not/#post-10722245)
 * Status: not resolved