Remove SessionID from URL string
Moderator: General Moderators
- blacksnday
- Forum Contributor
- Posts: 252
- Joined: Sat Jul 30, 2005 6:11 am
- Location: bfe Ohio :(
Remove SessionID from URL string
I have noticed a problem that looks horrible.
On my site for some reason, when you first enter and click any link,
the SessionID wants to be attatched. then after the first click, it goes away.
This is causing many problems with Search Engines.
As for security, thats not a problem yet as I dont offer any type of
membership system.
Is there a way to remove the Session ID from showing upon entry to site?
You can see the problem by doing a MSN search of my site.
All of MSN attatches a SessionID to the indexing....
http://search.msn.com/results.aspx?FORM ... shmyex.com
and i think its causing Google to not crawl anymore.
On my site for some reason, when you first enter and click any link,
the SessionID wants to be attatched. then after the first click, it goes away.
This is causing many problems with Search Engines.
As for security, thats not a problem yet as I dont offer any type of
membership system.
Is there a way to remove the Session ID from showing upon entry to site?
You can see the problem by doing a MSN search of my site.
All of MSN attatches a SessionID to the indexing....
http://search.msn.com/results.aspx?FORM ... shmyex.com
and i think its causing Google to not crawl anymore.
- blacksnday
- Forum Contributor
- Posts: 252
- Joined: Sat Jul 30, 2005 6:11 am
- Location: bfe Ohio :(
I checked and both are on as a local value.Weirdan wrote:set
session.use_cookies=1
and
session.use_only_cookies=1
this way you will still be able to use sessions, but no SID will appear in your urls
With session.auto_start set to ON
would that mean that I wouldnt need to use
Code: Select all
session_start();I would think I still would and should use it, just wanted to
clarify a bit.
- blacksnday
- Forum Contributor
- Posts: 252
- Joined: Sat Jul 30, 2005 6:11 am
- Location: bfe Ohio :(