I want to do SEO of phpBB i have downloaded mod from A2K. But i am not getting help where to place it. And in its description it does removing of SID and convert static at same time. But i want to remove SID only. How to do it?
# #-----[ OPEN ]------------------------------------------ # includes/sessions.php # #-----[ FIND ]------------------------------------------ # $SID = 'sid=' . $session_id; # #-----[ REPLACE WITH ]------------------------------------------ # if ( $userdata['session_user_id'] != ANONYMOUS ){ $SID = 'sid=' . $session_id; } else { $SID = ''; } Code (markup):
Oh Ok it means i have to act upon instructions not to paste this cod anywhere . Is that only thing to do for SEOing phpBB ...? Or anyother thing is required? I m going to remove SID only.
Thats it for modifying SID, but I would do all the steps minus the mod_rewrite. Doesnt take that long I did it all to a forum yesterday in about 10 minutes.
Are you seeing it after you log in? Trying loggin in the forum and navigating and see if you see it still.
I dont know what to say if you edited includes/sessions.php and replaced that line and saved it then it should work.
probably i did something wrong and something right because i see sid=xxxxx only when i pass log in page. After that sid=xxxx is not appearing.
You can always download phpbb2 again and then just reupload that single file and start over with the editing if you didn't create a backup first. Removing SID really is all there is too it, I looked at rewriting too first, but as soon as the SID was gone googlebot was all over the pages.
I don't know why i am not so genious! my bad. I have still one confusion. After SID will be removed. Do i have to consider job is finished and my phpBB forum is SEOed? Or there is anyother thing to do as well.
I noticed sid=xxxxxxx only appears on index.php page when i log in.But when i visit forums it disappears. Now things are on right way? Or sid should entirely gone even on that single page after log in?
It does not remove session ids from everyone. PHPBB still needs session ids for logged in users.. It removes them for guests. So log out and you will not see any session ids.