phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
bots and sessions

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
::  
Author Message
thedark1



Joined: 07 Jan 2007
Posts: 1

bots and sessionsPosted: Sun Jan 07, 2007 3:18 pm    Post subject: bots and sessions

hi,

im having problems with too many hits from bots filling up my sessions table.....everyday i get about 20000 rows being made in my sessions table (most from google bot) and i have to clear them manually before the db crashes....

ive already tried this mod which is supposed to limit guests from same ip to one session, but it doesnt work...
http://www.phpbb.com/phpBB/viewtopic.php?t=185839

i checked my sessions table, and the ip for google bot had about 10000 entries!!!

how exactly can i stop sessions from being added to the db when a bot or guest is viewing my forums?

thanks
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15130

bots and sessionsPosted: Sun Jan 07, 2007 7:05 pm    Post subject: Re: bots and sessions

And welcome Very Happy

The cyber alien guest session mod should make sure a single ip does use a single session for guest, thus bots.

So I think a bout two possible causes for this matter.

Could be another mod causing trouble, dealing with bots, like the bot's mod.

Or it could be a cookie setting problem, especially if you are using phpBB sessions across sub-domains like on this site.

The correct cookie settings in all cases :

cookie domain : .example.com (noticed the dot ".")
Cookie path : /

Another thing that could help out, is to connect to your Google (create one if needed) account, and register a sitemap for you domain. You'll be able to lower down a bit the crawling rate for the Google bot, can be better than a total disallow and could help out staying online in good condition until you find a real solution for this matter.

Code:
User-agent: *
Disallow: /


In your robots.txt can help out to stop all crawling if the problem is really impossible to solve with this many bots online.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
Page 1 of 1

Navigation Similar Topics

Jump to: