How To Increase Maximum Upload File Size In WordPress

Here, we going to see how to increase the maximum upload file size in WordPress without using any plugin.
Default WordPress Not allow uploading big size files.

To check the current max upload size limit of your WordPress site.
Navigate to WP Admin → Media → Add New. Here you can see the current max upload size.

Please review the below screenshot

When I add files above 40Mb. WordPress does not allow to upload the of files.

Please review below screenshots

To increase, the maximum upload file size just needs to add the below code in your WordPress .htaccess file.

php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300

Here,  all the values use m instead of MB.

You can change the value as per your requirement.

Now refresh your WordPress media page. Click on add new media. where you can see your increased size.

Please review the below screenshot

Hope you guys found something useful.

Submit a Comment

Your email address will not be published. Required fields are marked *


Select Categories