What is "mod_pagespeed"?
To optimize performance and reduce digital footprint, we have configured automatic image conversion to WebP format on our servers. This format reduces file sizes without perceptible quality loss, thereby improving website loading speed and user experience, while reducing bandwidth consumption.
This conversion uses "mod_pagespeed", an open-source module developed by Google for Apache and Nginx web servers. This module aims to optimize website performance and the structure of their resources through filters.
On our servers, the following filters are enabled by default:
`ModPagespeedEnableFilters convert_jpeg_to_webp
ModPagespeedEnableFilters convert_to_webp_lossless
ModPagespeedEnableFilters convert_to_webp_animated
ModPagespeedEnableFilters rewrite_css
ModPagespeedEnableFilters fallback_rewrite_css_urls`These filters are compatible with AccelerateWP, so you can ignore the "AccelerateWP: Mod PageSpeed is not compatible with this plugin and may cause unexpected results." alert that may be displayed by the latter.
How to disable "mod_pagespeed"?
- From your cPanel, go to the "Files" section then "File Manager":

- Edit your ".htaccess" file:

- If you cannot see it, you need to check the "Show Hidden Files (dotfiles)" box in the cPanel settings located in the top right corner:

- Right-click on the file then "Edit" to modify it:
cPanel-Edition-Fichier-Confirmation
- And add the following lines to your file:
`<IfModule pagespeed_module>
ModPagespeed off
</IfModule>`The "mod_pagespeed" module is now disabled on your web page.
How to configure "mod_pagespeed"?
You can apply "mod_pagespeed" filters by editing the ".htaccess" file with the following syntax:
`<IfModule pagespeed_module>
ModPagespeedEnableFilters filter1,filter2,filter3
</IfModule pagespeed_module>`Here is a complete list of filters offered by the module:
https://www.modpagespeed.com/doc/config_filters
How to disable a filter?
If you want to disable one or more filters, use the following syntax by editing your ".htaccess" file:
`<IfModule pagespeed_module>
ModPagespeedDisableFilters filter1,filter2,filter3
</IfModule pagespeed_module>`
Updated on: 14/02/2026
Thank you!