How to Increase the WordPress Maximum Upload File Size

WordPress has a default most-add report length of 2MB. This is first-class for most small websites, however, if you want to upload larger documents, which include films or excessive-decision pics, you’ll need to increase the file length.

Now WordPress is the Best Platform For bloggers and People use WordPress because it is very easy Simple and User-friendly.

we buy a domain and hosting from the company after a few days your hosting and file Fill the Provide In Start. you Increase the Max Upload Limit on WordPress Blog easily. It is so simple now we can see how to increase the Limit. Here are the steps to follow.

Now without taking your more time let me take you to the tutorial. I have shared two methods to make it workable for you, apply any that suits you best.

How to Increase the WordPress Maximum Upload File Size

Method 1: Ask Your Hosting Company For Help

You buy hosting. if you do not want to increase the memory of the file then Say your Web hosting Agent. Many hosting companies have chat support that can help you out in these situations. Go to Live Chat and Stat Them with an agent and say to a Few Minutes they will solve your problem.

Method 2 – Functions.php

This method can help you to increase the maximum upload limit by making certain changes in your theme function. This can help you to increase your max file limit by up to 64 MB. Here are the steps for it;
Go to your WordPress Dashboard,
then click on Appearance from the sidebar.
Now click on Editor and then
click on functions.php and then paste the following code there.
@ini_set( ‘upload_max_size’ , ’64M’ );
@ini_set( ‘post_max_size’, ’64M’);
@ini_set( ‘max_execution_time’, ‘300’ );

Now save the file and you are done.

Method 3- PHP.INI

Log into your Control Panel. You open your Control Panel. You will be required to access your web directory to locate the PHP.INI file, if you are on shared hosting then you need to create a PHP.INI file first and then access it.
Now paste the following code into your PHP.INI file.

pload_max_filesize = 30M
post_max_size = 30M
max_execution_time = 300

memory_limit = 32M
upload_max_filesize = 32M
post_max_size = 32M
file_uploads = On

Now save the file and you are done.

Method 4: Editing Your .htaccess file

Now try editing your .htaccess file and add or edit the following code at the very bottom:
php_value upload_max_filesize 1000M
php_value post_max_size 2000M
php_value memory_limit 3000M
php_value max_execution_time 180
php_value max_input_time 180

Method 5: Your wp-config.php File

Edit your Wp-Config.Php File and add this File.
define(‘WP_MEMORY_LIMIT’, ‘3000M’);

Method 6: Increase Upload Max Filesize with WordPress Plugin

WordPress gives several plugins that let you grow the maximum add document length without manually modifying documents. “Increase Max Upload Filesize” and “Upload Max File Size” are famous options. These plugins provide a user-pleasant interface to modify the record length limitations.


Encountering restrictions on file add sizes can be an irritating revel in for WordPress users. However, with the strategies stated above, you could conquer those obstacles and decorate the functionality of your internet site.

Whether it’s editing configuration documents, using plugins, or optimizing your documents, there may be a solution for each person’s consolation level and technical expertise.


Why does WordPress have a maximum upload file size limit?
WordPress imposes this limit to maintain server performance, prevent overloads, and enhance security.

Can I change the file upload size limit without technical knowledge?
Yes, using plugins like “Increase Max Upload Filesize” doesn’t require advanced technical skills.

Will increasing the file upload size affect my website’s speed?
While larger files might take longer to upload, proper optimization should mitigate any significant impact on speed.

Can I directly upload files from cloud storage to my WordPress posts?
Yes, by integrating cloud storage services, you can embed files stored on platforms like Google Drive into your WordPress content.

What’s the recommended maximum execution time when editing configuration files?
A value of around 300 seconds is generally sufficient to allow larger files to be uploaded without timeout issues.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.