Using the WebP image format can dramatically improve the loading speed and performance of your website, especially for sites that contain a large number of images.WebP image format developed by Google(math.) genusHigher compression ratio and better image quality, is currently a popular choice for improving website performance. In this post, we'll detail two ways to use WebP images in WordPress: via the EWWW Image Optimizer,ImagifyThe
![图片[1]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710260287.png)
Method 1: Using WebP Images in WordPress with the help of EWWW Optimizer
EWWW Image Optimizer is a powerful WordPress image compression plugin that supports WebP image formats and automatically displays them on supported browsers. Below are the detailed steps to convert images to WebP format using EWWW Image Optimizer:
Step 1: Install and activate EWWW Image Optimizer plug-in
- Log in to the WordPress admin backend.
- Navigate to Plugins > Add New Plugin.
- Type "EWWW Image Optimizer" in the search bar, find the plugin and click "Install".
![图片[2]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710071525.png)
- Once the installation is complete, click "Activate".
Step 2: Configure EWWW Image Optimizer Plugin Options
- After activating the plug-in, go to the Settings > EWWW Image Optimizer page.
- The plugin will display an installation wizard, but you can click the "I know what I'm doing" link to exit the wizard.
![图片[3]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710081981.png)
- Scroll down and check the checkbox next to the WebP Conversion option.
- Click the "Save Changes" button to store the settings.
Step 3: Insert rewrite rules
- Scroll down to the WebP Conversion section.
![图片[4]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710055548.png)
- The plugin will use the red preview image to show you some rewrite rules.
![图片[5]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710132017.png)
- Click "Insert rewrite rule" button, the plugin will automatically try to insert these rewrite rules into your .htaccess file.
- If the plugin successfully adds these rules, the red image preview will change to green and display "WebP"Text.
![图片[6]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710135360.png)
Step 4: Insert rewrite rules manually (if required)
- If the plugin is unable to insert the rule, copy the rewrite rule from the plugin's settings page.
- show (a ticket) .htaccess file, paste the copied rules to the bottom of the file.
- Go back to the plugin's settings page and click the "Save Changes" button again.
Step 5: Batch Convert Old Images to WebP Version
- Go to the Media > Library page and switch to the list view.
- Click the Screen Options button and change the Number of items per page to 999.
![图片[7]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710123733.jpg)
- Click the "Select All" checkbox at the top to select all images.
- Select the "Batch Optimization" option in the "Batch Actions" drop-down menu and click the "Apply" button.
- On the next screen, select the option to skip image compression and convert it to WebP only.
![图片[8]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710225423.png)
- Click the "Scan for unoptimized images" button and then click the "Optimize" button to continue.
Step 6: Test WebP Image Delivery
- Open blog posts that contain multiple images.
- Hover over any image and right-click to open it in a new tab.
- Confirm that the address bar displays the image with the extension .webpThe
![图片[9]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710210638.png)
Method 2: Using Imagify to Use WebP Images in WordPress
Imagify supports converting images to WebP format. Below are the detailed steps to convert images to WebP format using Imagify:
Step 1: Install and Activate the Imagify Plugin
Enter "Imagify" in the Add New Plugin search box, find the plugin and click "Install" to activate it.
Step 2: Configure Imagify Plugin Options
- After activating the plugin, go to the Settings > Imagify page.
- Click "Create a free API key"Button.
![图片[10]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710174192.png)
- Enter your email address and check your inbox for an email containing the API key.
![图片[11]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710180251.png)
- Copy and paste the API key into the plugin's settings page and click "Save Changes"Button.
Step 3: Enable WebP Conversion Options
- Scroll down to the Optimization section and check the options "Create Webp versions of images" and "Display images in Webp format on websites".
![图片[12]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710184624.png)
- Choose the appropriate delivery method (.htaccess method or tag method).
- Click the "Save and Go to Batch Optimizer" button.
![图片[13]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710195750.png)
Step 4: Batch Optimize Images
- Navigate to the Media > Batch Optimization page.
- The plugin will automatically start optimizing all your WordPress images in the background.
- Wait for optimization to complete.
Step 5: Test WebP Image Delivery
- Open a page or post that contains some images.
- Hover over the image and right-click to select "Open Image in New Tab".
- Confirm that the address bar displays the image with the extension .webpThe
![图片[14]-在 WordPress 中使用 WebP 图像的2种方法-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080710205663.png)
Both of the above methods are effective in using WebP images in WordPress to improve website performance. Depending on your specific needs and the plugin you are using, choose the most suitable method to ensure that images load faster and provide a better browsing experience for your users.
Link to this article:https://www.361sale.com/en/15998/The article is copyrighted and must be reproduced with attribution.




















![表情[wozuimei]-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/themes/zibll/img/smilies/wozuimei.gif)
![表情[baoquan]-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/themes/zibll/img/smilies/baoquan.gif)

No comments