WordPress Multisite subdirectories not allowed on new install?
You don’t need to do anything just past this code in your activated theme’s functions.php add_filter( ‘allow_subdirectory_install’, ‘__return_true’ );
You don’t need to do anything just past this code in your activated theme’s functions.php add_filter( ‘allow_subdirectory_install’, ‘__return_true’ );
This is because you’re only a member of 3 sites. As a super admin you have the ability to view the full site list via the network admin, but that doesn’t mean you’re a part of every site. The admin bar menu only lists the sites you’re a member of, not the full list, that’s … Read more
Let’s establish the baseline: it is possible to have the main site in example-domain-x.com and all subsites subdomains in example-domain-y.com. You just add subdomain1.example-domain-y.com (or subdomain2.example-domain-y.com, subdomain3.example-domain-y.com) like you would be adding a bare or www domain in the domain mapping panel ( URL containing wp-admin/network/settings.php?page=dm_domains_admin ). To achieve the same programmatically, you could hook … Read more
What you describe it pretty much exactly the use-case for WordPress Multisite (formerly WPMU.) The downsides are of course that all sites are dependent on the same code and the same database so if you break one you break them all (though most of the tables are different for each site.) Of course the upside … Read more
Use this plugin http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/ and this tutorial http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/ It says wpmu, but it is exactly the same.
Ok I have cracked it, by spoofing the $_SERVER variable and pre-defing some constants, I was able to prevent WordPress from redirecting after the inclusion of wp-load.php. define(‘WP_USE_THEMES’, false); define( ‘DOMAIN_CURRENT_SITE’, $siteRow[‘domain’] ); define( ‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/” ); define( ‘SITE_ID_CURRENT_SITE’, 1 ); define( ‘BLOG_ID_CURRENT_SITE’, $siteRow[‘wp_blog_id’] ); $_SERVER = array( “HTTP_HOST” => $siteRow[‘domain’], “SERVER_NAME” => $siteRow[‘domain’], “REQUEST_URI” … Read more
take a look at Plugin Commander which is a plugin management plugin for multi-site mode, which allows further control on network-activated plugins.
Default Transient API behavior is to use Options API for storage and so behavior identical to options. However if there is external object cache (declared by plugin or whatever) then they get stored using object cache functions instead. So basically it will work in scope of current site, unless there are plugins that make it … Read more
You want to use remove menu page. <?php add_action( ‘admin_menu’, ‘wpse26980_remove_tools’, 99 ); function wpse26980_remove_tools() { remove_menu_page( ‘tools.php’ ); } You can drop that in your functions.php file (without the opening <?php most likely). That’s not going to prevent people from typing in yoursite.com/wp-admin/tools.php and seeing the tools page, however.
I installed WordPress 3.2.1 fresh on a new domain, and then enabled Multi-Site, which functioned as documented. I could reach /wp-admin/network without problems. Comparing the database of this WP with the problem installation, in the wp_sitemeta table, admin_email was not set for the problem site. Also, wp_sitemeta > site_admins was different. The problem website had … Read more