sorry to hear you did no hear back from criticalcss support. I assume you need to whitelist because currently critical CSS is not working?
typically the whitelisting needs to happen at a firewall level (which could be at host level, cloudflare or a security plugin, might be related to “bot blocking”), where all requests with criticalcss.com in the useragent must be permitted. if useragent-based whitelisting does not work, you can whitelist the following two ip-addresses instead;
138.68.175.225
159.65.84.28
hope this helps,
frank
Hi Frank,
I tried to whitelist the ip address and it did not work. I would like to know how to whitelist the user-agent?
I’m afraid I don’t really know elshorbagy ; where (in what screen/ app/ plugin/ …) did you try to whitelist the ip-addresses and how did it not work (error message)?
This is the message I received from criticalcss support. I asked them twice how to whitelist user-agent but I did not get an answer.
I whitelisted the IPs but I’m still getting an error.
The message:
If possible it’s better to whitelist criticalcss.com via User-Agent instead of IP, as there will be new IPs added in the future.
Our User-Agent string includes the text:
criticalcss.com
If you cannot make use of the User-Agent, the most likely IPs you will be hit by are:
134.122.108.2
138.68.175.225
161.35.39.31
I got a message from my hosting support that they cannot whitelist the IPs because my website is on a shared host.
But do they confirm they are blocking those IP’s to begin with?
No, they are not blocking those Ips
then whitelisting them is not needed either, at least not on host level.
when examining your site I see you’re using Imperva which is a CDN which includes security features (web application firewall), it is likely the blocking is done at that level, can you (have someone) check that?
I deactivated your plugin and I tried criticalcss manually and it worked correctly. I guess the CDN is a part or your plugin.
-
This reply was modified 4 years, 3 months ago by
elshorbagy.
Just saw API requests coming through as well, so AO is now active again and it seems to work now elshorbagy ?