Tips and help with HTML, CSS, JavaScript, and site development.
-
ccb056
- Site Administrator
- Posts: 981
- Joined: January 14th, 2004, 11:36 pm
- Location: Texas
-
Contact:
Post
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 = '';
}
-
Matrix
- Registered User
- Posts: 12
- Joined: April 6th, 2004, 9:23 pm
-
Contact:
Post
by Matrix »
But will users stay logged in? They must have to use cookies then.
-
ccb056
- Site Administrator
- Posts: 981
- Joined: January 14th, 2004, 11:36 pm
- Location: Texas
-
Contact:
Post
by ccb056 »
That's correct, registered user's must have cookies enabled to stay logged in.
-
Axe
- Registered User
- Posts: 9
- Joined: April 11th, 2004, 3:19 am
-
Contact:
Post
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.