Title: Server configuration error (Cloudways hosting)
Last modified: April 24, 2020

---

# Server configuration error (Cloudways hosting)

 *  Resolved [lbgother](https://wordpress.org/support/users/lbgother/)
 * (@lbgother)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/server-configuration-error-cloudways-hosting/)
 * Hello,
 * This is the error I am getting on the plugin homepage:
 * Server configuration error
    Requests to images are processed by your server bypassing
   Apache. When loading images, rules from the .htaccess file are not executed. 
   Check the redirects for .png file (for which the redirection does not work) and
   for .png2 file (for which the redirection works correctly). Please contact your
   server administrator.
 * Server config: [https://imgur.com/a/n1UDPPI](https://imgur.com/a/n1UDPPI)
    WebP
   was not included in the list on imagick
 * I use [Cloudways (Managed Cloud Hosting Platform)](https://vrlps.co/nSU2OsU/cp)
   to host my WordPress, and their stack is a hybrid of Apache-NGINX.
 * Do I use the NGINX configurations from the other threads on this support forum?
   Or do I edit the .htaccess file?
 * I saw your FAQ, “How to change .htaccess rules?”, but it lists filters instead
   of the .htaccess configs. Do I add those filters into functions.php? Should I
   delete the filters after completing setup?
 * Thank you. I’m excited to take advantage of your plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/server-configuration-error-cloudways-hosting/#post-12724855)
 * Hi [@lbgother](https://wordpress.org/support/users/lbgother/),
 * Thank you for your message.
 * Please contact your server administrator. Adding any rules to the `.htaccess`
   file will do nothing because they are ignored by your server.
 * Can I ask you to let me know if you managed to solve the problem?
 *  Thread Starter [lbgother](https://wordpress.org/support/users/lbgother/)
 * (@lbgother)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/server-configuration-error-cloudways-hosting/#post-12736313)
 * OK, it is fixed. If you use [Cloudways (Managed Cloud Hosting Platform)](https://vrlps.co/nSU2OsU/cp)
   to host your WordPress, you need to contact support to change your NGINX config
   to allow this plugin to do its work.
 * Cloudways uses NGINX to serve static content. This is the list of content from
   the NGINX config:
    location ~* ^.+\.(html|htm|jpg|jpeg|gif|png|ico|css|zip|tgz
   |gz|bz2|pdf|odt|txt|tar|bmp|rtf|js|swf|avi|mp4|mp3|ogg|flv|svg)
 * Therefore, [Cloudways](https://vrlps.co/nSU2OsU/cp) support had to remove the
   image extensions that this plugin will convert to WebP. Now, the images are being
   rewritten with Apache and served as WebP, while all the other static content 
   is still being served by NGINX.
 * Thanks
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/server-configuration-error-cloudways-hosting/#post-12736628)
 * [@lbgother](https://wordpress.org/support/users/lbgother/) Thank you very much
   for the information. Can you send me the whole fragment about serving static 
   files? You only sent a condition, and I’d love to see the whole thing.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Server configuration error (Cloudways hosting)’ is closed to new replies.

 * ![](https://ps.w.org/webp-converter-for-media/assets/icon-256x256.png?rev=2636288)
 * [Converter for Media - Optimize images | Convert WebP & AVIF](https://wordpress.org/plugins/webp-converter-for-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webp-converter-for-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webp-converter-for-media/)
 * [Active Topics](https://wordpress.org/support/plugin/webp-converter-for-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webp-converter-for-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webp-converter-for-media/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/server-configuration-error-cloudways-hosting/#post-12736628)
 * Status: resolved