Wrong webp path lookup with Bedrock

[ad_1]

Hi,

I enabled quic.cloud image optimizations which ran great, but webp replacements are enabled, the files are created and I see them on the host, but won’t activate. When I looked up in the logs, I noticed it doesn’t check in the right folder for the webp image.

10/25/22 14:53:05.014 [165.227.116.222:18222 1 DFi] [Media] webp replacing: 
10/25/22 14:53:05.015 [165.227.116.222:18222 1 DFi] [Util] file not exist: /home/behomet/www/app/uploads/2022/06/Format_Image_Header_Projet_Pierre-2-1670x602.jpg

The path should be /home/behomet/www/web/app/uploads/2022/06/Format_Image_Header_Projet_Pierre-2-1670×602.jpg

This is a bedrock install so the WP_CONTENT_DIR is setup properly, but it seems that it is bypassed in the plugin.

Thanks.

  • This topic was modified 10 minutes ago by davidwebca.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer