Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Hotlinked images disappearing: how to find and fix them

SEO-207Low impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Hotlinking (also called inline linking) is when an <img> tag points to a file on a domain you do not control, for example <img src="https://other-site.com/photos/team.jpg">. Your page works only while that file stays at that address.

It happens when someone pastes an image URL into an editor, copies HTML from another site, uses an old stock-photo link, or embeds a file from a previous host or staging site. Many sites also block hotlinking on purpose and return an error or a replacement image.

Why it costs you leads or sales

The impact is usually low but real. A missing product photo, logo or proof image makes a page look abandoned and lowers trust at the moment someone decides whether to fill in a form or buy. Missing images also drop out of image search and can leave empty slots in your layout.

The bigger problem is that it fails silently. Nothing changes on your side, so nobody notices until a visitor does. You also depend on another server's speed and rules, and you may be using a picture without the right to do so.

How a hotlinked image breaks a page
  1. Your pageContains an img tag pointing to another domain
  2. Other site's serverFile moved, deleted or hotlink blocked (404 or 403)
  3. Broken image shownEmpty box or alt text appears to visitors
  4. Trust and conversionPage looks unreliable, fewer enquiries

The image is fine on day one. The break happens on someone else's server.

How it usually unfolds (example)
  1. Day 1

    You paste an image URL from another site. It displays fine.

  2. Month 8

    The other site redesigns and renames its image folders.

  3. Month 8, same day

    Your image returns 404 and shows as a broken picture.

  4. Month 11

    A visitor or colleague finally spots the gap.

How to check if your site has it

You need a list of every image whose address is on a domain other than your own. Pick the method that fits your site size.

Find hotlinked images
  1. Check a single page in the browser

    Open the page, press F12, go to the Network tab, filter by Img and reload. Sort by Domain. Any row whose domain is not yours (or a CDN you set up) is hotlinked.

  2. Search the page source

    View source and search for <img and srcset. Look for src values starting with http and a different domain. Also check CSS url(...) values.

  3. Crawl the whole site

    Use a crawler such as Screaming Frog or Sitebulb. Crawl with external resources enabled, then filter the Images tab for URLs outside your domain.

  4. Search your content databaseWordPress

    On WordPress, a database search for src="http in post content (a plugin such as Better Search Replace can show matches) reveals images pasted from elsewhere.

  5. Test each external URL

    Open each external image address directly. A 404, 403 or a replacement image means it is already broken or blocked.

Console snippet: list images from other domains on the current pagejavascript
[...document.images]
  .filter(i => new URL(i.currentSrc || i.src, location.href).hostname !== location.hostname)
  .forEach(i => console.log(i.currentSrc || i.src));

How to fix it

The fix is the same everywhere: get a copy of the image you have the right to use, upload it to your own site, and replace the external address. If you do not have the rights, use a different image.

Replace hotlinked images
  1. Confirm you may use the image

    If it is your own image from an old host, fine. If it belongs to someone else, get permission or choose a licensed or original image.

  2. Get the file

    Download it from the original source, your old host or your backups. If it is already gone, find the source file or replace it.

  3. Optimise and rename

    Resize it to the size you need, compress it and give it a descriptive file name.

  4. Upload to your site and swap the link

    Use your platform's media library (see the tabs below) and replace the old image in the page.

  5. Keep the alt text

    Make sure the new image has a short, accurate alt attribute.

Where to swap the image on each platform
  1. Upload to the Media Library

    Go to Media > Add New and upload your copy.

  2. Replace in the editor

    Open the page, click the image block, choose Replace > Open Media Library and select the new file. For many posts, a plugin that imports external images into the Media Library can do it in bulk. Back up first.

  3. Check page builders and widgets

    Elementor, Divi and similar builders store images in their own fields. Check headers, footers, sliders and widgets too.

Hotlinked vs self-hosted

Hotlinked

  • src points to another domain
  • Breaks when the owner moves or blocks the file
  • You cannot control speed or caching
  • Usage rights may be unclear

Self-hosted

  • src points to your domain or your own CDN
  • Stays up as long as your site does
  • You control size, format and caching
  • You hold or have checked the licence
Before and afterhtml
<!-- Before -->
<img src="https://other-site.com/photos/team.jpg" alt="Our team">

<!-- After -->
<img src="/images/team-office-2024.jpg" alt="Our team in the London office" width="1200" height="800">

How to confirm it's fixed

Confirmation checklist
  • The console snippet above lists no unexpected external image URLs
  • A fresh crawl shows no images on domains you do not control
  • The Network tab shows every image returning 200
  • Images also display in an incognito window and on mobile
  • Headers, footers, sliders, emails and CSS backgrounds were checked too

How to prevent it happening again

Prevention habits
  • Always upload images to your own media library instead of pasting a URL
  • Tell editors never to copy image addresses from other sites
  • Run a crawl for external images after each redesign or migration
  • Check old staging or previous-host URLs after moving a site
  • Keep a record of where each image came from and its licence

How FunnelGuard handles this

FunnelGuard covers this issue only partly. When its robot visitor runs your journeys and loads the pages, it reports broken resources when they return a 404. So if a hotlinked image has already disappeared and the file returns a 404 on a page in a monitored journey, you can be alerted, with a screenshot and a likely cause.

What it does not do: it does not list every image that points to another domain, so a hotlinked image that still works is not flagged. It will not catch images blocked in ways other than a 404, and it only sees pages that are part of your journeys, not your whole site.

To cover the rest by hand, run the console snippet on key pages, crawl the site for external image URLs every few months and after every migration, and replace anything you do not control. A free read-only website audit is also available, and the Free plan includes 1 site and 2 journeys with daily checks, no card needed.

Questions people ask

Why are my images disappearing from my website?

The most common cause is hotlinking: the image is loaded from another domain and the owner deleted, renamed or blocked the file. Open the broken image address directly to see if it returns a 404 or 403. Then replace it with a copy hosted on your own site.

What is image hotlinking?

Hotlinking is displaying an image on your page by pointing to its file on someone else's server instead of hosting it yourself. It uses their bandwidth and works only while they keep the file at that address.

How do I find hotlinked images on my website?

Open the browser's Network tab, filter by Img and look for domains that are not yours. For a whole site, crawl it with a tool such as Screaming Frog with external resources enabled and filter images by domain.

Does hotlinking hurt SEO?

Not directly as a penalty, but broken images hurt user experience and drop out of image search. Hotlinked images also give the other site the benefit of hosting them and slow your pages if their server is slow.

Is it illegal to hotlink images?

It depends on the image's licence and local law, and some owners treat it as unauthorised use. Use images you own or are licensed to use, and host your own copy unless the licence says otherwise.

How do I replace hotlinked images in WordPress?

Upload your copy under Media > Add New, then open each page and use Replace on the image block to select it. Check page builder fields, widgets and headers too. Back up before any bulk replacement.

Can FunnelGuard detect hotlinked images?

Only partly. It reports broken resources that return a 404 on pages in your monitored journeys, but it does not list working images loaded from other domains. Use a crawl or the browser console for those.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Broken resources reported when they 404.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.