MU multi domain site_url missing http
-
Interesting thing I only picked up on because of a code checker I tested. I have a number of wordpress multiuser sites setup, mostly to host my own domains with individual sites. I keep current wordpress 4.1.1. and I use the wordpress_mu_domain_mapping plugin. Everything works great, the sites come up correctly, I have both http://www.domain.com sites and thirdlevel.mudomain.com sites, no issues… but, the site_url isn’t coming up exactly correctly.
I have tried to look to figure out what causes it, but I am not sure. specifically, everything (including items generated in wp_head) are missing the HTTP from the urls. So as an example, I get things like this:
‘<link rel=”profile” href=”//gmpg.org/xfn/11″ />
<link rel=”pingback” href=”//www.domain.com/xmlrpc.php” />’remarkably, this doesn’t seem to cause any great functionality problems, as these links (if you look at code source under chrome) are still correctly clickable. The same error perpetuates down through the page, including in Yoast all in one, and in the posts themselves. Now this is particularly interesting, because in the posts themselves the link to the image is “hardcoded”, in that editing the post will show the http://www.domain.com/wp-uploads…. but when displayed, the HTTP is dropped (images start with just // ).
It would appear that the scheme is not being set, and as a result returns the default null.
The topic ‘MU multi domain site_url missing http’ is closed to new replies.