Content-Type missing

Hello there,
I’m currently optimizing my website for SEO using SEObility. I get the following error with many webp images: Content-Type missing (see screenshot).

With PNG files, I have seen that the content type is automatically set/recognized as image. Can anyone tell me how to set the content type for webp images?

Thanks for your help and have a great start to the weekend. :grin:

I suggest adding this in your htaccess file.

2 Likes

Thanks @Jannis for the tip. Unfortunately, the Blocs Forum emails ended up in my spam folder and I didn’t see that you replied so quickly. When I inserted the lines into the hidden “.htaccess” file, I received the error “Internal-Server-Error (500)” on my entire page.

My solution

I added my own Apache entry at my server provider:

AddType image/jpeg.jpg
AddType image/png.png
AddType image/webp webp

Screenshot