One problem a lot of new and even old users of WordPress face is when they try to upload a file (such as themes, plugins, images) greater than the allowed size and as a result, greeted with a “exceeds the maximum upload size for this site” error.

In this tutorial, we will go over the various ways to solve this issue.

I actually ran into this problem at our sister’s site OmniPay WordPress. The multisite solution below was actually what did the trick.

Tweaking php.ini

If you have access to your server php.ini file, modify the three directives below. If you don’t, then create a file called php.ini and upload it in the wp-admin folder.

upload_max_filesize = 64M post_max_size = 64M max_execution_time = 300

Multisite Solution

If your website is a WordPress multisite installation and your php.ini is in OK but still unable to upload large files, follow the steps below.

Navigate to Settings >> Network Settings. In Max upload file size under Upload Settings section, increase the field value to a higher kilobyte value. For example, inserting 9000 will increase the upload limit to 9 megabyte (MB).

Conclusion

If none of the above work for you, your last resort is to contact your web host to do this for you.