Fix mixed content issue.

I am having some mixed content issues with one of my subsites and it appears that the site is not secure. Please check and help.

  • Adam
    • Support Gorilla

    Hi Anas

    I hope you’re well today!

    I suppose that site was migrated to WPMU DEV hosting, right?

    The main site was set (as in “WordPress configuration”:wink: to use insecure HTTP URL (the domain was set with “http://” prefix instead of “https://&#8221:wink:.

    I’ve changed that in the database directly and then flushed cache on server, cleared cache of Live builder (via Network Admin -> Settings -> Live Builder) and cleared Hummingbird’s cache (via Network Admin -> Hummingbird -> Dashboard).

    That “automatically” updated those insecure URLs that were causing the issue so there should be no more mixed content issues – at least not on main site.

    Best regards,
    Adam

  • Adam
    • Support Gorilla

    Hi Anas

    What about the subsites under the wordpress multisite network, how we can fix the mixed content issues?

    Try this:

    – go to “Network Admin -> Sites” page and find a given site on the list
    – click “Edit” link for that site and then switch to “Settings” tab there
    – make sure that in both “Siteurl” and “Home” options the URL starts with “https://” instead of “http://” and save
    – then in “Tools” tab in hosting panel Flush Cache
    – then clear cache of Live Builder (Network Admin -> Settings -> Live Builder)
    – and clear cache of Hummingbird (“Network admin -> Hummingbird -> Dashboard -> [Clear cache] button)

    This should do the trick unless there’s some additional URL “stuck” or “hard-coded” – e.g. explicitly hard-coded in CSS but that would have to be investigated individually so start with this procedure explained above for all the sub-sites that might be affected.

    Best regards,
    Adam

  • Predrag Dubajic
    • Support

    Hi Anas,

    It seems that you have two images hardcoded with HTTP on that site.
    One is the logo above the “You Can Reach Us At” section, and the second one is the “leafs” image that is just above the “cookie stars rating” above the “Our Customers Fall In Love With Us” title.

    [attachments are only viewable by logged-in members]
    [attachments are only viewable by logged-in members]

    Replacing these two with the HTTPS versions should do the trick and get you that green padlock :slight_smile:

    Let us know if that works for you.

    Best regards,
    Predrag