increase-maximum-uplaod-file-size

Do you want to increase the Maximum upload file size in WordPress? Some times largest file upload size limit can stop you from uploading files via media uploader, or install plugins and themes. In this article, we will try to show you how to perfectly increase the maximum file upload size in WordPress to fix those issues.

How to Check Your Maximum File Upload Size Limit in WordPress?

WordPress will by default show you the maximum file upload size limit when you are uploading images or media. To check if you can simply login to your WordPress dashboard then go to the Media » Add New page and you will see the maximum file upload size limit for your WordPress site.

increase file size with wordpress

4. Simple way to upload maximum file size in WordPress?

  • Theme Functions File.
  • Create or Edit an existing PHP.INI file.
  • htaccess Method.
  • Add Plugin to upload increase maximum file size.

1. Theme Functions File.

Using this method we have succeeded to increase file size. so By adding this code in your WordPress function.php file you can increase the upload size:

@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );

2. Create or Edit an existing PHP.INI file.

With this method you need to log in to your hosting cPanel > file manager then create a php.ini file in your WordPress installation root directory.

Most of the time WordPress users face this issue for using shared hosting, then you will not see a php.ini file in your directory. If you do not see one, then create a file called php.ini and upload it in the root folder. In that file add the following code:

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

3. htaccess Method.

htaccess file edit is also a good way to quickly fix the problem. Some people have tried using the .htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Edit the .htaccess file in your WordPress site’s root folder and add the following code:

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

3. Add New Plugin to Upload increase file size.

You can also WordPress to increase upload size to install a simple WordPress plugin. it is a much easy process to change max upload size WordPress. it is a free WordPress plugin made by CodePopular. Let’s download this plugin from here

Do you need any help? feel free to contact us Contact here

You can choose also our product.

One comment on “How to increase Maximum upload file size in WordPress

  • […] the Htaccess file is an effective method to swiftly resolve the issue. Many users have tried this .htaccess method where by altering the .htaccess file located in the root directory, you are able to […]

    Reply

Leave a Reply