• In the directory /wp-content/uploads I have images (jpg, jpeg, png) that I uploaded to the media library. There is a plugin to convert jpg, png to webp. It converts all images from /wp-content/uploads to webp and stores them in /wp-content/uploads-webpc.

    If you look at the image in the blog, the link is preserved (png, jpg) but the image is actually a webp.

    Is there any possibility?

    I would like to replace old (png, jpg) images with webp. I want to delete the old pictures completely. Of course I want to avoid manual work. If I had 50 images on the website, I would do it manually, but I have 500 images.

    PS is it better to use webp or avif format?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Install a WebP plugin: There are several WordPress plugins available that can help you convert your existing images to WebP format. Some popular options include Imagify, ShortPixel, and EWWW Image Optimizer.

    Choose the images to convert: Once you have installed a WebP plugin, you can choose which images to convert. Many plugins will allow you to bulk convert all images in your media library, or you can select specific images to convert.

    Convert the images: After selecting the images you want to convert, you can run the conversion process through your plugin. This may take some time, depending on the number of images you are converting.

    In the future, try to upload images which are already in webp format. It also helps you to get a good page speed score. I did the same on my client’s Gaming website and his performance score was 100/100.

    Thread Starter janyx

    (@janyx)

    There is a plugin that converts images and replaces the original ones. I know plugins that convert the original images, but keep the original ones. I want to delete the original images permanently

    Plus WebP by Riverforest Plugins san replace image files with WebP when adding new media, and delete the original image file. Also, when generating all images, the original image file ID will be overwritten as WebP and the original image file will be deleted. All URLs in the content are also replaced.

    Thread Starter janyx

    (@janyx)

    Thanks for the type. I’ll try it on the next website.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to replace old jpeg, jpg and png with new webp’ is closed to new replies.