https header issue with chrome version 44 0 2403 xx

https header issue with chrome version 44 0 2403 xx  using -'wordpress,apache,google-chrome,https,request-headers'

I have been struggling since I have installed the new Chrome version 44.0.2403.xx.

My initial issue was that some stylesheet on my website were load over https, but my website is only http.

I use wordpress, so I have searched inside the core function to find where the HTTPS was added into the url.

The culprit is the is_ssl() function. Wordpress base is HTTPS verification over the $_SERVER['HTTPS'] variable, and mine was set to 1.

I found out that the last Google Chrome version is sending a header HTTPs = 1.

How can I prevent this header to cause problems to my website?

asked Oct 13, 2015 by rajeevr642
0 votes

6 Answers

0 votes

To solve my issue I have enabled mod_header on the server and added this rule to my appache2.conf file:

  RequestHeader unset HTTPS

answered Oct 13, 2015 by pradip.bhoge
0 votes

The header that Google Chrome is sending HTTPS: 1 gets translated into $_SERVER['HTTP_HTTPS'] on the server side. If you are facing this issue and want a temporary fix, add the following to your wp-config.php file:

// Chrome 44 HTTPS:1 header issue temporary fix

UPDATE 2015-07-29

as of chrome version 44.0.2403.107 the HTTPS header has been removed and replaced by an Upgrade-Insecure-Requests: 1 header.

answered Oct 13, 2015 by girisha
0 votes

If you can't modify your server configuration, or only for test purpose you can use this chrome plugin Modify Headers for Google Chrome‚ĄĘ, go into the plugin and add the action (Modify) with name (HTTPS) and value (0), dont forget to enable it.

That's it, your wordpress website will work like it should be.

answered Oct 13, 2015 by sujata naik
0 votes

I had the same problem and I solved it adding the next code at the end of functions.php theme file:

function https_chrome44fix() {
  $_SERVER['HTTPS'] = false;
add_action('init', 'https_chrome44fix',0);
answered Oct 13, 2015 by shikhar jain
0 votes

This plugin available on GitHub can save you a lot of troubles until the next Chrome version is out.

It basically forces the HTTPS to be false. A fix in Google Chrome will be available in their next release which is planned for 27th July 2015. Until then the plugin should help.

You can view it on GitHub:


answered Oct 13, 2015 by sandeep bhadauria
0 votes

Have you use WooCommerce in your WordPress? Is WooCommerce updated to latest version 2.3.13?

According this article, There is a problem of Google Chrome HTTPS: 1

I also face this problem but had solve after update WooCommerce to latest version, 2.3.13.

answered Oct 13, 2015 by patilkiran.101