PDA

View Full Version : Remove Session ID's + Dupe Url pages


SEO-Man
02-03-2006, 07:50 AM
I just ran a tool to create a site map and shows that i have Dupe pages as well as Session ID Urls.

IF there is a mod for this please point me to it and if there is not i am willing to pay to have one made.

SEO-Man
02-03-2006, 05:52 PM
can some one help me

David
02-03-2006, 07:11 PM
can you give me an example of where you are getting session ids in your urls?

SEO-Man
02-07-2006, 02:40 PM
well i just turned sessions off i hope this is ok because if the script uses sessions any where in the code i just made them null.

there are sessions if you run the script through a site map maker i can send you the url to see this if it will help.

clubracer
03-02-2006, 01:57 PM
Content visible to registered users only.

a search engine spider found this after a visit:
Content visible to registered users only.

David
03-02-2006, 02:45 PM
I know PHP tends to generate session ids (for any application) in certain shared hosting environments, but I haven't seen any live examples of this yet.

fjean
03-17-2006, 07:30 AM
The other way to probably get rid of this SESSION ID is to have mod_rewrite pages ending .html
ex. domain.com/category/subcategory/index.html


just like the detail pages

anon
03-21-2006, 01:51 AM
looking into this in the next few days, as it is really really annoying the hell out of me.

Rob

anon
03-21-2006, 02:02 AM
hrmmmph.. well that wasn't too hard.

time will tell as to whether or not it's truely fixed. so far so good though. hope nothing is broken.

Rob

minute
03-29-2006, 09:19 AM
I want to get rid of these as well.

minute
03-29-2006, 10:43 AM
This will remove the session ids appended to your categorys and subcategories. No ill effects yet.


In init.php place this line



Content visible to registered users only.


just before this line


Content visible to registered users only.


If you want to know how this works simply read here:

{Tutorialized Link not working}

Boby
03-29-2006, 12:02 PM
Just to let you know...phpLD is not using the PHPSESSID. Usually it's generated by the PHP compiler but it can be also turned off.

Just simple SESSIONS are used that will expire when you close the browser. That's all.

Boby

minute
03-30-2006, 03:53 AM
So the method I used works then? Phew. :)

SPD
04-10-2006, 04:07 PM
I have removed PHPSESSID =...... From url only when has added in .htaccess a following code:

php_flag session.use_cookies on
php_flag session.use_only_cookies on
php_flag session.use_trans_sid off
php_value url_rewriter.tags 0
php_value arg_separator.output &

(PHP as an Apache module)

Good luck

thompson
04-10-2006, 05:14 PM
Content visible to registered users only.

and it works ?

SPD
04-10-2006, 05:50 PM
Yes, after inclusion of this code, my site is indexed Google without ?PHPSESSID=xxxxxxx.

SPD
04-13-2006, 01:34 PM
After several days of check, ?PHPSESSID=xxxxx... session is not added to url, but other sessions have remained in following url: index.php?p=d&PHPSESSID=xxxxx.... And index.php?p=h&PHPSESSID=xxxxx.....

Some good articles on this problem:
http://www.w3.org/QA/2005/04/php-session
http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2