Coding

How To Increase WordPress Upload Limit 2020

How To Increase WordPress Upload Limit : welcome peoples today I am gonna show to you how you can increase wordpress maximum upload limit, because wordpress have default upload limit is 2 mb ,if you are trying to upload more than 2 mb so wordpress gives error, so in this article i will share with you some best tricks to increase wordpress the default upload size.

First Way : Use htacess File

Open your .htaccess file with your any editor and paste below 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

Second Way : Modify Wordpress File

You can paste below 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’ );

Third Way :

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

I hope this article helped you learn how to easily Increase WordPress Upload Limit.

Zaiygam

Hey, have you ever thought about turning your hobby into your job? It's like a dream come true, right? That's exactly what I did with Zaiygam.com. I love helping people out with my experience, and the best part is, you don't even to pay me for it! As a content publisher, I share the knowledge and experience which I gain in day-to-day life. Thanks for visiting the site.

Leave a Reply

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

Back to top button

Adblock Extension or Add on Detected

Please consider supporting us by disabling your ad blocker