Title: CSS and JS using https
Last modified: August 30, 2016

---

# CSS and JS using https

 *  [dzieyzone](https://wordpress.org/support/users/dzieyzone/)
 * (@dzieyzone)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-and-js-using-https/)
 * hi guys, I tried to look for solution already but can’t find one.
    my website
   is having issues wherein all CSS and JS files (loaded via wp_enqueue_script) 
   is using the HTTPS. What is the possibility or cause that triggers this kind 
   of behaviour?

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

 *  [Paul Kaiser](https://wordpress.org/support/users/freakingid/)
 * (@freakingid)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-and-js-using-https/#post-6357125)
 * Hello,
 * Can you paste the lines where wp_enqueue_script are used in your theme / plugin?
   
   What is the URL of your site, please?
 *  [Maurizio_P](https://wordpress.org/support/users/maurizio_p/)
 * (@maurizio_p)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-and-js-using-https/#post-6357127)
 * Hi all, same issue at the same time. What happens?
 *  [Shannon86](https://wordpress.org/support/users/shannon86/)
 * (@shannon86)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-and-js-using-https/#post-6357133)
 * This is happening in several of the sites I manage. This all happened after the
   4.2.3 update.
 *  Thread Starter [dzieyzone](https://wordpress.org/support/users/dzieyzone/)
 * (@dzieyzone)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-and-js-using-https/#post-6357169)
 * hi, I resolved the issue just simply updating woocommerce plugin to its latest.
   But knowing where/what exactly triggers the use of https on script files is still
   unknown but definitely somewhere in the mentioned plugin.
 * I basically advise to check on your plugins for the latest update and finding
   what plugin that triggers the problem is by disabling plugins one by one.
 *  [Pyromania666](https://wordpress.org/support/users/pyromania666/)
 * (@pyromania666)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/css-and-js-using-https/#post-6357170)
 * Is this happening on Chrome?
    or same thing with firefox?
 * try adding this to your .htaccess
    RequestHeader unset HTTPS

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

The topic ‘CSS and JS using https’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 5 participants
 * Last reply from: [Pyromania666](https://wordpress.org/support/users/pyromania666/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/css-and-js-using-https/#post-6357170)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
