How to increase the WordPress Multisite Network limit for Maximum Filesize Upload?

  1. Access your WordPress site's root directory using an FTP client or file manager.

  2. Locate and open the wp-config.php file in a text editor.

  3. Add the following line of code before the line that says "That's all, stop editing! Happy blogging."

define('MULTISITE', true);
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']);
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

define('UPLOADS', 'wp-content/blogs.dir/' . get_current_blog_id() . '/files/');
define('BLOGUPLOADDIR', WP_CONTENT_DIR . '/blogs.dir/' . get_current_blog_id() . '/files/');
  1. Save the changes to the wp-config.php file.

  2. Log in to your WordPress admin dashboard.

  3. Navigate to "Network Admin" > "Settings" > "Network Settings."

  4. Look for the "Max upload file size" option and set the desired maximum file size.

  5. Save the changes.

  6. Open your site's .htaccess file in a text editor.

  7. Add the following lines of code after the existing WordPress rules:

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value memory_limit 300M
php_value max_execution_time 300
php_value max_input_time 300
  1. Save the changes to the .htaccess file.

  2. Finally, check if the changes take effect by attempting to upload a file that exceeds the previous file size limit.