Quote:
Originally Posted by dynamite
That is what I want, but the only problem is that blocks the spiders also, and with out the spiders, there would be NO traffic. Plus I need them for adsense also.
I have been trying to play around with it all day, but I am having trouble coming up with what to add to it to make it recognize that it is the spider and allow it.
Something to the effect of:
PHP Code:
if ($bbuserinfo['userid'] == 0 AND $guests['spider'] != $spider))
{
print_no_permission();
}
I have no idea what I'm really doing, so I would appreaciate it if someone could point me in the right direction here with it checking for the spiders also.
|
that would also block spiders
anyway what it comes down to is, allow spiders and guests to view or dont, if the spiders are indexing your site your guests can search the archive OR google, so it doesnt matter. just allow both