View Single Post
Old 01-30-2021, 08:47 AM  
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
Quote:
Originally Posted by sarettah View Post
Change everything http:// to https://

For example. all of these style sheets are not going to load on https:// because they are http://

<!-- Core CSS -->
<link href="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/css/bootstrap.min.3.3.6.css" rel="stylesheet" type="text/css" />
<link href="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/css/normalize.3.0.3.css" rel="stylesheet" type="text/css" />
<link href="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/css/style.css" rel="stylesheet" type="text/css" />
<link href="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/css/back-to-top.css" rel="stylesheet" type="text/css" />
<style>
.cd-top{background: #1E6075 url(/cb-builder/theme/robo-mondeo-mu/assets/images/cd-top-arrow.svg) no-repeat center 50%;}
.share-icon {background-image: url(/cb-builder/theme/robo-mondeo-mu/assets/images/social-icons.png);}
.share-square {background: url(/cb-builder/theme/robo-mondeo-mu/assets/images/social-icons.png) no-repeat scroll left top transparent;}
</style>
<link href="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/css/jquery.share.css" rel="stylesheet" type="text/css" />

<!-- Core JavaScript -->
<script src="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/js/jquery.min.1.11.0.js" type="text/javascript"></script>
<script src="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/js/bootstrap.min.3.3.6.js" type="text/javascript"></script>
<script src="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/js/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/js/modernizr.js" type="text/javascript"></script>
<script src="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/js/jquery.share.js" type="text/javascript"></script>
<script src="http://www.curiousgirls.net/cb-builder/theme/robo-mondeo-mu/assets/js/back-to-top.js" type="text/javascript"></script>


You can either change the code or redirect http to https in the .htaccess file.

RewriteEngine On

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


.
Do both of these. You don't really want to be redirecting users to https on every single hit because you'll be doubling the number of server requests, so change as many instances of http to https as you can find, then the htaccess rewrite rule will act as a fallback for the ones you miss.
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote