How to Increase the Maximum File Upload Size in WordPress
Skills:
Backend Performance60%
Key Takeaways
Increases the maximum file upload size in WordPress using functions.php and PHP ini files
Full Transcript
you need to increase the maximum file upload limit on your media library we'll keep watching I'll show you a few different ways that you can do this no this is a little bit advanced so you'll want to make sure that you have a backup of your WordPress website and we'll also be using an FTP client for this to work I'll be using FileZilla if you have a shared hosting account then this might not work for you you may want to get in touch with your hosting provider and ask them to increase the file upload size for you by default you can see what the maximum is for your file either because you've tried to upload an image that was larger and you got an error or you can go to your media area add new and from there you'll see what the maximum upload file size is some things to try to change it is the first thing we can try is go to our parents edit our area and from the right you're looking for the functions.php for your theme this is the one we want so we'll scroll all the way down get on a new line and you'll want to paste this bit of code now this particular bit of code is actually going to go lower than what mine is because I have 128 so you'll want to adjust this to a level that you need and you can update the file now when I go to my media add new I can see if it changed you see my maximum upload file size that's still 128 the next two things to try will involve using an FTP client I'll be using FileZilla so you want to connect to your site you should get the FTP credentials from your hosting provider next you want to create a new file you can use notepad to do this and you'll want to adjust the numbers or what you need let's save it in a directory you want to save it as PHP ini head over to our FileZilla and on the right in the root directory we want to upload the page fee to ini great once it's there let's head over to our web site go to media add new and see if that's changed the third way to do this is to justyou're htaccess file to do that go back over to FileZilla find the htaccess file and right click and download that once it's downloaded we need to open it in a text editor and notepad plus plus I'll do it there go in a new line and add this bit of code to your file let's go ahead and save that head back over to our FileZilla and we need to upload that and yes we need to overwrite it now if you're lucky one of those methods should have worked for you if not again ask your hosting provider to see if they will increase the maximum file size for you did you learn something from today's video if so subscribe to our YouTube channel and we'll send more helpful tips to help you manage your WordPress website and thanks for watching
Original Description
Depending on the hosting company you can somtimes run into upload limitations for large files. This can be an issue for when you want to upload larger files like audio and video files to your site. In this video we will show you how to increase the maximum file upload size in WordPress.
Text version of this tutorial
http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.
Check us out on Facebook
https://www.facebook.com/wpbeginner
Follow us on Twitter
http://twitter.com/wpbeginner
Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com
For the first method we recommend going under Appearance, Editor and finding your theme's functions.php file for your theme.
You can find the code to add in our written article:
http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
For the next two methods we recommend you use FTP, if you do not know how to use FTP you would want to take a look at our article:
http://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/
Should you have issues with the php.ini file you would want to ensure the file type dropdown is set to all files rather than just text files.
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from WPBeginner - WordPress Tutorials · WPBeginner - WordPress Tutorials · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
How to Add Google Search in a WordPress Site
WPBeginner - WordPress Tutorials
How to Display Simple Notices in WordPress
WPBeginner - WordPress Tutorials
How to Bulk Move Posts to Categories and Tags in WordPress
WPBeginner - WordPress Tutorials
How to Create A Question and Answers Site in WordPress
WPBeginner - WordPress Tutorials
How to Add a Subtitle to Posts and Pages in WordPress
WPBeginner - WordPress Tutorials
How to Add a Caption to Images in WordPress
WPBeginner - WordPress Tutorials
How to Show Latest Videos From a YouTube Channel in WordPress
WPBeginner - WordPress Tutorials
How to Check Grammar and Spelling Mistakes in WordPress
WPBeginner - WordPress Tutorials
How to Send A Custom Welcome Email to New Users in WordPress
WPBeginner - WordPress Tutorials
How to Add a Custom Comment Form Title in WordPress
WPBeginner - WordPress Tutorials
How to Add a News Ticker in WordPress
WPBeginner - WordPress Tutorials
How to Add a Full Screen Background Image in WordPress
WPBeginner - WordPress Tutorials
How to Fix Image Upload Issue in WordPress
WPBeginner - WordPress Tutorials
How to Show and Hide Text in WordPress Posts with the Toggle Effect
WPBeginner - WordPress Tutorials
How to Show Page Templates in WordPress Dashboard
WPBeginner - WordPress Tutorials
How to Restrict WordPress Site Access by IP or Logged In Users
WPBeginner - WordPress Tutorials
How to Add Google Translate in WordPress
WPBeginner - WordPress Tutorials
How to Add Custom Buttons with Post Editor Buttons in WordPress
WPBeginner - WordPress Tutorials
How to Fix Featured Images Appearing Twice in WordPress Posts
WPBeginner - WordPress Tutorials
How to Add Tables in WordPress Posts and Pages No HTML Required
WPBeginner - WordPress Tutorials
How to Change the WordPress Database Prefix to Improve Security
WPBeginner - WordPress Tutorials
How to Turn Off Related YouTube Videos in WordPress
WPBeginner - WordPress Tutorials
How to Receive WordPress Emails from Localhost
WPBeginner - WordPress Tutorials
How to Split WordPress Posts into Multiple Pages
WPBeginner - WordPress Tutorials
How to Update URLs When Moving Your WordPress Site
WPBeginner - WordPress Tutorials
How to Crop, Rotate, Scale, and Flip Images in WordPress
WPBeginner - WordPress Tutorials
Image Alt Text vs Image Title in WordPress
WPBeginner - WordPress Tutorials
How to Add Staff Member Profiles in WordPress with Staffer
WPBeginner - WordPress Tutorials
How to Add Custom Fields to Comments Form in WordPress
WPBeginner - WordPress Tutorials
How to Add New Users and Authors to Your WordPress Blog
WPBeginner - WordPress Tutorials
How to Fix WordPress Website Not Updating Right Away
WPBeginner - WordPress Tutorials
How to Show Live Preview of Links in WordPress
WPBeginner - WordPress Tutorials
How to Add Image Icons With Navigation Menus in WordPress
WPBeginner - WordPress Tutorials
How to Use Multiple Themes for Pages in WordPress
WPBeginner - WordPress Tutorials
How to Fix Missing Admin Bar Issue in WordPress
WPBeginner - WordPress Tutorials
How to Add Tabbed Content in WordPress Posts and Pages
WPBeginner - WordPress Tutorials
How to Create Custom Taxonomies in WordPress
WPBeginner - WordPress Tutorials
How to Display a List of Child Pages For a Parent Page in WordPress
WPBeginner - WordPress Tutorials
How to Fix Error Too Many Redirects Issue in WordPress
WPBeginner - WordPress Tutorials
What is the Difference Between Posts vs Pages in WordPress
WPBeginner - WordPress Tutorials
How to Allow User Log In with Email in WordPress
WPBeginner - WordPress Tutorials
How to Display WordPress Widgets in Columns
WPBeginner - WordPress Tutorials
How to Easily Replace Image and Media Files in WordPress
WPBeginner - WordPress Tutorials
How to Add Featured Video Thumbnails in WordPress
WPBeginner - WordPress Tutorials
How to Create a Photo Gallery with Albums in WordPress
WPBeginner - WordPress Tutorials
How to Easily Add Lazy Loading for Videos in WordPress
WPBeginner - WordPress Tutorials
How to Add an Audio Music Player Widget in WordPress
WPBeginner - WordPress Tutorials
How to Create a Wiki Knowledge Base Using WordPress
WPBeginner - WordPress Tutorials
Adding a Post Rating System in WordPress with WP PostRatings
WPBeginner - WordPress Tutorials
How to Clean Up Your WordPress Database for Improved Performance
WPBeginner - WordPress Tutorials
How to Add Character Limit to Post Titles in WordPress
WPBeginner - WordPress Tutorials
How to Add a Private Messaging System in WordPress
WPBeginner - WordPress Tutorials
WWW vs non WWW and Which is Better For WordPress SEO
WPBeginner - WordPress Tutorials
How to Add Voice Search Capability to your WordPress
WPBeginner - WordPress Tutorials
How to Show Real Time Online Users in WordPress
WPBeginner - WordPress Tutorials
How to Create a Duplicate Menu in WordPress with One Click
WPBeginner - WordPress Tutorials
How to Hide a Post From Home Page in WordPress
WPBeginner - WordPress Tutorials
How to Add A Restaurant Reservation System in WordPress
WPBeginner - WordPress Tutorials
How to Add a Border Around an Image in WordPress
WPBeginner - WordPress Tutorials
Beginner’s Guide How to Back Date Your WordPress Posts
WPBeginner - WordPress Tutorials
More on: Backend Performance
View skill →Related Reads
📰
📰
📰
📰
Ghost Notes and Coffee Cups: 12 Observations on Trying to Automate My Music Workflow
Dev.to AI
I Replaced Manual Meeting Notes with AI — Here's the Workflow That Actually Saved Me Hours Every Week
Dev.to AI
The Ultimate Guide to AI-Powered Resume Building: Create Your Perfect Resume in Minutes
Dev.to AI
I Used AI Every Day for 30 Days — Here’s What Happened
Medium · AI
🎓
Tutor Explanation
DeepCamp AI