Page 1 of 1

Make your phpBB forum spiderable

Posted: April 7th, 2004, 12:02 am
by ccb056
This mod will remove session id's (SIDs) for you phpBB forum which will make it spiderable by search engines

Code: Select all





includes/sessions.php 





$SID = 'sid=' . $session_id; 





if ( $userdata['session_user_id'] != ANONYMOUS ){ 
   $SID = 'sid=' . $session_id; 
} else { 
   $SID = ''; 
} 

Posted: April 11th, 2004, 2:57 pm
by Matrix
But will users stay logged in? They must have to use cookies then.

Posted: April 11th, 2004, 3:00 pm
by ccb056
That's correct, registered user's must have cookies enabled to stay logged in.

Posted: April 11th, 2004, 7:43 pm
by Axe
Yes, users will stay logged on, even text based browsers such as Lynx store cookies these days and don't require them on the URL string.

I've set this up on several phpBB forums, PostNuke sites and osCommerce stores with zero problems.