Guides › WordPress › Speed & performance

WordPress: Optimize Images in Bulk Without Changing URLs

Images.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Slow website

Large images slow a site. You can shrink all existing images without changing their file names or web addresses, so nothing breaks.

1Back up the uploads folder2Install an optimisation plugin3Choose the compression level4Run the bulk optimisation5Turn on resize on upload6Check the resultFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Back up the uploads folder

Illustration for Step 1: Back up the uploads folder

Download wp-content/uploads or take a full backup first.

Step 2: Install an optimisation plugin

Illustration for Step 2: Install an optimisation plugin

Choose one that keeps the same file names and URLs and can process existing images in bulk.

Step 3: Choose the compression level

Illustration for Step 3: Choose the compression level

Lossy compression saves the most space and is fine for most photos. Choose lossless for logos and sharp graphics.

Step 4: Run the bulk optimisation

Illustration for Step 4: Run the bulk optimisation

Start the bulk process from the plugin's settings. Leave the page open until it finishes. Large libraries can take a while.

Step 5: Turn on resize on upload

Illustration for Step 5: Turn on resize on upload

Set a maximum width (for example 2000 pixels) so new uploads are resized automatically.

Step 6: Check the result

Illustration for Step 6: Check the result

Open several pages and compare quality. Run PageSpeed Insights again and look at the image savings.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.