WordPress Media mime type filter problem 4.0

Here’s a workaround you can put in a plugin or your theme’s functions.php file. So far no problems. /* * Workaround Bug 30123 * Affects WP 4.0+, should be fixed in WP 4.1 * https://core.trac.wordpress.org/ticket/30123 */ function bugfix30123__action__admin_init() { if ( isset( $_GET[‘attachment-filter’] ) && is_string( $_GET[‘attachment-filter’] ) ) { $_GET[‘attachment-filter’] = $_REQUEST[‘attachment-filter’] = str_replace( … Read more

Network setup tab is not shown under Tools

You may want to try putting the line define( ‘WP_ALLOW_MULTISITE’, true ); somewhere near the topic your wp-config.php file. Also make sure you don’t have anything like // or anything like on the same line as it may comment out the define statement. Source: http://codex.wordpress.org/Create_A_Network “Step 2: Allow Multisite “

500 error when using virtual host

You should have a look at this: Request exceeded the limit of 10 internal redirects due to probable configuration error.? and RewriteRule Flags It seems that you have a recursion in there. It is probably the last rule as the dot without anything else will match index.php as well.

Redirect loop (only for multisite network admin)

I also had the same redirect problem when trying to access wp-admin/network. Performing below changes fixed it. 1). In wp-config.php file, added www.website.com rather than just website.com define(‘DOMAIN_CURRENT_SITE’, ‘www.website.com’); 2). use phpmyadmin –> wp_blogs table Add www. to the domain value Basically, both site name and blog name have to be exactly the same. Cheers!

How to get max upload size and accepted file types on multisite?

Yes, you can easily grab those multisite values from database using an MU (μ) Function: get_site_option() Getting Fields Maximum Upload Size The maximum upload size, per site (NOT per blog), per file can be found using: $max_up = get_site_option(‘fileupload_maxk’); var_dump($max_up); //in kilobytes Accepted File Types The accepted file types per site (NOT per blog) can … Read more