The incessant essentiality of WordPress to numerous users seems to widen constantly by and large, and inaddition to the need for an increased upload size file. WordPress serves as the center of human wants because of the distinct yet important usage it plays for us. It allows you to create websites for various purposes ranging from a simple blog to an eCommerce store blog.
As a beginner or long-term site user, you would discover that the continuous usage of WordPress tools and plugins on your website can help you achieve your goal, in creating awareness or selling some products on your website.
This goal can however be curtailed by the restriction placed on your website to only allow a certain size of file or plugin or theme. This restriction is created for the user’s and visitor’s convenience.
Detailed content has been created for your convenience to help you learn various techniques that can be implemented to increase upload size of files, or themes, or plugins on your website. Indeed, this is a great avenue to achieve an high level of optimization of your website on WordPress.
So, let’s dive in!
Table of Contents
The Importance of upgrading the uploadable size of your website
And before we dive into the main cause of action, let’s take a look at the various reasons as to why it is required though not mandatory to increase the size limit in WordPress.
The varieties of files that can be uploaded on WordPress makes it a great avenue to deliver consistent content to your readers or audience. This is obstructed by the limitation fixed on the uploadable file size on the site.
On WordPress, there are varying methods that users can employ in their individual strategies. Therefore, if your line of work requires you to upload high-resolution pictures or videos directly to your website, then you might have to consider increasing your upload size.
Yet this is not mandatory. If you are fine with the allocated upload size on your website then you do not need to change it. Or if your site does not require uploading large files or so on your site.
It should be noted that even though it is not mandatory, it is advisable because you would attain a better experience upon that.
The main reason why there’s a limit is to avoid the website from being over jammed or to prevent a server’s time out. Regardless, the restriction may prevent you from uploading themes, plugins, or other files that exceed the size given to you on your website.
Therefore it is essential for you to increase the max upload size of your website.
- Maximize the little to nothing allocated size on your WordPress website. Although, a big part of it is due to your host provider and the host plans.
- Strengthen your connection with your reader or audience with more in-depth content such as files, themes, and plugins. With a larger file size, you have wider possibilities
- .For installing a plugin or theme on WordPress, you might need a large upload size for better uploading and to avoid errors or issues.
- For a better user experience, you might consider increasing your max upload size. This however entails not just you as the user but also your site’s visitors.
- Also, if your site is about selling digital files, a larger upload size would be better and more feasible for you.
These reasons are however subjective. You as a person may have other individual reasons why you need to increase the max upload size of your website. But the bottom line of all the reasons is to inform you of the essentiality of increasing it because of the restriction.
Various mechanisms to employ to check the max upload size in WordPress
So, before deciding on whether or not you would want to increase the max upload size of your website, then you should at least know the particular upload size of your website.
On a normal basis, the max upload size of all WordPress most times ranges between 4 MB to 128 MB. Therefore, your website upload size would fall between those numbers. Your host provider has a major role to play in the upload size allocated to your website, therefore, you should ensure you pick the best web host provider.
This is why it is essential to carefully choose one’s host. You have to strategically examine the host you consider and choose it because of its performance and support. It is unsafe to nonchalantly pick out a host without a full examination of how much this host can help your site.
In Addition, it also depends on your hosting plan. Whether you seek out a big or small plan, it also affects your upload size because the plan feature is the host’s decision to make.
How to check the upload size of your WordPress Site
Now, to the order of the day, if you want to check the upload size of your website, you should move to your Admin Area of your WordPress, select the ‘Media’. Select ‘Add New’. From there you should be able to see the upload size of your website.
You can either select ‘Add New’ seen on the smaller page at the side or from the larger page. Both lead to the same goal but if you select the one on the larger page, it is done in a way to help you upload files from your system.
Either way, you should be able to see the max upload size of your website.
You can also selectively check it through the site health page. It is also quite simple. You would simply move into the info page of the site health of your website. From there, you should be able to sight ‘Media Handling’. Click on it and you should be able to view your site’s max upload size.
Study the image to understand more.
Best Practices to employ to increase the max upload size in WordPress
There are some easy ways you can employ to help you up the upload size of your website. The size limit in WordPress can be said to be an obstacle to numerous users whose basics of creating the website in the first place is to share contents that are large sized. They are however obstructed by WordPress restrictions.
However, these are three simple and easy ways to help you increase the upload size of your website. This is categorized from others because it is simple and easy to implement. The other ways you can achieve this involve the use of codes and other technical things.
You should be able to apply the highlighted ways to achieve a higher upload size for your website. It is also advisable to take on this method before moving on to the ones involving codes and other technical aspects. Though you do not have to strictly follow this, you just have to figure out the one that works for you.
So let’s begin!
Contact your web host provider
This can be said to be an easier alternative to increasing the upload size of your website. You can easily contact your host provider, state your issues to them, and allow them to proffer a solution to it. They should have the means to solve this. We advise that this should be done first before you begin with other technical alternatives.
And by chance, if you don’t have a hosting provider, you can look up the best web host providers for WordPress on their official website.
The host you choose can go a long way in creating an impact on your site either positively or negatively. So ensure you choose one that suits your website needs or requirements.
This entails managing multiple sites with just a single WordPress installation. This type of website is made easy to fix the upload size issue because it allows WordPress to run the site individually on the same installation but performs quite efficiently.
Although, these sites would have their own media repository but they all share the same resource.
Here, all you have to do is navigate through the Admin Area, into Network > Settings.
You should be able to see the ‘Max upload file size’
There you can easily change the numbers in the box.
It should be noted however that you can not exceed the allocated upload size stated by the server of your website. It has to be within what is already stipulated. This method proves useful when you have an upload size lower than that allocated to your website.
Use of FTP/SFTP
You can upload large files directly to your WordPress website using FTP/SFTP. This is a very helpful tool that allows users to upload files from the system to the server or download files from the server to the system, and other useful implements.
So, you can also utilize the use of FTP/SFTP to help upload a large file to your website. Although we do recommend the use of SFTP because it is more secure.
Another alternative to FTP/SFTP is the Add From Server Plugin. This is in case of any circumstances that prevent you from using FTP/SFTP.
Use of plugins
This is a great alternative to the use of code or programming languages to change the upload size of your website. They are quite efficient but they require strategic steps, to the extent that if it is not installed or operated rightly, it might not just work for you.
There are numerous WordPress plugins created to help increase the upload size. Some examples are; Upload Larger Plugins, Tuxedo Big File Uploads, and so on.
However, we are going to take on the Increase Max Upload Filesize plugin. It is highly recommended because of its effectiveness.
To use this plugin, you have to search and install it by navigating through your WordPress Dashboard, then Plugins, and lastly Add New.
Search for the plugin afterward.
When found, install and activate correctly.
Open the plugin and change the number given which represents your website upload size.
After the change, don’t forget to save the modification.
It’s really that simple.
Techniques that can be utilized to increase the max upload size of your website in WordPress
We’ve discussed the basics of this content and also stipulated some easier ways in which you can apply to your site in order to solve the upload size issue. However, there are times whereby you may come across a mulish case or a troublesome host. At this point, none of the preceding alternatives would do any good to you. You can therefore apply these technical methods.
Although these methods are technical in nature, they do not require special technical knowledge to understand it. And this guide has been created as detailed as possible. So all you have to do is read, understand, and apply the practices to your website. Most even involve just copying the code to your website.
So sit back and apply the ones practicable to your website and ensure you follow them appropriately to attain your desired result.
1. Use of .htaccess files
Many of us might not be familiar with this but .htaccess is like the stronghold of your website. It basically controls your website performance and it acts as a channel to communicate with your host provider.
And you can also use this channel to increase the max upload size of your website in WordPress.
However, you have to make sure that your server is utilizing Apache. You have to also ensure that the PHP of your website is in Apache mode as well.
Therefore, you can copy these codes and add them to the .htaccess file of your website.
1. php_value upload_max_filesize 32M
2. php_value post_max_size 32M
3. php_value memory_limit 64M
4. php_value max_execution_time 300
5. php_value max_input_time 300
To do this, you have to connect your server through an FTP client and locate the WordPress installation file. Afterward, you would open up .htaccess through a notepad and then paste the copied codes. However, ensure that you’ve made hidden files visible because .htaccess is a hidden file.
You can edit the code numbers, fix your desired numbers to the one suitable for your website. You should note that number (4) or (5) is quoted in seconds, so you have to decide which is preferable to your site.
This techniques are a way of attaining WordPress Optimization.
2. Use of Nginx
Nginx, like Apache, is a web server that is variously utilized for performance optimization in WordPress. So you can also implement the use of Nginx to increase the upload size of your website. These procedures may however vary depending on the host server you are using on your site.
So for this step, it would require you to search for your php.ini file in the Nginx server. Modify the upload max file size and the post max file size to your desired size and save the modification.
Afterward, in the Nginx. conf file, you need to modify the max upload file as well. You need to set this appropriately at the location, server, and http.
Save modification and restart Nginx to apply changes.
You can employ this code to reload – sudo service nginx reload
3. Make changes to your php.ini file
This is also a great technique to allow you to increase the max upload size of your website. This technique works great for different users and it’s simple to apply.
Now, all you have to do is search for the php.ini file in your root directory. You can utilize the use of a file manager in your host’s dashboard at the c-panel to help search for it. Or as an alternative, you can use FTP/SFTP.
Search for the file, and if not found, you can create another php.ini file.
However, the way it goes, add this code to the file;
upload_max_filesize = 10M
post_max_size = 10M
max_execution_time = 300
Copy and add these codes to it. And you can try out 64M instead as an alternative.
4. Make use of user.ini files
Sometimes, you might not be able to achieve the desired result with the phi.ini files. There are times where your server configures your website to take cognizance of user.ini files rather than phi.ini files.
However, both require the same process for an increase in the max upload size in WordPress.
Locate the user.ini file in your root directory. Employ the use of FPT or the file manager app of your host’s c panel dashboard.
If you are unable to locate it, then you can create a user.ini file.
Add these codes to it
upload_max_filesize = 10M
post_max_size = 10M
max_execution_time = 300
As seen, the code and process are similar to that of phi.ini.
This method has proven to be quite useful to individuals that employ this method. Therefore, endeavor to follow it systematically and appropriately.
5. Make changes with the use of WordPress themes to increase max upload size
If it’s more comfortable for you, you can increase the max upload size in WordPress by changing your theme. Doing so would change the value of the current upload size of your website into a default value. Then you would add these codes to the functions.php of your theme.
@ini_set( ‘upload_max_size’ , ’64M’ );
@ini_set( ‘post_max_size’, ’64M’);
@ ini_set( ‘max_execution_time’, ‘300’ );
You can set it to your preferred size from the code. However, it goes, ensures the code is inputted correctly to the functions.php file of your WordPress theme to change the upload size of your website.
How to confirm the max upload size of your website after applying the given techniques.
After taking up any of these techniques, you can check and confirm if the technique was successfully implemented on your website. For this, you would have to follow the same procedure as explained before. Move into the Media Library of your website dashboard in WordPress.
Confirm if it has been successfully changed.
If it has, congratulations to you then. You can unrestrictedly upload files, or themes, or plugins as you please. This entails that although there is still a limitation as to things you can upload on the site you have a wider spectrum than the previous size.
However, if not successful, you can try out other techniques which you have not tried out and apply them accordingly on your website.
These are the varying ways you can increase the max upload size of your website on WordPress. These distinct ways can be tasking and perhaps difficult to apply accordingly, so you have to figure out which you could work on and apply it on your website appropriately.
As earlier stated, the reason why there’s a limitation in the first place is to prevent issues that could reduce WordPress optimization of websites and ensure that WordPress distinct features satisfy user’s needs and also user’s convenience.
Therefore we can say that WordPress is a Versatile Content Management System that provides extendable features that can be easily harnessed by the user for various individual reasons. Even the WordPress Community is a great avenue to seek answers to any issue related to WordPress that you require to be solved.