I'm working on my site and as it require users to log in it will be hard to Google to index the sites, because to see 90% of the content you have to be online.
So I've made a script which looks for the ip that enters the site if it is between 18.104.22.168 to 22.214.171.124. So if the ip is between this range, i set "the google bot" as online and it will be able to see all pages a normal user would see.
Is this a good idea? Are there more ip ranges? Can I trust these ip ranges?