Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @wolfel. It looks like your web server is not configured to serve .webp files properly because when I visit the image on your site I can see in DevTools that the Content-Type header is text/html. It should be image/webp.

    You’ll need to fix the configuration of your web server. If it’s an Apache server, then adding this to your .htaccess or mime.types should work.

    AddType image/webp webp
    
    Thread Starter wolfel

    (@wolfel)

    Simply adding the line to .htaccess didn’t help. You need something else. Unfortunately, there are mostly examples on the Internet with redirecting jpeg, but I’m not interested in this.

    Are you using Apache? The docs might help.

    https://httpd.apache.org/docs/2.4/mod/mod_mime.html#addtype

    Alternatively, are you paying for hosting? If you reach out to your web host’s support team they may be able to fix this for you.

    Thread Starter wolfel

    (@wolfel)

    Yes, I wrote in support of hosting. Unfortunately, what is written in the documents does not work or I am doing something wrong. In any case, it seems that the problem is not with WordPress. Thanks for the help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problems displaying the webp’ is closed to new replies.