acidglitter Posted November 11, 2007 Share Posted November 11, 2007 Whenever I go to my site for the first time, every link has ?PHPSESSID=####### Is there a way I can prevent that from showing up in the link addresses? Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted November 11, 2007 Share Posted November 11, 2007 check your php info if session autostart is on it tends to cause that Quote Link to comment Share on other sites More sharing options...
acidglitter Posted November 12, 2007 Author Share Posted November 12, 2007 Oh at the very top of the first page it has session_start()... Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted November 12, 2007 Share Posted November 12, 2007 Take it off, odds are you are reinitalizing session_start which is auto started for some reason. Quote Link to comment Share on other sites More sharing options...
acidglitter Posted November 21, 2007 Author Share Posted November 21, 2007 i checked the php info and it said session auto start is off.. but it doesn't really matter any more because i've rewritten my pages so they should still show up even with the PHPSESSION in the url Quote Link to comment Share on other sites More sharing options...
premiso Posted November 21, 2007 Share Posted November 21, 2007 http://www.ragepank.com/articles/26/disable-phpsessid/ If you are shooting for SEO friendly you are shooting yourself in the foot. (Note the above listing was found using the following Google URL: http://www.google.com/search?hl=en&q=remove+PHPSESSID+from+the+url&btnG=Google+Search ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.