Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
529 views
in Q2A Core by
Hi,

Why does pages indexed in google are finishing with PHPSESSID=blabla ?
It's quite note SEO friendly.
For exemple :

http://www.businessattitude.fr/questions/93/est-il-int%C3%A9ressant-d-investir-dans-l-or-en-2010?PHPSESSID=2e5e73f3f7163259d28171c4d78e5760

It would be best to have http://www.businessattitude.fr/questions/93/est-il-int%C3%A9ressant-d-investir-dans-l-or-en-2010

Thanks for your answer.

Cedric

1 Answer

0 votes
by
It seems that your PHP configuration allows sessions to be tracked via URL parameters, as well as cookies. You can fix this by switching off the session.use_trans_sid setting, or try adding this in qa-config.php:

ini_set('session.use_trans_sid', false);

I'll also add this in the appropriate place in the next version.
by
Thank you very much for your reply. Can I copy/paste this code "ini_set('session.use_trans_sid', false);" any where in qa-config.php?

Have a nice evening.
by
Yes, it shouldn't matter where it goes in that file.
...