How To Increase WordPress Upload Limit in 2020
How To Increase WordPress Upload Limit – Today I am going to show you or discus on how to increase wordpress maximum upload limit, wordpress default upload limit is 2 MB. if you want to upload more than 2 MB so wordpress say error, so in this article I will show best tricks to increase wordpress default upload size.
Method #01 – Using .htaccess File
Open your .htaccess file with any editor and paste these three lines at the end of the file where it says #END WordPress and save it.
php_value upload_max_filesize 32MB php_value post_max_size 32MB php_value memory_limit 32MB
Method #02 – Modifying a WordPress file
You can paste the following 3 lines within your WordPress files. These lines can be written in themes functions.php file.
@ini_set( ‘upload_max_size’ , ’32MB’ ); @ini_set( ‘post_max_size’, ’32MB’); @ini_set( ‘memory_limit’, ’32MB’ );
Method #03 – Modify PHP.ini file
Open php.ini file with any text editor and search for the three settings to modify them like upload filesize and etc.
upload_max_filesize = 32MB post_max_size = 32MB memory_limit = 32MB
Despite enforcing a maximum file upload limit size, WordPress allows you to increase its limit.
The tutorial above shows that there are multiple ways of increasing WordPress’ maximum file upload limit size.
If these methods don’t work for you, it’s best to reach out to your hosting provider and let them alter it for you.
I hope this article helped you learn how to easily Increase WordPress Upload Limit.
Read More: How to send HTML format email using PHP