Main menu

Pages

How to increase the WordPress upload size limit 2022

WordPress’s file add limit is normally 4 to 128 MB, which ensures server efficiency. This restriction can be increased in extraordinary ways, however. You can contact your web internet hosting provider, adjust the configuration values in the wp-config.php or php.ini file, or select one of the alternative options.

How to increase the WordPress upload size limit 2022

WordPress add limit: definition and scope

The WordPress upload restriction is the maximum measurement of files you can add to your WordPress website. It is usually between four and 128 MB (although this depends on the host). You can discover the exact restriction in the backend of your WordPress website. The reason for the add limit is that when you strive to upload archives that are too big, it can cause the server to time out and in the worst-case crash. Therefore, its reason is to preserve the site’s overall performance and prevent (cybercriminal) customers from impairing it.

When and why increase WordPress add size?

It makes sense to expand the default upload dimension in WordPress if you want to add files that are too large. This can appear when building websites that should have high-resolution photos, longer videos, etc. Photographers who diagram to sell their snapshots online be aware of how important it is to add images of the most effective quality.

Instructions: How to check and amplify your WordPress upload restrict the size
Check WordPress upload limit

As mentioned, you can discover what the limit of uploadable archives is in the WordPress backend. To do this, tap on “Media” and “Add file”. Below the uploader, you’ll discover the maximum file measurement for uploads. In our case, this is 128 MB. If this is exceeded, then the following error message will be displayed: “[File name] exceeds the maximum add limit for this site.”

In the media library of the WordPress dashboard, you can find the file uploader indicating the WordPress upload limit.
Another way to take a look at the WordPress upload restrict is via “Tools” and “Site Health”. There you will see all the necessary information listed in the report, which includes the maximum file size.

Increase the WordPress add size

If you want to expand the WordPress upload size, you have numerous options to pick from, which we will present to you in detail:

  • Contact the help of your web hosting provider
  • Increase the upload restriction for a WordPress multisite
  • Edit the wp-config.php file
  • Edit the php.ini file
  • Access the PHP options in the cPanel
  • Contact the aid of your web hosting provider

The simplest technique that can be used to increase your WordPress add size entails contacting your host. Depending on the provider, this can be finished by phone, email, chat, or contact form. It is beneficial to mention what your preferred upload dimension is. Check the size of the documents you want to add so that you’ll know what restrictions to request. IONOS has all the contact information on its huge contact page.

Contact your web internet hosting provider and ask them to expand the WordPress upload measurement for your website. / Source: https://www.ionos.com/contact

Increase the upload restriction for a WordPress multisite

If you run a WordPress multisite, which is a network of quite a number of WordPress websites, then you can adjust the add limit for the entire network. To do this, open the settings in your WordPress backend and access the community settings. Here you have the option “Maximum add file size” where you can enter your preferred WordPress upload limit. Be certain to specify the value in kilobytes (e.g. 200000 KB would be 200 MB) and retailer your changes.

Edit the wp-config.php file

The WordPress upload restriction can also be extended using the WordPress wp-config.php file. This file can be observed in the main folder of your WordPress setup and is only available via FTP.

Enter the following code in the file:

Enter the code “define('WP_MEMORY_LIMIT', '200M');” in the wp-config.php file, to enlarge your WordPress upload restrict to 200 MB.
Edit the php.ini file
Another configuration file that can be used is the php.ini file, which you may have to create first by way of FTP or SSH. Here is where the following configurations (possibly with different values) will be displayed:

Adjust the configuration values in the php.ini file to increase your WordPress and add a limit.

Access the PHP option in the cPanel
If you are the use of the cPanel configuration tool, there is another way you can expand your WordPress upload size. To do this, first search for “Select PHP version” and then choose the PHP options. Now you just want to adjust the configuration values referred to in the previous part and save your changes.

Comments

table of contents title