Fix big file upload issue in WordPress
Upload issue in WordPress is a common problem that many website owners face when trying to upload images, videos, or other media files. This issue can appear due to server configuration errors, incorrect file permissions, low PHP memory limits, or restrictions set by the hosting provider. When media uploads fail, it can interrupt content publishing and negatively affect your website workflow. In this guide, we’ll explore the main causes of WordPress upload issues and show you simple, effective solutions to fix them quickly.
Common Reasons for Upload Issues in WordPress
- Incorrect File Permissions
If thewp-content/uploadsThe folder doesn’t have proper permissions, WordPress can’t save uploaded files - Low PHP Memory Limit
- Limited PHP memory can cause uploads to fail, especially for large images or video files.
- Maximum Upload File Size Limit
- Hosting providers often set a low
upload_max_filesizeandpost_max_size, which blocks larger uploads. - Incorrect Folder Ownership
- When the server user doesn’t own WordPress files, uploads may fail even if permissions look correct.
- Plugin or Theme Conflict
- Poorly coded plugins or themes can interfere with the media uploader.
- Server Configuration Issues
- Misconfigured PHP, Apache, or NGINX settings can cause upload errors.
- Temporary Server or Hosting Issues
- Hosting downtime or limited server resources can temporarily break uploads.
- Browser Cache or JavaScript Errors
- Corrupted browser cache or JS errors can prevent the media uploader from working properly.
- Wrong File Type or Corrupted File
- Uploading unsupported file formats or damaged files can trigger errors.
- REST API or CDN Issues
- Problems with REST API, Cloudflare, or CDN settings can block media uploads..
How to fix a big file upload issue in WordPress with Code and a Plugin?
Below is a safe and effective code-based solution to fix big/large file upload issues in WordPress. You can add these depending on your access level.
✅ Method 1: Fix Large File Upload via functions.php (Recommended)
Add this code to your active theme’s functions.php file or a custom plugin.
```php
@ini_set('upload_max_size', '256M');
@ini_set('post_max_size', '256M');
@ini_set('max_execution_time', '300');
@ini_set('max_input_time', '300');
@ini_set('memory_limit', '256M');
```
📌 What this does:
- Increases maximum upload size
- Allows longer upload time
- Prevents timeout for large files
✅ Method 2: Fix via .htaccess (Apache Servers)
Add this code at the bottom of your .htaccess file.
```apache php_value upload_max_filesize 256M php_value post_max_size 256M php_value max_execution_time 300 php_value max_input_time 300 ```
⚠️ Works only if your hosting supports .htaccess overrides.
✅ Method 3: Fix via php.ini (Best for VPS / Dedicated Hosting)
If you have access to php.ini, update these values:
```ini upload_max_filesize = 256M post_max_size = 256M max_execution_time = 300 max_input_time = 300 memory_limit = 256M ```
After editing, restart the server.
Upload Large file media upload issue with Pluign?
✅ Best Plugins to Fix Large File Upload Issue in WordPress
You can fix large file upload issues in WordPress using plugins, especially if you don’t want to touch code. Below are the best plugins and how to use them properly. There has many plugin to solve your media upload error, but here we prefer two plugins which really will help you to fix this issue.
The EasyMedia plugin automatically detects your WordPress and server upload limits, displaying them in a simple dashboard. Instantly increase your upload size and easily upload large files like backups, videos, or ZIP archives directly to your WordPress media library — even if your hosting restricts upload limits.
The Easymedia plugin also has a premium version, but the free version is enough to fix the upload error for the largest file on your WordPress website.

You can also check the EasyMedia Pro plugin to manage your user disk limit, File Manager, and set file type restrictions in WordPress.
Big File Uploads lets you upload large media files directly to the media library with the WordPress media uploader. Increase your maximum upload size to any value – as large as your available disk space allows – and add file chunking to avoid server timeout errors
Do you want to set a disk usage limit for users in WordPress to control how much storage they can use? If your WordPress website allows multiple users to upload media files, managing disk space is crucial. Without setting proper limits, your server storage can quickly become overloaded—leading to slower site performance, higher hosting costs, and even unexpected downtime.
