Title: webp not working
Last modified: August 22, 2016

---

# webp not working

 *  Resolved [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/)
 * I’m using the latest chrome and on the requerments page everything is gree. I’ve
   enabled webp, re optimized my image. Webp versions has been generated, but on
   my chrome still showing jpg/png. I’ve also inserted the htaccess, still no luck.
   Please help.
    check this: [https://www.diigo.com/item/image/3um1h/e8sq](https://www.diigo.com/item/image/3um1h/e8sq)
   my site [http://www.isaumya.com](http://www.isaumya.com) please help.
 * [https://wordpress.org/plugins/ewww-image-optimizer/](https://wordpress.org/plugins/ewww-image-optimizer/)

Viewing 15 replies - 1 through 15 (of 44 total)

1 [2](https://wordpress.org/support/topic/webp-not-working/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/webp-not-working/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/webp-not-working/page/2/?output_format=md)

 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5231997)
 * Does the PNG image at the bottom ever turn green when you are using chrome? Your
   screenshot shows the red PNG, which tells me your server isn’t server webp images.
   You must be using apache with mod_rewrite and mod_headers to use the rewrite 
   rules. If you don’t know that information, check with whoever runs your server(
   probably your webhost)
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232014)
 * Hi thanks for your reply.
    No PNG never turns green as shows in your video. Beside
   my server is apache and its htaccess files support all apache rewrite rules. 
   I’m running them on my site. This is my htacess : [http://pastebin.com/ACKABnQ6](http://pastebin.com/ACKABnQ6)
   every single rule is working fine except the webp one (as you are saying).
 * Please help me out. I really wanna use webp.
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232016)
 * You must have mod_headers, or it won’t work. If you don’t know, ask your webhost
   or server admin.
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232051)
 * I dont understand that what should I ask to my web host while all other apache
   rewrite rules are working properly except the webp one. TYou please tell me that
   what should I ask? Why that pirticular htacess code is not working in the server?
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232052)
 * you need to ask them if your server has mod_headers
    mod_rewrite is only one 
   piece of the webp rules, and is likely what all your other .htaccess rules use,
   but .htaccess rules can do all sorts of things besides just rewrites, and this
   is one of those cases.
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232053)
 * I just contacted my webhost and they said that mod_headers
    mod_rewrite is enabled
   on my server and gave me this output:
 * root@server1 [/]# httpd -l | grep mod_rewrite
 * root@server1 [/]# httpd -l | grep mod_rewrite mod_rewrite.c
 * 🙁 What should I do now?
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232055)
 * that isn’t normal output if they are correct. Try httpd -l without piping it 
   to grep
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232056)
 * here is the output:
 * Compiled in modules:
    core.c mod_authn_file.c mod_authn_default.c mod_authz_host.
   c mod_authz_groupfile.c mod_authz_user.c mod_authz_default.c mod_auth_basic.c
   mod_cache.c mod_disk_cache.c mod_include.c mod_filter.c mod_deflate.c mod_log_config.
   c mod_logio.c mod_env.c mod_expires.c mod_headers.c mod_usertrack.c mod_unique_id.
   c mod_setenvif.c mod_version.c mod_proxy.c mod_proxy_connect.c mod_proxy_ftp.
   c mod_proxy_http.c mod_proxy_scgi.c mod_proxy_ajp.c mod_proxy_balancer.c mod_ssl.
   c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_info.
   c mod_suexec.c mod_cgi.c mod_vhost_alias.c mod_negotiation.c mod_dir.c mod_actions.
   c mod_speling.c mod_userdir.c mod_alias.c mod_rewrite.c mod_so.c
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232058)
 * Ok, good, they are both there, but I’m not sure what else to tell you. I’ve heard
   some servers require a slightly different setup, but you’ll have to try those
   out yourself. Search Google for rewrite rules for webp, and see if you can find
   anything else that works for you. If you get the rules too messed up, just delete
   the whole EWWW IO section, the settings page will let you reinsert the rules.
   If you find something that works, let me know so I can see if there is anything
   different I can do with those rewrite rules.
    Try this one for starters: [https://gist.github.com/seeekr/2415528](https://gist.github.com/seeekr/2415528)
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232059)
 * Should I replace the existing code of webp with this? or keep the both?
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232060)
 * feel free to replace it. You can always restore it later.
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232076)
 * I’ve tried everything I can possibly do. Just like you my server admins are also
   saying that the htacess should work. There is no prblem in the server. god knows
   whats creating the issue.
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232109)
 * One last thought. The .htaccess rules also include an AddType statement to add
   the mimetype for webp images, and I’m pretty sure that is mandatory to make it
   work properly. can you have your server admins confirm that the AddType statement
   is allowed (and works)?
 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232110)
 * Hi man, thanks for your continuous support. Anyways, my host recently mighrated
   from Apache to LightSpeed server. Do you think that might me the reason for this
   and if that so, then what is the solution for this?
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/webp-not-working/#post-5232111)
 * Never heard of lightspeed, do you mean lighttpd? I don’t know how to serve webp
   images on lighttpd, and have no way of testing that. I know the rewrite rules
   don’t work with lighttpd, as I’ve used it before at my last job. There ought 
   to be a way to do it, I just don’t know what that is.

Viewing 15 replies - 1 through 15 (of 44 total)

1 [2](https://wordpress.org/support/topic/webp-not-working/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/webp-not-working/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/webp-not-working/page/2/?output_format=md)

The topic ‘webp not working’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

## Tags

 * [webp](https://wordpress.org/support/topic-tag/webp/)

 * 44 replies
 * 5 participants
 * Last reply from: [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/webp-not-working/page/3/#post-5232202)
 * Status: resolved