• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

SSL Help

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › SSL Help

This topic is: not resolved

Tagged: SSL CSS

  • This topic has 9 replies, 2 voices, and was last updated 8 years, 4 months ago by Victor Font.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • February 13, 2017 at 10:49 am #201048
    futurewebboss
    Member

    I've done 4 SSL installs in the last 60 days. Three of the four went very smoothly and I was able to resolve mixed content, mainly in the form of image file and document URL's in a matter of 5 to 10 minutes. However the most recent SSL install has been a big issue with mixed content I am unable to resolve. All installs have used Genesis framework themes with the last one a theme developed by a 3rd party, who used to have his themes on Studio Press but no longer and I have posted in his forum but after almost 3 days no reply. Here's the background
    The cert is a Positive Comodo SSL and it's installed at leyla-najma.com. After first installing the SSL browsing to https://leyla-najma.com rendered a page with no CSS loaded at all. So I installed simple ssl and all worked great, except I was still not able to make the two url changes in WP settings to https. Each time I attempted to do this, when going to wp-login.php, or wp-admin I would get an error about not having permissions.
    I switched from the Genesis theme to a WP default and all worked fine. Right now I'm kind of at the end of my rope because I need for the site to force https when anyone browses because I'm planning a google products campaign and they require this or they'll not approve the product data feed.
    I did post over at WP.org and got one reply
    "Your CSS files are not loaded because they are linked using http whereas the domain is connected via https." I knew this already but don't know how to fix it
    My only other hope is the paid version of simple ssl, the developer will modify his theme so that it's compliant, change themes (don't want to do this), or that some sagacious, wise soul in this forum can provide guidance.
    Thanks in Advance to anyone who can help.
    Dan

    http://leyla-najma.com
    February 13, 2017 at 12:37 pm #201057
    Victor Font
    Moderator

    While it would be unusual for a developer to hard code http when loading a style sheet, i suppose it isn't impossible. Search through all of the theme's php files to see if there are any hard coded urls and change them. You should also chek the site's wp-config.php file to see if the site URLs are hard coded there. This would prevent you from changing them through the interface.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 13, 2017 at 1:28 pm #201064
    futurewebboss
    Member

    Thanks Victor -
    Here's what I found in the functions.php file
    $_SERVER['HTTPS'] = false;
    I'm thinking I should change this to =true?

    February 13, 2017 at 1:39 pm #201066
    Victor Font
    Moderator

    That line doesn't need to be in there at all. I can't think of any good reason why the developer would have added it.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 13, 2017 at 1:53 pm #201068
    futurewebboss
    Member

    I changed to true and it looks all is good so far.

    February 13, 2017 at 1:57 pm #201070
    futurewebboss
    Member

    Beyond my paygrade. You're saying that I can just remove the line of code all together? That makes sense to me. Why would the functions.php declare server configuration is a bit odd.

    February 13, 2017 at 3:31 pm #201083
    Victor Font
    Moderator

    That line of code is not declaring a server configuration. It is changing the PHP server variable it is receiving from the Apache HTTP process. I can see why a developer might change a received variable for testing purposes, but leaving it like that and not removing it from the code is just sloppy.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 13, 2017 at 4:57 pm #201090
    futurewebboss
    Member

    So no issue in removing it

    February 13, 2017 at 5:44 pm #201092
    futurewebboss
    Member

    I completely removed the line of code with no issues.
    Site seems to be loading fine and where I"ve fixed mixed content caused by images, I get the padlock.
    The one thing I am not sure how to fix is this.
    When I browse to leyla-najma.com I don't get the padlock.
    However, if I click on any internal link and then go back home, I get the padlock.
    There is no mixed content on the homepage so there must be one other trick I need to do to force the padlock on the home page when someone comes in from a search etc. Any hints? I tried to mod the .htaccess but that didn't seem to do anything and both url's in wp settings are configured for https
    Case will be closed if I can get this to be the default behavior.

    Dan

    February 13, 2017 at 5:44 pm #201093
    Victor Font
    Moderator

    No issue.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble