I am using phpbb for my forum.. lately i notice that google is trying to loggin on and poof gone.. how am able to let google to crawl in my forum?
# #-----[ OPEN ]------------------------------------------ # includes/sessions.php # #-----[ FIND ]------------------------------------------ # $SID = 'sid=' . $session_id; # #-----[ REPLACE WITH ]------------------------------------------ # if ( $userdata['session_user_id'] != ANONYMOUS ){ $SID = 'sid=' . $session_id; } else { $SID = ''; } # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM Code (markup): This is from the Able2Know SEO Mod.
Here's my robots.txt My forum is in a subfolder "forums/" so if your is different you would need to change it. Just make a file called "robots.txt" and put it into your root directory (whether your forums are there or not). User-agent: * Disallow: /forums/admin/ Disallow: /forums/images/ Disallow: /forums/includes/ Disallow: /forums/language/ Disallow: /forums/templates/ Disallow: /forums/common.php Disallow: /forums/config.php Disallow: /forums/groupcp.php Disallow: /forums/memberlist.php Disallow: /forums/modcp.php Disallow: /forums/posting.php Disallow: /forums/profile.php Disallow: /forums/privmsg.php Disallow: /forums/viewonline.php Disallow: /forums/search.php Disallow: /forums/faq.php Code (markup): This keeps google bot (actually all bots) from entering these areas of my forums.