To check that the “redirect to conversion script” functionality is working, you can:
1) Switch to Tweaked mode
2) Set Cache-Control header to public, one second
3) Check “Enable redirection to converter?”
4) Uncheck “Only redirect to converter if no webp exists”
5) Uncheck “Enable direct redirection to existing converted images?”
6) Uncheck “Create webp files upon request?”
7) Disable Alter HTML
8) Under “Serve options”, set “Response on failure” to “Error report (in plain text”)
9) Visit an image URL directly
10) If you see no error message, edit wp-content/plugins/webp-express/wod/webp-on-demand.php. In the top, insert the following:
error_reporting(E_ALL);
ini_set('display_errors', 1);
To check that the “Create webp files upon request?” functionality is working, you can:
1) Again use to Tweaked mode
2) Set Cache-Control header to public, one second
3) Now Uncheck “Enable redirection to converter?”
4) Uncheck “Enable direct redirection to existing converted images?”
5) Now check “Create webp files upon request?”
6) Enable Alter HTML
7) Under “Serve options”, set “Response on failure” to “Error report (in plain text”)
8) Visit a page
9) If images are not showing, it isn’t working. To get the error, view source and copy the URL of the webp file. And open it in a new tab/window. You should see an error message.
10) If you see no error message, edit wp-content/plugins/webp-express/wod/webp-realizer.php. In the top, insert the following:
error_reporting(E_ALL);
ini_set('display_errors', 1);
-
This reply was modified 5 years, 5 months ago by rosell.dk.
-
This reply was modified 5 years, 5 months ago by rosell.dk.