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 “https://dmkthinks”, there are 8 lines that still point over HTTP. For example:
<link rel='stylesheet' id='wp-block-library-css' href='https://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='https://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. That helped a bit.
2) Used Better Search Replace to search for anything “https://” (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 to see the link]
- The topic ‘Updating JavaScript and CSS to use HTTPS’ is closed to new replies.