Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable mod_pagespeed (no server conf access, .htaccess doesn't work)

I have a Wordpress site that my client wants to validate perfectly (using W3C validator). One of the issues is Google's pagespeed, which seems to be enabled by default by hosting provider.

I try to disable mod_pagespeed in .htaccess file with the following, but it doesn't work for some reason:

<IfModule pagespeed_module>     ModPagespeed off </IfModule> 

I can disable it by adding "?ModPagespeed=off" to URL, but this does not solve my problem.

Is there anything else I can try? I only have access via FTP (no server conf access, no c-panel access, etc.).

like image 903
zarsky Avatar asked Dec 27 '13 10:12

zarsky


1 Answers

Create a .htaccess file, add below text and upload using ftp program. We are also a hosting provider and use Pagespeed.

Modpagespeed Off 
like image 113
Prateek Avatar answered Sep 24 '22 17:09

Prateek