Chykalophia Docs
WordPress

How to replace an image everywhere

Learn how to swap out an image across your entire WordPress site at once, without hunting down every page it appears on.

wordpressmediaintermediatemaintenance

Replacing an old logo, a staff headshot, or an outdated product photo used to mean hunting through every page on your site. WordPress has a smarter way: update the image file in the media library, and the change flows to every place that image is used.

Quick summary

The cleanest way to replace an image everywhere is to edit it in the media library and use the "Replace image" option (available via a plugin). Alternatively, you can delete the old image and upload a new one — but you'll need to re-insert it on every page manually. For a logo or image used in many places, always use the replace-in-place method.

Two approaches to replacing an image

Replace in place

The image file is swapped out while its URL stays the same. Every page that uses the image automatically shows the new version. No re-linking needed.

Best for: Logos, headshots, product images used in multiple places.

Delete and re-upload

You delete the old image and upload a new one with a new URL. You then have to go to every page that used the old image and insert the new one manually.

Best for: Images used in only one place, where you want a fresh URL.

WordPress doesn't include a "replace image" feature by default, but it is easy to add with a free plugin. The plugin Enable Media Replace is a well-established option that adds a "Replace media" button directly in the media library.

Check with us before installing plugins

If we manage your site, please ask us to install the plugin rather than doing it yourself — this avoids any compatibility issues. Send us a message and we'll get it set up quickly.

Once the plugin is installed:

Go to Media in your dashboard and find the image you want to replace.

Click the image to open its detail panel.

Click "Replace media" — this button appears below the image preview when the plugin is active.

Choose your replacement. You can upload a new file from your computer or choose one from your media library. The plugin gives you two options: replace just the file (keeping the same URL), or replace the file and update its URL.

For the "everywhere" effect, choose "Replace the file." This keeps the same URL and the image will update on every page automatically.

Click "Upload." WordPress replaces the image and regenerates all size copies.

Check your site. Visit a few pages that used the image and confirm the new version is showing. You may need to hard-refresh your browser (press Ctrl+Shift+R on Windows or Cmd+Shift+R on Mac) to clear your browser cache.

Method 2: Delete and re-upload manually

Use this approach only if the image appears in just one or two places.

Make a note of where the image is used. Click the image in the media library and check the "Uploaded to" information in the detail panel — it shows which post or page the image was first added to. If it's used in multiple places, stick with Method 1.

Upload your new image. Go to Media → Add New and upload the replacement file. Give it a descriptive name before uploading.

Open each page or post where the old image appeared. Navigate to the page in the editor.

Click the image block. In the block toolbar that appears, click the swap icon or the "Replace" button to swap in the new image from your media library.

Add alt text to the new image. See image sizes, cropping & alt text.

Click Update to publish the change on each page.

Delete the old image from the media library if it's no longer needed.

Your logo is a special case — it's typically set in your theme settings rather than embedded in a page. Replacing it is done differently:

  • If your site uses a classic theme: Go to Appearance → Customize → Site Identity and upload your new logo there.
  • If your site uses the Site Editor (Full Site Editing): Go to Appearance → Editor and update the logo in the header template. See using the WordPress site editor for more detail.
  • If you use a page builder like Elementor: Open your header template in the builder and swap the image there.

See changing your logo, site title & favicon for full step-by-step instructions on logo changes.

Browser cache can make it look like nothing changed

After replacing an image, you might still see the old version in your browser. This is because your browser saved (cached) the old image. Press Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac) to force a fresh load. Your visitors will see the new image right away once the cache clears.

Common questions

Need a hand?

If you're stuck, email support@chykalophia.com and we'll help. Include your website address and a screenshot if you can.

Learn more

How to replace an image everywhere | Chykalophia Docs