Skip to main content

Why Can't I Upload WebP Files to WordPress?

WebP uploads that fail with "This file cannot be processed by the web server" are almost always caused by the WordPress Multisite network file type list, not by a server problem. Here's how to recognize it and fix it.

Written by Daniel

Wordify's servers fully support WebP images. If WebP uploads are failing in your media library, WordPress is rejecting the file before it ever reaches our servers.

The Error You'll See

When you try to add a .webp file to the media library, the upload fails immediately with:

"This file cannot be processed by the web server"

Despite the wording, this message comes from WordPress, not from the server. It means the file extension isn't on the list of upload types WordPress allows. WordPress blocks the file in your browser, so it's never actually sent anywhere.

How to Recognize This Problem

Three things point to a blocked file type rather than a server fault:

  • The error appears instantly, whatever the file size. A 32 KB image fails exactly the same way as a 5 MB one, so upload limits aren't involved.

  • Nothing is written to your WordPress debug log. The upload never reaches PHP, so there is nothing for WordPress to log.

  • Deactivating security plugins makes no difference. Wordfence, All-in-One Security and firewalls never see the request.

If all three are true, you can stop checking PHP limits, security plugins and firewall rules. None of them are causing this. An empty debug log is exactly what you'd expect here, so it isn't a sign that something deeper is wrong.

The Usual Cause: WordPress Multisite

If your site is part of a WordPress Multisite network, the allowed upload types are controlled by a single network-wide setting rather than by each site.

That list is created once, when the network is first set up, and WordPress updates never change it afterwards. Networks built before WebP came into common use therefore have no webp entry, and they never gain one no matter how many times WordPress is updated. The same applies to newer formats such as AVIF.

Are You on Multisite?

Look at the admin toolbar in the top left of your dashboard. If you see a My Sites menu, you're on a Multisite network. If you see Dashboard instead, you have a standard single site.

How to Fix It on Multisite

You'll need a Super Admin account to change this setting.

  1. Log in to your WordPress admin dashboard

  2. Go to My Sites → Network Admin → Settings

  3. Scroll down to the Upload Settings section

  4. Find the Upload file types field. It contains a list of extensions separated by spaces.

  5. Add webp to the end of the list, with a space before it. Add avif at the same time if you plan to use AVIF images.

  6. Click Save Changes

The change applies to every site in the network straight away.

One important step before you retry: fully reload the media library page (Ctrl+F5 on Windows, or Cmd+Shift+R on a Mac). WordPress builds the list of allowed file types into the page when it loads, so a Media screen you already had open will keep rejecting the file until you refresh it.

If You're Not on Multisite

On a standard single site, WebP uploads work out of the box, so something on the site is removing the file type. Work through these in order:

  1. Update WordPress. WordPress has supported WebP uploads since version 5.8. Anything older will reject them.

  2. Check recently added plugins and themes. Some restrict which file types can be uploaded. Deactivate anything you've added or updated recently, then test the upload again.

  3. Check your security plugin's settings. Several keep their own list of permitted file types, separate from the WordPress one.

Does Wordify Support WebP?

Yes, on every plan. Our servers run PHP with both GD and ImageMagick built with WebP support, so once WordPress accepts the upload, thumbnails and resized versions are generated normally. AVIF is supported in the same way.

We don't block image file types at the server level. Which files WordPress will accept is decided by WordPress itself, which is why this is fixed in your dashboard rather than by us.

Need Help?

If WebP uploads still fail after working through the steps above, please get in touch and we'll take a look for you. It helps if you can tell us whether the site is part of a Multisite network, and paste the exact error message you're seeing.

Did this answer your question?