Title: Updating JavaScript and CSS to use HTTPS
Last modified: February 26, 2020

---

# Updating JavaScript and CSS to use HTTPS

 *  Resolved [greensky23](https://wordpress.org/support/users/greensky23/)
 * (@greensky23)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/updating-javascript-and-css-to-use-https/)
 * Hello!
 * First, want to say thanks to the amazing WordPress team. I’ve used WordPress 
   for 10+ years now, and it’s been great.
 * The issue I’m racking my brain about is I can’t figure out how to force some 
   CSS and JavaScript on my site to HTTPS.
 * My site: dmkthinks.org
 * If you view the source code, and search for “[http://dmkthinks&#8221](http://dmkthinks&#8221);,
   there are 8 lines that still point over HTTP. For example:
 * `<link rel='stylesheet' id='wp-block-library-css' href='http://dmkthinks.org/
   blog/wp-includes/css/dist/block-library/style.min.css?ver=5.3.2' type='text/css'
   media='all' />`
 * `<script type='text/javascript' src='http://dmkthinks.org/blog/wp-includes/js/
   jquery/jquery.js?ver=1.12.4-wp'></script>`
 * And 6 other pieces of similar code.
 * Here’s what I’ve tried:
 * 1) Updated the Settings -> General WordPress Address & Site Address to [https://dmkthinks.org/blog](https://dmkthinks.org/blog).
   That helped a bit.
 * 2) Used Better Search Replace to search for anything “[http://&#8221](http://&#8221);(
   and then updated). This helped solve a few more, too.
 * 3) Verified siteurl and home in the wp_options database are updated (using phpMyAdmin)
   and run a SQL script. This helped with a few more.
 * … but despite all these things, I can’t figure out how to get these last 8 pieces
   of CSS & JavaScript to go secure.
 * I’ve tried Googling quite a bit, but can’t find exactly what I’m looking for.
   When I use Really Simple SSL, it does work — but I’d prefer to do this without
   a plugin.
 * Any other things to try?
 * Thanks so much.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fupdating-javascript-and-css-to-use-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Ketan Vyawahare](https://wordpress.org/support/users/ketanvyawahare/)
 * (@ketanvyawahare)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/updating-javascript-and-css-to-use-https/#post-12480701)
 * hi [@greensky23](https://wordpress.org/support/users/greensky23/) ,
 * It seems you have got the files cached in browser hence you are not seeing https.
 * The css and js you specified above, are being rendered from https.
 * Please try in private browsing mode or try clearing the cache of your browser
   and try again.
 * Please let me know your feedback.
 *  Thread Starter [greensky23](https://wordpress.org/support/users/greensky23/)
 * (@greensky23)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/updating-javascript-and-css-to-use-https/#post-12483174)
 * Hey, [@ketanvyawahare](https://wordpress.org/support/users/ketanvyawahare/)! 
   Thanks for writing.
 * I had that thought, too. But when I try loading dmkthinks.org in Incognito, I
   see see the http:// files. Do you see that, too?
 *  [Ketan Vyawahare](https://wordpress.org/support/users/ketanvyawahare/)
 * (@ketanvyawahare)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/updating-javascript-and-css-to-use-https/#post-12485279)
 * hi [@greensky23](https://wordpress.org/support/users/greensky23/),
 * I am seeing the https. I am not seeing the specified JS and CSS from http.
 *  Thread Starter [greensky23](https://wordpress.org/support/users/greensky23/)
 * (@greensky23)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/updating-javascript-and-css-to-use-https/#post-12485339)
 * Hi [@ketanvyawahare](https://wordpress.org/support/users/ketanvyawahare/), you
   beat me to it! I just talked to my webhost, and they were able to force HTTPS
   in the cPanel. This ticket is good to close out now. Thank you!
 *  [Ketan Vyawahare](https://wordpress.org/support/users/ketanvyawahare/)
 * (@ketanvyawahare)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/updating-javascript-and-css-to-use-https/#post-12485343)
 * Hi [@greensky23](https://wordpress.org/support/users/greensky23/),
 * Great to hear the issue is resolved.
 * Good luck!

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

The topic ‘Updating JavaScript and CSS to use HTTPS’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Ketan Vyawahare](https://wordpress.org/support/users/ketanvyawahare/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/updating-javascript-and-css-to-use-https/#post-12485343)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
