CHECK YOUR CURRENT LIMITATIONS:
From your WordPress Dashboard: Tools -> Site Health -> Info -> Media Handling
![](https://awstasks.com/wp-content/uploads/2024/05/image-1024x552.png)
You would see some Max size setup here, If you try to upload a file bigger than the current value, it will throw an error for sure.
![](https://awstasks.com/wp-content/uploads/2024/05/image-1.png)
STEPS TO FIX IT:
Step 1: Go to your WordPress folder and open the file “.htaccess”
![](https://awstasks.com/wp-content/uploads/2024/05/image-2-1024x503.png)
Step 2: Adding some new lines, below is an example set new value to 50M, you can set whatever number that you want
php_value upload_max_filesize 50M
php_value post_max_size 50M
As below screenshot
![](https://awstasks.com/wp-content/uploads/2024/05/image-3-1024x446.png)
Step 3: Save the file and check the Media Handling again
![](https://awstasks.com/wp-content/uploads/2024/05/image-4.png)
Now you should be able to upload the file and the issue should gone.
Leave a Reply