How Easily Increase The Maximum File Upload Size In WordPress

 hand icon wordpress mug

Manage and create a web page comes with a lot of Responsibilities . Always be alert a lot of details, to the point that often we must find a team with which to work because of the amount of work.

And, once we found the balance between all the work that you can have, yet no big vacation to be taken to having to always be active to monitor the content and to ensure that content SEO it is being done correctly to achieve having a good positioning on the web .

How to Easily Increase the maximum size of uploading files in WordPress

That is why, although it seems a gold mine, actually managing a website is not a simple task, either on Facebook or any other platform. certain talents and creativity and resilience are also needed in order to progress effectively in the world of managing web pages.

This leads us to have to know several tricks and strategies to make the website work as we want it to do. This often could be a challenge considering all the problems that may arise in the process . But at the end of the day using our ingenuity we can move forward.

Given this, you might want to get to know some little secrets to your WordPress website . That’s why then we’re going to talk a little about how you can increase the maximum size of uploading files you want to upload your web WordPress.

Often people are faced with the problem that can not climb high quality images because of this, or perhaps want to upload a zip file so that it is available to your visitors . Sea whatever, then you can discuss how to solve this little problem.

shadow wordpress blue

Increasing the size upload your files to WordPress wp-config.php and functions.php

When we hired a hosting service for our WordPress website, we can often encounter the little problem of the maximum size we have to upload files to our site. This may vary depending on the hosting service, but when our web fully depends on the files you can upload or not, we are presented with a very big problem.

The good thing is that as everything has a solution, this also. Often these limits are entered file upload defined in the php.ini file from our server. Although often we do not have Access to this type of file, there are some hosting services if allowed to enter these and modify some things.

But if you do not leave, you can always write to the support and request that these values ​​increase. But if you can do it, you can start the file wp-config.php typing the following:

define ( ‘WP_MEMORY_LIMIT’, ‘128M’);

Then you have to lead functions.php file and put the following lines:

@ini_set ( ‘upload_max_size’, ‘128M’);

@ini_set ( ‘post_max_size’, ‘128M’);

@ini_set ( ‘max_execution_time’, ‘300’);

Note that the latter will depend largely on what it is you want to upload, so you can change the values ​​if you see fit.

list wordpress blue background

Making the same process through .htaccess

There are times where we do above cambiso no avail. When this happens, you have an alternative power to realize them through the .htaccess video by typing the following:

php_valueupload_max_filesize 128M

php_valuepost_max_size 128M

php_valuemax_execution_time 300

php_valuemax_input_time 300

Now, if none of this has served you, you also have an option that may not be ideal but it does the trick when you need to file a strut. We can assume that you need to upload a zip that weighs about 500MB .

To do this, you must create a zip file with a text file into nothing. Now, you need to upload this to the media library and then go to your FTP server and find the file you uploaded and then rewrite it with wanted to climb heavy file.

How useful did you find this content?

Click on a star to rate!

Average score 0 / 5. Counting of votes: 0

So far, no votes. Be the first to rate this content.

I'm sorry this content was not useful for you!

Let me improve this content!

Tell me, how can I improve this content?

Deja un comentario