Missing Protocol on URI's
-
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.
- The topic ‘Missing Protocol on URI's’ is closed to new replies.