Place Simple Php Code In Sit 2

Place Simple Php Code In Sit 2
I need this code [code]$allow_inside = ($is_logged_in) || substr_count($_SERVER[‘HTTP_USER_AGENT’],’Googlebot’); [/code]

prepared so I can place it on the footer of my website. I also need to be able to add new “user agents” to the list, and informed of how to properly do that.

List of “user agents” can be found here:
http://www.jafsoft.com/searchengines/webbots.html

Information about this code can be found here:

http://davidwalsh.name/google-password-protected-areas

This is a simple code to allow forum bots so bypass the password on my password protected pages.

Simply need the code prepared to copy and paste to my footer, shown how to add “user agents”, and confirmation that this will allow search engine bots to bypass the password.

Leave a Reply

Your email address will not be published. Required fields are marked *