How do I disable XML-RPC in WordPress Multisite?

The simplest solution is a rule inside the .htaccess of the installation, if it is an Apache server. The following syntax should support you. Protect the whole access # PROTECT xmlrpc.php <Files xmlrpc.php> Order Allow,Deny Deny from all </Files> Access for several apps # ACCESS for xmlrpc surface only for different apps <IfModule mod_setenvif.c> <Files … Read more

Programmatically creating site in a network

You’re using $user_id = get_option( ‘admin_email’ ); and then using that $user_id. However, get_option( ‘admin_email’ ); returns an email address, not the int that wpmu_create_blog() expects. So your sites are (presumably) being created with a user_id of 0. Here’s how I’d address this: $user_email = get_option(‘admin_email’); $user_object = get_user_by( ’email’, $user_email ); if ( false … Read more

Problem in logging in as admin

My first recommendation would be to delete or rename your .htaccess file. That file is what contains the guts of WordPress’ redirection engine. And that’s also the only thing that could be redirecting from the login. WordPress redirects virtual URLs to http://blog.url/index.php so that the blog can serve up content. But the admin dashboard and … Read more

Multiple sites with independent users

Option 2 should work, I just wrote http://wp.leau.co/2010/12/24/moving-a-weblog-to-a-wp3-multisite-weblog-system-on-mediatemple/ themes: you should NOT network activate all themes, only activate them on a specific site via the site settings for a blog plugins: disable the setting in the network admin to display plugin etc.. How to enable a theme for a specific site To network-enable or to … Read more

Multisite questions

Yes. Use the Domain Mapping Plugin. Plugins can be enabled network-wide, or on a per-site basis. You can choose whether or not to give site admins the capability to activate/deactivate Plugins. Plugin settings are on a per-site basis. The Network Administration handles updates to core, Plugins, and Themes, and automates updating the database tables for … Read more