The customer portal my.neoserv.com has been redesigned. If you notice any issues, please let us know.

Cart (0)
  • Your cart is currently empty.

USER INSTRUCTIONS

Search instructions

WordPress has a preset maximum file size that can be uploaded from 2 MB up to 150 MB. If you want to upload larger files than the preset value, you have the option to change it. Check below the four options on how to do this.

Current maximum file value

First, check the current maximum file size setting. There are three easy steps to do this:

  1. Log in to the WordPress administration.
  2. From the menu, click Media > Add New.
  3. Check the Maximum upload file size value in the bottom left corner. Maximum file size

If the preset value is too low, there are four ways to change it.

Edit the functions.php file

Follow these four steps to increase the maximum file size you can upload in the functions.php file.

  1. Log in to the cPanel control panel.
  2. In the Files section, click on the File Manager icon.
  3. Click on public_html and wp-content > themes > open the folder with the theme you are currently using.
  4. Open the functions.php file and enter the code with the desired values:
@ini_set( 'upload_max_size', '64M' );
@ini_set( 'post_max_size', '64M' );
@ini_set( 'max_execution_time', '300' );

We recommend to fix the value in the Child topic. If you fix the settings in the main theme, the values will be reset again when the theme is updated. In case the functions.php file does not exist in the Child theme folder, create it and enter the above code.

INCREASING LOAD SIZE IF YOU USE WordPress MultiSite (WPMU)

In case you are using WordPress Multisite (WPMU), then edit the setting in the WordPress administration. The setting depends on the settings of the server where your website is uploaded. For example, if your server is set to 20 MB, you cannot exceed this value. However, you can, for example, increase the value from 15 MB to 20 MB. Maximum file size - multiple pages

Edit the wp-config.php file

One of the ways to edit the settings is to edit the wp-config.php file in four steps:

  1. Log in to the cPanel control panel.
  2. In the Files section, click on the File Manager icon.
  3. Click on public_html.
  4. Open the wp-config.php file and enter the code with the desired values:
@ini_set( 'upload_max_size', '20M' );
@ini_set( 'post_max_size', '15M' );
@ini_set( 'memory_limit', '15M' );
@ini_set( 'max_execution_time', '300' );

Use a dedicated plugin

The easiest method, for basic WordPress users, is to use a dedicated plugin to increase the maximum file size. Install and use it in six steps. Vtičnik za povečanje maksimalne velikosti datoteke

  1. Log in to the WordPress administration.
  2. Click on Plugins > Add New in the menu.
  3. Type Increase Max Upload Filesize in the search box.
  4. Install and activate the selected plugin.
  5. Open the plugin settings and enter the desired value in the Increase Maximum Upload File Size section. Maximum file size - using the plugin
  6. Save your changes.

This way you have successfully increased the maximum file size you can upload to WordPress.

COMMENTS

COMMENT THE POST

(mandatory)
(mandatory, email address will be hidden)
(optional)
Security question that confirms you are a real person.