Can a user spread virus on my Multisite?

Out of the box multisite has the same security as wordpress.com gives it users – being that it strips all kinds of extras, even if you are an administrator of your own blog. Super Admin has the basic WordPress permissions, everyone else does not. no iframes, no javascript, no code.

Create a network of sites

I read that, for a network or sites, wordpress impose certain rules in the url generated. is this true? because if is, it could destroy ten years of google indexing in our site… šŸ™ Mostly whatever works for your individual sites (I assume they are on WP?) will work for multisite. Only explicit limitation that … Read more

Multisites, upload issues, and iOS!

After 6 days of pure sadness, this ended up being the fix: http://www.technowut.com/2012/05/14/how-to-stream-videos-to-ios-devices-with-multisite-wordpress/ Here’s how to get it working on CentOS 6 with the packaged Apache httpd: Nils Maier wrote the module for Apache httpd. Download the source and take some time to review the docs there. Compile and install the module on the command … Read more

Default category link for a custom category is a broken link

I found that the reason flush_rewrite_rules(); wasn’t working was because switch_to_blog doesn’t re-initialize some of the properties of $wp_rewrite (not to mention other parts of WP), so flush_rewrite_rules was still generating some of the rules based on the permalink structure of the current blog (which is not the same), rather than the switched-to blog (84). … Read more

Google Docs Viewer have problem in MultiSite sub-blogs

Only fix for 3.4.2 involves hacking a core file. The issue is already corrected in the upcoming version 3.5. Edit wp-includes/functions.php. Around line 1810, you’ll find this: ‘doc|docx’ => ‘application/msword’, Change that to this: ‘doc’ => ‘application/msword’, The docx file extension is actually already handled properly later down in the file, line 1819: ‘docx|dotx’ => … Read more

Any downsides on using Multisite for many look-alike-websites?

The main rule of thumb that I follow in these cases is: “Use WordPress multisite if it gives you clear advantages, not just because you can”. Mike Epstein explained this pretty well in the “Don’t use WordPress Multisite” post. This question is also answered on Quora before: Are there any disadvantages to using wordpress Multisite? … Read more

How to use the “domain_exists()” function

domain_exists() is something you probably wonĀ“t call by yourself. It is used in the registration/creation process of new sites in a Multisite installation. There itĀ“s used to check if a specific blog URL is already in use: if ( domain_exists($mydomain, $path, $current_site->id) ) $errors->add( ‘blogname’, __( ‘Sorry, that site already exists!’ ) ); (From /wp-includes/ms-functions.php, … Read more

Custom Post types and Custom fields in Multisite

If you place the CPT and fields code in a theme, each site in the network would be required to use that theme for the post type and custom fields to be available. If, however, you place that code in a plugin and network activate the plugin, every site in your network can use a … Read more