• Resolved mawaha

    (@matthew6543)


    I’ve been having trouble with some of the images not appearing in my admin area.

    I have a fresh multisite installation on a subdomain of my hosting i.e.

    mydomain.net.mywebhost.co.uk

    I’d noticed that some of the custom menu icons and images used in plugins were broken. Whereas the custom menu icons on my custom post types appear to be just fine. When I checked the difference I found that the non working urls were missing the http protocol.

    They work again just fine if I manually add the protocol back in using firebug.

    For some reason I ended up changing the DOMAIN_CURRENT_SITE constant in my wp-config to include the full url including http. I.e. https://www.mydomain.net.mywebhost.co.uk which saw all the url’s working just fine.

    However, it also prevents me from being able to login to the admin area. Just redirecting me back to wp-login.

    Ideally I’d like to be able to get both these things working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Delete the install and start over.

    When you do, make SURE that your home and site URLs are https://www.mydomain.net.mywebhost.co.uk BEFORE you activate Multisite.

    Thread Starter mawaha

    (@matthew6543)

    Thanks Ipstenu

    I did just that this morning with a clear head and figured it out fairly quickly.

    In case it helps anyone else, I’d changed the default wp-content directory to something else but when I’d defined WP_CONTENT_URL I’d used DOMAIN_CURRENT_SITE but neglected to prepend “https://”

    So not really a multisite issue at all.

    *facepalm*

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing Protocol on URI's’ is closed to new replies.