In reply to Stephen Vaughan.

Your problem was not with webp. But using htaccess redirect rules with cloudflare. The redirect rules don’t work through a cdn like cloudflare.