Hi, my website has been indexed by google but the majority of links have sessions? on the urls. e.g. the url's currently are indexed as mysite'surl.com/xxx.php?action=new&auth_sess=&ref=cb57ce5f01 mysite'surl.com/xxx.php?company_id=3&auth_sess=05756766663e4f75d What can i do to remove or hide these sessions from googlebot spider? Thanks.
Find whoever wrote your cms script and sack them. Then hire somebody to do the job properly. If its an open source CMS then there will be a hack for it.
Thanks for the reply, but isn't there any easier solution. mod-rewrite or some other addition to the .htaccess file?
Like this page http://www.jokelobby.com/redneck-joke.php ,It's indexd by google by http://www.jokelobby.com/redneck-joke.php?SESSIONID=989555. After I deleted the session from PHP code,it workds well. I think the session of PHP is very unfriendly to search engine So I think the best way is to use cookie and delete session from your PHP code
Yes, this i understand i need to get rid of the sessions and have tried adding this code into my .htaccess # Fix for ?PHPSESSID in clean URLs php_value session.use_trans_sid 0 php_value session.use_only_cookies 1 Although my inner pages still come up with auth sessions on the url's.. (i guess this only works with phpsessis and not auth_sess ??) How would i go about replacing my sessions (auth_sess) with cookies?
Well it clearly uses some kind of script that was written by somebody. The way they have written it is wrong and you need to employ somebody to redo the way it tracks user sessions.
I know this. The point is I would like to do this modification myself. Hoping someone could point me in the right direction of some information to enable me to do this myself. Of course i know i do not want it like this and it is not good, likewise yes i know parts of the script need to be change to correct it. Point is, i am looking to do it myself, but am asking for a little help.
I would love to be able to give you more help but without seeing exactly how your site works its impossible.