“Your site appears to be missing mod_headers”
-
Hi!
I changed my server today and now cwebp works and create images, finaly!
But I have a new issue: it doesn’t put the webp files in the frontend.In the settings, I have this message: “Your site appears to be missing mod_headers”
I contacted the web hoster, Cloudways, and he told me that it was enable by default, and he verified if all was ok. And all was ok.
The .htaccess is fine, the plugin modified it:
# BEGIN EWWWIO # The directives (lines) between "BEGIN EWWWIO" and "END EWWWIO" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{REQUEST_FILENAME} (.*)\.(jpe?g|png|gif)$ RewriteCond %{REQUEST_FILENAME}.webp -f RewriteCond %{QUERY_STRING} !type=original RewriteRule (.+)\.(jpe?g|png|gif)$ %{REQUEST_URI}.webp [T=image/webp,L] </IfModule> <IfModule mod_headers.c> <FilesMatch "\.(jpe?g|png|gif)$"> Header append Vary Accept </FilesMatch> </IfModule> AddType image/webp .webp # END EWWWIO
I tried on a brand new WordPress, installed by Cloudways, with no cache plugin, there is the same problem.
When I use the JS method, it works.What can I do to help you find why your plugin doesn’t see mod_headers ?
Thank you for your help! ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘“Your site appears to be missing mod_headers”’ is closed to new replies.