WordPress Multisite loads wrong subdomain dashboard
WordPress Multisite loads wrong subdomain dashboard
WordPress Multisite loads wrong subdomain dashboard
Multisite: How to get a list of sites by locale
I did it, and it works just as I want it to, but I don’t really understand how it worked 🙈 (and I’d like to learn the hows and whys behind it all). Praying 🤲 plus an answer to another question on WPSE helped me a lot, I just modified it with the functions I … Read more
Though, curl appeared to be properly working from https://localhost.sitedomain.com/phpinfo.php , the true cause of the error was that curl was in fact disabled within the global php.ini file located at /etc/php/<php version #>/php.ini , which is different from local active php.ini located at /etc/php/7.3/apache2/php.ini . Now everything works properly.
On a multisite, the ‘super-admin’ is the only one that gets to see the ‘master’ site. Admins can see their individual sub-sites. The super-admin can admin all the sub-sites.
Top Admin bar of a multisite: Choose My Sites, Network Admin, Settings. You have to be a SuperAdmin to do this. Note that the super-admin admin page is different from the first sub-site’s Admin page. Link location is https://www.domain.com/wp-admin/network/settings.php , where you change the domain name to your domain. ** CORRECTION ** I was thinking … Read more
So this is in no way the best solution, but it seems like the issue in Internet Explorer occurs when the browser is trying to access just the URL: example.com/sub-installation When I simply add a slash to the end of it, the browser will try to access the front page on example.com/sub-installation and not try … Read more
Language per user role, how can I achieve this?
setcookie() has the following signature: setcookie ( $name, $value = “”, $expires = 0, $path = “”, $domain = “”, $secure = FALSE, $httponly = FALSE ) You’re setting the cookie’s value to 1 in your code. I suspect you intend to do something more like setcookie(‘language’, $_GET[‘language’], time() + 1209600, “/”, “example.com”, false); Notes … Read more
Export / import