Title: Stylesheets and Javascript with SSL
Last modified: August 19, 2016

---

# Stylesheets and Javascript with SSL

 *  [David Dashifen Kees](https://wordpress.org/support/users/dashifen/)
 * (@dashifen)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/stylesheets-and-javascript-with-ssl/)
 * Greetings,
 * I’m working on a site that will require SSL for login, administration, registration,
   etc. I’ve set the FORCE_SSL_LOGIN and FORCE_SSL_ADMIN flags in the configuration
   as discussed [here](http://codex.wordpress.org/Administration_Over_SSL). However,
   while this does force an HTTPS connection, it doesn’t do so for CSS and JS included
   by plugins. This forces the annoying “not everything is encrypted” warning that
   IE uses.
 * I tried searching for a filter that would allow me to turn all insecure links
   into secure ones, but I couldn’t find a solution at this time. Any help would
   be most appreciated.
 * Thanks,
    Dash

Viewing 1 replies (of 1 total)

 *  Thread Starter [David Dashifen Kees](https://wordpress.org/support/users/dashifen/)
 * (@dashifen)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/stylesheets-and-javascript-with-ssl/#post-1456646)
 * My solution of the moment: use SSL throughout the site. By setting the site URL
   and blog URL in my settings to be [https://my.site.com](https://my.site.com) (
   for example) everything loads via SSL assuming the plugin designers used constants
   like WP_PLUGIN_URL and WP_CONTENT_URL to include their stuff. Not the best solution
   since it does mean that we waste some server time handling the encryption for
   SSL, but this site isn’t high-traffic so I don’t expect problems in the short
   term.
 * If there’s a better way, I’d love to know more.
 * Thanks,
    Dash

Viewing 1 replies (of 1 total)

The topic ‘Stylesheets and Javascript with SSL’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [David Dashifen Kees](https://wordpress.org/support/users/dashifen/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/stylesheets-and-javascript-with-ssl/#post-1456646)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
