XF 2.2 Allow Google (for testing) but deny users and guests.

Mr Lucky

Well-known member
The problem is I need to do some testing for rich result tests and page speed. But while I'm disable and re-enabling addons to find any culprits I want users to not view. But of course neither can Google in order for the page tests to work..

I get the feeling there is no way round this but just in case I am asking the question:

Is it possible to allow Google to the forum (for testing) but deny users and guests?

Thanks.
 
Solution
Just in case anyone is interested I found a range of relevant Google IP addresses

142.251.107.102
142.251.107.138
142.251.107.101
142.251.107.113
142.251.107.100
142.251.107.139

so in htaccess allow my ip and the Google IP. It may or may not work.
Just in case anyone is interested I found a range of relevant Google IP addresses

142.251.107.102
142.251.107.138
142.251.107.101
142.251.107.113
142.251.107.100
142.251.107.139

so in htaccess allow my ip and the Google IP. It may or may not work.
 
Solution
Top Bottom