• Resolved waldopepper

    (@waldopepper)


    Hi, this issue has been driving me insane but I think I have narrowed it down to having a multisite installation!

    Every page in my website seems to have a background site icon in HTML, I think this is what’s shown as a link preview when you paste the site as a link in a Facebook post etc.
    It’s also shown on the top-left of the Blog page when I view that.

    In every page HTML it’s referred to like this next to the actual visible site icon/logo:

    <!– Logo –>
    <div id=”logo” class=”flex-col logo”>
    <!– Header logo –>

    TitleTitle

    </div>

    So it’s the header-logo-dark class one that’s causing issues.

    I can’t find where to change this! It’s a problem because for some reason, the site is fetching it as https:// even though it exists the media library as https:// and the whole of the rest of the site works fine on https:// So the whole site is being flagged as Not Secure.

    I think I now realise that I must have set this image in settings before I switched the network to a multisite installation, this is why I can’t see the option to change this in each sites settings. I don’t want to switch it back to single site in case this breaks anything.

    Does anyone know how I update this? I have even searched the database and can’t find where this option is set, I’m happy to update the value in SQL if I know where it’s saved (if I can’t now change it using WordPress dashboard).

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The logo is a core option, but it is implemented by the theme. It is set in the Customizer. You might have to delete it from the Media Library, and upload a new copy so it gets the https stored.
    As for that being the image that Facebook uses, that is up to Facebook. I think it finds the first image in the page if you don’t have OpenGraph tags in your page. That is a job for a plugin (Yoast does this well).

    Thread Starter waldopepper

    (@waldopepper)

    Ah found it thanks! I must have looked at the theme customise options a hundred times! There is a main logo option which is working correctly, then a button underneath this to upload a ‘Light’ logo version (I was ignoring this because the class for the problem image was ‘dark’.

    It was this that fixed it, it must have had a value in there, but wasn’t displaying the image set .. I guess also because it was originally uploaded as https:// (probably before we activated our site certificate).

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite site icon (link preview)’ is closed to new replies.