Author Topic: Googlebot is indexing sessionid  (Read 21371 times)

0 Members and 1 Guest are viewing this topic.

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Googlebot is indexing sessionid
« on: September 16, 2008, 11:30:50 AM »
I don't know why but googlebot is indexing with sessionid?

I find v@no modifications but this doesn't work, maybe because he did modification for older 4images version:
http://www.4homepages.de/forum/index.php?topic=6729.msg59251#msg59251

This line doesn't exist in 1.7.6 version any more:
Code: [Select]
    if ($this->mode == "get" && !preg_match("/".SESSION_NAME."=/i", $url)) {
You can check my results here:
http://www.google.si/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=sl&q=site%3Awww.slo-foto.net+sessionid&meta=&btnG=Iskanje+Google

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Googlebot is indexing sessionid
« Reply #1 on: September 16, 2008, 12:34:27 PM »
I've updated the post you referring to. I guess it'll take a few days before you see the effect...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Googlebot is indexing sessionid
« Reply #2 on: September 16, 2008, 12:41:24 PM »
Thx for help v@no, I'm aware that google cache will be updated in few days, but I'm tracking google IP on my site and I still see that it is indexing my site with session IDs:

Printscreen:

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Googlebot is indexing sessionid
« Reply #3 on: September 16, 2008, 01:10:50 PM »
@Lucifix

... and you use also [MOD] Treat bots as users with less rights ... ?
... both modifications (by martrix and v@no) works perfect together for hiding session IDs for google bots ... !
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Googlebot is indexing sessionid
« Reply #4 on: September 16, 2008, 01:13:26 PM »
@Lucifix

... and you use also [MOD] Treat bots as users with less rights ... ?
... both modification works perfect together for hiding session IDs for google bots ... !

V@no wrote that you have to install only 3rd step, which I did.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Googlebot is indexing sessionid
« Reply #5 on: September 16, 2008, 01:20:48 PM »
So far from what I can see your session.php doesn't work right. If I block cookies for your site I get different sessionid after each click - this is wrong.
When I alter user agent to "googlebot" it still attach sessionid which it shouldn't if you did the modifications right.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Googlebot is indexing sessionid
« Reply #6 on: September 16, 2008, 01:23:00 PM »
So far from what I can see your session.php doesn't work right. If I block cookies for your site I get different sessionid after each click - this is wrong.
When I alter user agent to "googlebot" it still attach sessionid which it shouldn't if you did the modifications right.

I have the same thing in mind. Is it sessions.php file associate with any other file (for sessions)? (I don't mean with etc. details.php session-url)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Googlebot is indexing sessionid
« Reply #7 on: September 16, 2008, 01:25:45 PM »
Is it sessions.php file associate with any other file (for sessions)? (I don't mean with etc. details.php session-url)
Yes.
And if this is the only change you've made in there, I'd suggest you restore original sessions.php, make sure its working properly, then try the modification again ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Googlebot is indexing sessionid
« Reply #8 on: September 16, 2008, 01:33:30 PM »
V@no wrote that you have to install only 3rd step, which I did.

... ok ... I see ...
... I use the whole mod by martrix and so the hiding works perfect for me ...
... but as V@no already said, restore and try it again ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Googlebot is indexing sessionid
« Reply #9 on: September 16, 2008, 01:37:38 PM »
sessions.php has been restored to original one (Ban MOD is integrated in, but nothing else). Okey, looks like I hard coding is waiting for me  :roll:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Googlebot is indexing sessionid
« Reply #10 on: September 16, 2008, 01:42:32 PM »
Maybe I'm looking somewhere else but it looks like you are using some kind of integration with a "nuke"? I couldn't find a direct link to 4images installation...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Googlebot is indexing sessionid
« Reply #11 on: September 16, 2008, 01:48:07 PM »
You are right, my gallery is integrated in PHP-Nuke. But don't know how this would effect problem with sessions ID.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Googlebot is indexing sessionid
« Reply #12 on: September 16, 2008, 02:02:09 PM »
I have no idea how your integration works, but most integrations are required changes in session.php...

P.S. I still get random sessionid after each click.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Googlebot is indexing sessionid
« Reply #13 on: September 16, 2008, 02:12:11 PM »
How can I check by myself if I'll get random sessionid after each click?

It's little hard to explain how 4images is integrated in PHP-Nuke. There is tutorial on this forum, but link to download site doesn't work any more
http://www.4homepages.de/forum/index.php?topic=5547.0

4images is inserted in modules directory and it uses only header.php, footer.php, and some other files from PHP-nuke. But it is using same tables as 4images gallery. As I recall PHP-Nuke doesn't use any sessionID (except phpBB integrated in PHP-Nuke).

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Googlebot is indexing sessionid
« Reply #14 on: September 16, 2008, 02:39:55 PM »
How can I check by myself if I'll get random sessionid after each click?
Disable cookies in your browser. sessionid being added to links only when no cookies are stored.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)