This post was last updated on September 13th, 2021 at 09:23 pm
Check Your Maximum File Upload Size Limit
WordPress will instantly demonstrate that the utmost file uploads size limit whenever you are uploading media or images. To assess it, you can visit Media in the WordPress dashboard and click on Add New pages, and you also may observe exactly the maximum file upload size limit for your WordPress site.
1 # Theme Function File
There are instances where We’ve noticed that by simply incorporating the above code in the theme’s functions.php file so you can raise the upload size:
@ini_set( ‘upload_max_size’ , ’64M’ );
@ini_set( ‘post_max_size’, ’64M’);
@ini_set( ‘max_execution_time’, ‘300’ );
Must Read: Read our detailed guide on SEMrush SEO Tools.
2 # Make or Modify an Current PHP.INI document
With this specific process, you have to find your WordPress site’s root folder functioning with this FTP or Document Manager program in your website hosting account’s cPanel dashboard
Generally, in many cases, you are on the shared server, then you definitely are not going to observe a php.ini file on your directory.
If you don’t get this file, then create a document named php.ini and then upload it to the root folder. In That’s the document include the Subsequent code:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
This way is reported to benefit all end users. Remember that if 64 will not do the job, then strive 10MB (sometimes that do the job )
3 #. htaccess Method
Many folks have attempted to employ the .htaccess procedure by altering the .htaccess document in the root directory to ensure you are able to enhance the upload size in WordPress. Alter the .htaccess document on your WordPress site’s root folder and then include the above 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
All over again, it is essential that we must highlight that in the event you are on the shared web hosting offer, afterwards, these processes might not work. In that’s situation, you may need to get in touch with your hosting supplier to raise the limit for you.
Read Also: Read our detailed guide on GeneratePress Theme.
Hopefully this article work with you to improve your highest possible document upload size into WordPress.
Hey, I am Jitendra Kumar an professional Blogger , and the Founder of askjitendrakumar. Askjitendrakumar works as an operating system for bloggers to explore Blogging, SEO, and Affiliate marketing tips, Read More