How to Fix Broken Images After Migration in cPanel
Posted about 4 months ago 4.7kCommon Broken Image Causes
After migration: Images show broken icon or 404 error.
Check File Paths
File Manager → Verify /wp-content/uploads/ folder and files exist.
Check Permissions
uploads folder 755, image files 644.
Database URL Fix
Search and Replace URLs
Use Better Search Replace plugin or phpMyAdmin search for old domain.
Hotlink Protection
cPanel → Security → Hotlink Protection → Ensure your new domain is allowed.
Causes and Fixes Table
| Cause | Solution |
|---|---|
| Missing files | Re-upload uploads folder |
| Wrong URLs in DB | Search replace old domain |
| Hotlink block | Add new domain to allowed list |
| Permissions | Set 755/644 |