You just finished migrating your WordPress site from free hosting to a faster server or custom domain. Your text and menus load great—but every single blog image and logo in your Media Library shows a broken image icon!
When you right-click a broken image and select Inspect, you’ll always find one of four culprits: an old domain URL in the database, a Mixed Content HTTP block, wrong file permissions, or a page builder CSS cache path.
Outgrowing Free Hosting Limits? Claim Our Verified Partner Discounts
Upgrade to fast Hostinger LiteSpeed WordPress Hosting (+20% extra discount), scale on Cloudways Managed Cloud, grab low-cost Namecheap cPanel/Domains, or launch a 24/7 Shockbyte Minecraft Server:
Fix #1: Replace Old Domain or HTTP Image URLs in MySQL
WordPress stores full image URLs inside your database table. Open our Free WordPress SQL Domain Replacer & Query Builder, enter your old URL and new HTTPS URL, and run the generated SQL snippet inside phpMyAdmin.
Fix #2: Reset Uploads Folder Permissions to 755 and 644
If clicking an image link directly gives a 403 Forbidden error, your extracted backup ZIP assigned restrictive octal permissions. Calculate the exact permission masks in our Free File Permissions (755 / 644) Calculator, then set all directories in your uploads folder to 755 and all files to 644.
Fix #3: Convert Heavy PNG/JPEGs to WebP for Instant Core Web Vitals
Once your images are loading again, calculate how much bandwidth and LCP load time you can save by converting them to WebP/AVIF using our Free WebP/AVIF Page Speed & CLS-Proof Image Tag Calculator!
🛠️ Free Interactive Webmaster Tools & High-Traffic Guides
- All 26 Free Webmaster & Developer Tools — DNS/SSL Checker, IP & Host Detector, JSON Formatter, Cron Generator, SPF/DMARC Builder & more.
- Live Minecraft Server Status & Ping Checker (Java & Bedrock) — Test port forwarding, MOTD, latency, and player capacity.
- 60-Second Hosting Upgrade Decision Calculator — Find out if your site needs Shared cPanel or Managed Cloud VPS.
- Cloudways vs Shared Hosting (Hostinger & Namecheap) — Exact traffic and RAM thresholds for upgrading.
Frequently Asked Questions (FAQ)
Why are all my WordPress images broken after migrating to a new domain or host?
WordPress stores full image URLs inside the posts table. After changing domains or switching from HTTP to HTTPS, those URLs must be updated to match the new domain.
What file permissions should the uploads folder have in Linux cPanel?
All folders inside your uploads directory must be set to 755 (drwxr-xr-x) and all image files (.jpg, .png, .webp) must be set to 644 (-rw-r–r–).
How do I update all broken image URLs in my WordPress database without a plugin?
Use the free WordPress SQL Domain Replacer tool at FreeHosting.live to generate safe phpMyAdmin replacement queries.
Follow FreeHosting.Live on Google News for daily WordPress troubleshooting guides, free webmaster tools, and hosting benchmarks.