Increase the Max File Upload Size in WordPress

Increase the Max File Upload Size in WordPress. A little WordPress upload size limitation controls you from uploading big files, plugins, and themes. If you’re creating a media-heavy website, that can be a large block. It’s essential to expand the maximum upload size in WordPress or your server in such circumstances.

WordPress is a control house with multiple themes and plugins that permit you to make any type of website. From eCommerce to an easy blog, WordPress has you protected. However, when selecting a web hosting for WordPress, you should think about performance, protection, and asset in the first place.

Read Also: How to Allow User Registration on Your WordPress

Relying on your hosting provider and server, there are multiple methods to go about translating this issue. That being said, let’s guide you on how you can improve the max file upload size on your WordPress website.

Increase the Max File Upload Size in WordPress

WordPress will automatically display the max file upload size limitation when you are uploading photos or other media. To review this, just go to Media » Add New in your WordPress admin panel, and you will see the full file upload size limit for your WordPress site.

Increase the Max File Upload Size in WordPress

Now that you understand how to find the size limit, let’s guide you on how to increase the maximum upload size in WordPress

Increase the File Uploading Size.

This method applies to adding code to your functions.php file in your WordPress theme. After that, you require to open your functions.php file via FTP (File Transfer Protocol) or the file manager app in your hosting account dashboard. Then, add the following code snippet at the bottom of your functions.php file.

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

Method: 2

You need to locate a file from your root folder name php.ini. If you’re using shared hosting, then you might not see the php.ini file in your hosting provider directory. If you do not see one, then just make a file named php.ini and upload it to your root folder. Then, add the following code snippet to the file.

upload_max_filesize = 256M
post_max_size = 256M
max_execution_time = 300

Conclusion

WordPress is a universal Content Management System. There is consistently a method to do something. If you are not able to see a response to any of your problems pertaining to WordPress, then you can ever go and request in the ever-helping WordPress community. We are also a part of that fantastic community, so you can always contact me as well.

Leave a Comment

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

Scroll to Top