Skip to Content Skip to Menu

CB Style sheets through SSL not relative.

9 years 9 months ago #257636 by ksignorello
CB Style sheets through SSL not relative. was created by ksignorello
I just setup an SSL certificate on my site and when I call any article I see that the CB style sheet references are not relative - seel below. Hence when the page is called with https: . . . the browser throws a warning about insecure content. What needs to be done to make these references either relative or start with https?

<link rel="stylesheet" href=" www.darkroomgallery.com/components/com_comprofiler/plugin/templates/default/bootstrap.css?v=fd9ea3fd8d6181e9 " type="text/css" />
<link rel="stylesheet" href=" www.darkroomgallery.com/components/com_comprofiler/plugin/templates/default/fontawesome.css?v=fd9ea3fd8d6181e9 " type="text/css" />
<link rel="stylesheet" href=" www.darkroomgallery.com/components/com_comprofiler/plugin/templates/default/template.css?v=fd9ea3fd8d6181e9 " type="text/css" />

Please Log in or Create an account to join the conversation.

9 years 9 months ago - 9 years 9 months ago #257637 by ksignorello
Replied by ksignorello on topic CB Style sheets through SSL not relative.
actual ref was removed in prior post - here is a screen shot
Attachments:
Last edit: 9 years 9 months ago by ksignorello.

Please Log in or Create an account to join the conversation.

  • fundsauce
  • fundsauce
  • OFFLINE
  • Posts: 36
  • Thanks: 4
  • Karma: 0
9 years 9 months ago #257649 by fundsauce
Replied by fundsauce on topic CB Style sheets through SSL not relative.
I think if you just go to your Joomla global config and "Force SSL" it should take care of it all automatically.

Please Log in or Create an account to join the conversation.

9 years 9 months ago #257659 by ksignorello
Replied by ksignorello on topic CB Style sheets through SSL not relative.
Tried that - the references are still http . . .
Code:
<link rel="stylesheet" href="http://www.darkroomgallery.com/components/com_comprofiler/plugin/templates/default/bootstrap.css?v=fd9ea3fd8d6181e9" type="text/css" /> <link rel="stylesheet" href="http://www.darkroomgallery.com/components/com_comprofiler/plugin/templates/default/fontawesome.css?v=fd9ea3fd8d6181e9" type="text/css" /> <link rel="stylesheet" href="http://www.darkroomgallery.com/components/com_comprofiler/plugin/templates/default/template.css?v=fd9ea3fd8d6181e9" type="text/css" />

Interestingly all the other css references are all relative.

ken

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
9 years 9 months ago #257703 by krileon
Replied by krileon on topic CB Style sheets through SSL not relative.
Looks like you've live_site set within configuration.php. Edit your configuration.php and empty the live_site setting. CB will always respect configuration. So if you set live_site then CB will use whatever you set.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum