Whitelisting Googlebot

Building off this example, Mod evasive adjustment - per site? - #2 by msaladna

curl -o- https://developers.google.com/static/search/apis/ipranges/googlebot.json | jq '.prefixes[][]' | while read IP ; do
    echo $IP
    cpcmd rampart:whitelist $IP
done
1 Like