Drupal theme not parsing after installling SSL for https ?

After installing an SSL certificate, when I visit my site, https://www.mysite.com, the page loads without the theme, as if none of the CSS is working.

In Internet Explorer, a popup at the bottom of the screen shows up, "Only secure content is displayed" with a Show all content button. After I click the button, the page loads fine with theme and all.

What's happening? I know that the pages should work upon first loading. My visitors shouldn't have to go through Show all content option.
sandshakimiAsked:
Who is Participating?
 
sandshakimiAuthor Commented:
It was actually an apache configuration.
0
 
Aaron FeledyDrupal Developer and ConsultantCommented:
Double check the paths to your css files. It seems they might be hard-coded using the http path rather than the relative path which would function as https in this case.
0
 
sandshakimiAuthor Commented:
Drupal wouldn't hard code the CSS files would it?

And the CSS does work after I click Show all content.

Another area I should be checking, perhaps?
0
 
junipllcCommented:
This is a problem that occurs when you have both https:// and http:// content on a page. Look at your source to find out which content is being served as http:// ... it could be a hard-coded part of the theme, or it could be the result of a module doing something it shouldn't.

Is this site going to be exclusively https? If so, there are other measures you can take to force Drupal to serve only with https:// content. If you are going to have mixed-mode (per-page, per-section) http/https then you just have to find out where it's spitting out the wrong protocol and fix that.

Is this a custom theme or a contrib theme? Do you hard code any images or other content in the theme itself?

I think I speak for many when I say IE is not my friend. :)

Cheers,

Mike
0
 
sandshakimiAuthor Commented:
It was actually an Apache config. issue.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.