Darksat IT Security Forums
User Info
Welcome, Guest. Please login or register.
December 03, 2008, 07:00:31 pm

Login with username, password and session length
Search:     Advanced search
News Box
Darksat IT Security Forum
From Firewall Support, AntiVirus Questions, Spyware problems, Linux and Windows Security, Black Hat SEO right down to Website Design and Multimedia

Key Stats
8489 Posts in 1606 Topics by 918 Members
Latest Member: creative182002
* Home Help Search Gallery Arcade Links Login Register
Sponsored Links
Darksat IT Security Forums  |  The IT Department  |  Programming  |  Removing session IDs for BHPBB furums « previous next »
Pages: [1] Print
Author Topic: Removing session IDs for BHPBB furums  (Read 795 times)
Darksat
Administrator
*******
Posts: 3056



View Profile
Removing session IDs for BHPBB furums
« on: March 08, 2007, 11:41:33 am »

Fancy making your PHPBB forum more spider/Search Engine friendly?

find the file
includes/sessions.php

make a backup
open in text editor
FIND this line

Code:
$SID = 'sid=' . $session_id;

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

this removes session IDs for users that are no logged in and makes the forum a lot more spider friendly for googlebot, etc.
Logged

Welcome to my IT Security Forum.
Your Kung Fu is Good! - I Can Make it Better.
LennyP
Apprentice
**
Posts: 21


View Profile
Re: Removing session IDs for BHPBB furums
« Reply #1 on: March 08, 2007, 11:50:15 pm »

I think this is an important mod for any forum. Google is probably your most important visitor so you want them to be able to read your site. I don't understand you need to modify the code instead of it being standard.
Logged
Darksat
Administrator
*******
Posts: 3056



View Profile
Re: Removing session IDs for BHPBB furums
« Reply #2 on: March 09, 2007, 05:15:01 am »

Perhaps it is in newer versions.
This is one I used on my old PHPBB forum.
Logged

Welcome to my IT Security Forum.
Your Kung Fu is Good! - I Can Make it Better.
FREE RAZR Cell Phones, All Colors! | Get a FREE Xerox Color Copier-Printer! Click here to apply
Pages: [1] Print 
« previous next »
Jump to:  

Google
 
Web darksat.smfforfree.com

SMF For Free - Create your own Forum
Upgrade This Forum

Darksat IT Security Forums | Powered by SMF.
© 2005, Simple Machines LLC. All Rights Reserved.

Theme by Nesianstyles | Button set by Andera
Page created in 0.158 seconds with 17 queries.
Darksats IT Security Forum - Black Hat, IT Security and SEO
Welcome to Darksats IT Security Forum. Linux IT Security, Technology and more.