Need to exclude a whole site from PageSpeed

50 views
Skip to first unread message

caro...@gmail.com

unread,
Mar 16, 2021, 3:43:45 PMMar 16
to mod-pagespeed-discuss
Hi,

I have 12 sites on a dedicated server, and I need to exclude 1 site completely from
mod_pagespeed. 

How can I do it?  (Apache and CentOs)

Thanks!

MD SOHEL RANA SHAH

unread,
Mar 16, 2021, 4:11:23 PMMar 16
to mod-pagesp...@googlegroups.com
I don’t know 

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/2ecf554f-b6e4-4350-b112-9756c206e977n%40googlegroups.com.

Joshua Marantz

unread,
Mar 16, 2021, 4:20:58 PMMar 16
to mod-pagespeed-discuss

Nigel Aves

unread,
Mar 16, 2021, 4:41:16 PMMar 16
to mod-pagesp...@googlegroups.com
in the vhost add "modPagespeed off" 

Joshua Marantz

unread,
Mar 16, 2021, 4:47:03 PMMar 16
to mod-pagespeed-discuss
Nigel's solution should be used. Thanks Nigel. As long as the site has its own vhost.

If the 'site' does not have its own vhost (that sometimes happens) then you can use 'Disallow'.


caro...@gmail.com

unread,
Mar 19, 2021, 3:46:58 PMMar 19
to mod-pagespeed-discuss
I have cPanel. Each site has a different account. Would it work? Where should I add "modPagespeed off"?

WebDesires

unread,
Mar 20, 2021, 6:21:31 AMMar 20
to mod-pagespeed-discuss

On cpanel either add the modpagespeed off to each .htaccess file in the root of the site.

Or if you want modpagespeed off by default edit the main modpagespeed config file and change "pagespeed on" to "pagespeed off".

Then do the reverse, any site you want to turn it on add "modpagespeed on" in the htaccess.

Reply all
Reply to author
Forward
0 new messages