WordPress is a powerful content management system (CMS) that lets you install plugins, themes, and various types of media. However, when you install WordPress using your preferred web host, the default settings will put limits on the size of what you can upload. So, you may wonder how you can modify WordPress to increase upload size.
The good news is that there are a few ways you can do this. You can change your PHP configurations, edit your .htaccess file, or simply ask your hosting company to increase the limit. 🚧

In this post, we’ll discuss some of the main reasons you may want to configure WordPress to increase upload size. Then, we’ll show you four ways to do it. Let’s get started! 🚀
Why you may need to increase the upload size in WordPress
First things first. If you’re unsure of the meaning of “maximum upload size” – it’s pretty much what it sounds like. When you sign up for web hosting and install WordPress, your hosting provider sets a default limit for file sizes you can upload on your site. This limit varies based on your hosting plan and your particular provider.
👉 Now, let’s go over some reasons you might want to increase the maximum file upload size in WordPress:
- To install larger, premium themes or plugins
- For uploading professional-grade photos/images with large file sizes
- To add rich media like audio, video, or animated content
- For selling hefty digital products such as eBooks
As you can see, there are plenty of scenarios in which you might need to increase the upload size in WordPress. Therefore, knowing how to do it can come in handy.
Still, it’s important to note at this point that uploading lots of bulky media or installing heavy plugins and themes can slow down your site. Therefore, if you’re dealing with a multitude of large files, use an optimization plugin.
Which tool you use depends on your needs. For instance, if you run a photography blog, you might benefit from an image CDN like Optimole.
How to check the maximum file upload size in WordPress
In order to increase your maximum file upload size in WordPress, you’ll need to figure out that limit. So, we’re going to show you how to check it.
Begin by going to your WordPress dashboard. Then, click on Media → Add New. You should see the maximum upload file size just below the Select Files button. In our case, it’s 300 MB, which is a fairly average limit.

How to increase upload size in WordPress (4 methods)
Now that you know how to check for the maximum file upload size in WordPress, we’re going to show you a number of different ways to increase it.
- Method 1: Contact your hosting provider and ask for an increase
- Method 2: Update the php.ini file
- Method 3: Edit the .htaccess file
- Method 4: Change PHP version limits in cPanel
Method 1: Contact your hosting provider and ask for an increase 💻️
Before moving onto any of the following methods, the easiest option to increase the upload size in WordPress is to simply ask your web host to do it for you.
Most reputable web hosting companies have no problem raising your upload limit; they usually just give the same upload maximum to all users to keep server resources in check. Requesting an increase typically shouldn’t require you to pay an extra fee or upgrade your hosting plan.
To make this happen, go to your hosting provider’s website and look for the customer support contact options. I’d recommend opening a live chat if that’s available. In my experience, customer support teams for hosting companies immediately try to send you knowledgebase links. If that’s the case, state that you’ve tried to walk through the documentation but can’t figure out the process. Ideally, the representative taps into your backend and raises the maximum upload size for you. Be sure to specify how high you’d like the maximum file size to be.

If you’re planning on uploading lots of large image files or installing a bulky plugin or theme, it might be a good idea to upgrade to a more powerful hosting plan. As a result, your site will be able to handle the added pressure.
When you get in touch with your hosting provider, we recommend also asking them about any optimization features that will help ensure your WordPress site performs well despite the heavy files you’ll be adding to it.
Method 2: Update the php.ini file ⚙️
If your host is unwilling to complete the job for you, we’re going to show you how to change the maximum file size in WordPress by updating the php.ini file. This is a fairly simple process as long as you have access to a cPanel dashboard through your hosting account.
Navigate to your cPanel control panel. Go to the Software section and select MultiPHP INI Editor.

Choose your website’s domain under Select a location.

After that, you’ll see all the PHP directives you can modify.

Scroll down to the option for upload_max_filesize.

Input your preferred upload size limit and hit Apply when you’re done.
Method 3: Edit the .htaccess file 🖱️
Another (more technical) approach on WordPress to increase upload size is to edit your site’s .htaccess file. Since modifying your website’s files is a delicate process, just be sure to back up your website before you proceed. This way, you’ll have a fresh copy of your site if you make a mistake that affect’s its functionality.
You’ll need to connect your site to an FTP client like FileZilla. This gives you access to modify your site files.
Once that’s done, locate your .htaccess file in the website’s root folder, which should be labeled something like public_html. You may have, however, given it a custom file name.

Inside the root folder, find the .htaccess file. Right-click and select View/Edit.
After that, open your text editor and paste the following code snippet to the bottom of the file.
<code>php_value upload_max_filesize 350M
php_value post_max_size 350M
php_value memory_limit 350M
php_value max_execution_time 300
php_value max_input_time 300</code>
Code language: HTML, XML (xml)
We’ve chosen “350M” for our limit on the first line, but you can increase it further if you’d like. Increasing the other limits in that code snippet may help prevent your site from timing out when uploading large files.
Last, save your new .htaccess file and replace it with the old one. This is the most technical way of modifying WordPress to increase upload size, but just about everyone can tap into their site files instead of relying on your cPanel version or hosting dashboard settings (which vary depending on the host).
Method 4: Change PHP version limits in cPanel (only for legacy cPanel users) ⌛
This method offers a quick way for cPanel users to increase the maximum upload size with a simple change of some numbers. Unfortunately, it only works for legacy cPanel users. We’ve noticed that some hosts still have the older version of cPanel (with the Select PHP Version button needed for this method), or you may still run an older version of cPanel on your servers. If you’re in one of those groups, you have access to one of the easiest available solutions for increasing the WordPress maximum upload size. You can skip this method if you’re using an updated version of cPanel (where you see a MultiPHP Manager button instead of a Select PHP Version button).
To get started, you’ll need to access cPanel in the advanced settings on your web host’s user dashboard. This process will vary by provider, so you may need to consult your host’s documentation to find out how.
Every cPanel dashboard is different, but you should see options to manage email accounts, files, and domains.

Locate the Software section and click on Select PHP Version.

On the next screen, click Switch to PHP Options tab.
You’ll find a list of PHP directives, including upload_max_filesize. Increase the corresponding numbers and save your changes. You can also increase max_execution_time and post_max_size, since both tend to time out your site when uploading large files.
Our conclusion on how to fix WordPress to increase upload size 🧐
Configuring WordPress to increase upload size can be useful for a variety of reasons. It enables you to install larger premium themes and plugins. Or, you might want the option to sell digital products like videos or media-rich eBooks.
Fortunately, there are several approaches to changing your settings in WordPress to increase upload size. 😎 The first step is to contact your host and see if they’ll increase the limit for you. If that doesn’t work, you can easily modify your PHP configurations in the cPanel. Alternatively, if you’re comfortable changing your site’s files, you could try editing the .htaccess file to remedy the issue. 🙋♂️
Do you have questions about how to change settings in WordPress to increase upload size? Let us know in the comments section below!
…
Don’t forget to join our crash course on speeding up your WordPress site. Learn more below: