How to Upload Large File in WordPress

Hi fellow WordPress enthusiasts, hope you are doing good. Are you facing issue to upload the large files on your WordPress website?

If your answer is yes, then this tutorial is designed for you. In this tutorial, I will explain how to upload the large file in WordPress website.

wordpress upload limit

How to upload large file in WordPress

Sometimes you are facing issue while uploading the large images from Media section of Admin panel, by default WordPress have to limit to upload the image. The maximum upload file size is 100 MB, you can see this limit by visiting dashboard => Media => Add New.

How to Upload Large File in WordPress

Fixing uploading large file issue in WordPress

If you need to upload the file larger than 100 MB, then you can set your large file upload limit by simply using the below code at the end of your theme’s functions.php file.

Fixing uploading large file issue using htaccess

This is the another option to increase the uploading file size limit by using the htaccess file. However, it may be this not work for some WordPress sites.

Login into your server via FTP client software like FileZilla and go to the root directory of your site. Now open the htaccess file and add the below code inside this.

Fixing uploading large file issue using PHP.ini file

If above both option will not work for you, then add the below inside your PHP.ini file and restart the server. If you have not accessed of PHP.ini file, then contact your web host company.

I hope this tutorial helped you to fix to upload large image files in WordPress. If you still need any help, feel free to add your comments in below comment section. I will be happy to help.

Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials and also don’t forget to subscribe my blog to get all future tutorials directly in your mail box.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , , , ,