• I’ve done 4 ssl installs over the last 10 days. The first three went off like clockwork but the 4th. is giving me headaches. All 4 are themes built on Genesis with the first three done by stuido press and the last (the one with the issue) by a 3rd party developer. The problem is that when calling https://leyla-najma.com css isn’t loaded and I get a white page with content spread out all over the place. As well I can’t login if I change the through WP Settings site url’s to https. It causes the “too many redirects” error. Anyway, I know that it’s the theme because when I switched to a WordPress default theme all works fine and the page loads. I’ve read through most of the threads here about this issue and have tried so far to add define(‘FORCE_SSL_ADMIN’, true); to the end of the functions.php file, but to no avail. Theme development and PHP is above my pay grade so I’m shooting in the dark. Still waiting for the theme developer to get back to me but so far he’s not replied and I really need to get this fixed ASAP. I have scoured the functions.php looking for http calls and the only ones I find are the ones required by Genesis calling out using the define for the child theme url.
    So if anyone can comment on this and maybe give me some help investigating this issue, it would be much appreciated.
    Thanks in Advance,

    Dan

Viewing 4 replies - 1 through 4 (of 4 total)
  • @foreverlearning

    Your problem is mixed content. Your CSS files are not loaded because they are linked using http whereas the domain is connected via https.

    This is flagged by browsers and they block any insecurehttpconnections.

    Try and see if using Really Simple SSL fixes the issue.

    Let me know if you need more help.

    Thread Starter foreverlearning

    (@foreverlearning)

    Thanks for the reply. I did install simple ssl yesterday and it worked up to a point. After I installed it, I attempted to change the urls’ in wp settings but that still causes a redirect issue at wp-login. As well with simple ssl installed I can’t get to wp-login without getting a “Sorry, you are not allowed to access this page.” error. I’m hoping the pro version of the plug in will resolve all issues once and for all. I’ve reached out to them and waiting for them to reply.

    Thread Starter foreverlearning

    (@foreverlearning)

    Think I found the offending line of code in the functions.php file,
    $_SERVER[‘HTTPS’] = false;
    I changed to true and testing out good so far.

    Thread Starter foreverlearning

    (@foreverlearning)

    Actually removed this line of code completely. Oddly the theme developers only response to my forum thread that was he didn’t know anything about SSL, even though I pointed out to him the unnecessary line of code in his functions.php file that was causing the issue. I guess making sure the theme is SSL friendly is another question to ask any theme developer before buying their theme. Anyway case closed.
    Thanks for the help. Much appreciated.

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

The topic ‘Another SSL Breaks Theme Problem’ is closed to new replies.