WordPress showing “HTTP Error” while uploading image, don’t worry
This is very common. Follow these step-by-step fixes:
✅ 1. Increase PHP Memory Limit (Most Common Reason)
🔹 Step:
Go to File Manager → public_html → wp-config.php
Add this line:
define('WP_MEMORY_LIMIT', '256M');
Save & try uploading again.
✅ 2. Increase Upload Size Limit
🔹 Check:
Dashboard → Media → Add New
See maximum upload size.
🔹 If small (like 2MB / 8MB)
Edit php.ini (or ask hosting support):
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
Restart server (or wait few minutes).
✅ 3. Rename Image File
Sometimes filename causes error.
❌ Avoid:
-
Special characters (!@#$%^&)
-
Long file names
-
Spaces
✔ Example:
job-listing-banner.jpg
✅ 4. Disable Plugins (Conflict Issue)
Go to:
Plugins → Deactivate All
Try upload.
If works → Activate one by one to find problematic plugin.
Common issue plugins:
-
Image optimization plugins
-
Security plugins
-
Cache plugins
✅ 5. Change Image Format
Try converting:
-
PNG → JPG
-
Resize image (keep under 2000px width)
Use free tool:
Canva / TinyPNG
✅ 6. Check Folder Permissions
Go to:
File Manager → wp-content → uploads
Folder permission should be:
755 (folder)
644 (files)
✅ 7. Clear Browser Cache
Press:
Ctrl + Shift + R
Or try incognito mode.
🚨 If Still Not Working
Tell me:
-
Which hosting? (Hostinger / GoDaddy / Local?)
-
What image size?
-
Exact error message?
-
Is your site HTTPS active?
Comments
Post a Comment