rosell-dk / webp-express

Wordpress plugin for serving autogenerated WebP images instead of jpeg/png to browsers that supports WebP
GNU General Public License v3.0
222 stars 63 forks source link

File Permissions #112

Open kronikon opened 5 years ago

kronikon commented 5 years ago

What file permissions does the theme folder and its subdirectories need to work properly? The default file permissions give me a 403 Forbidden error on the test pages, and none of the images on the site load (the site just keeps loading forever). Even changing the file permissions to 777 didn't work either.

rosell-dk commented 5 years ago

Did you install the version here from github or the one from the wordpress directory? If you install the one from github, you will need to run composer update in the plugin root. See https://github.com/rosell-dk/webp-express/blob/master/docs/development.md

rosell-dk commented 5 years ago

Added issue for having the version here on github fail in a more informative way, if vendor lib is missing: #113

kronikon commented 5 years ago

I installed it from the WordPress directory.

rosell-dk commented 5 years ago

The 403 Forbidden could be due to some firewall rules. Do you have Wordfence or similar installed? In the next release, I have found a way to avoid passing the filename from .htaccess in the query string. Perhaps this will resolve your issue. See #98