You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 48 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - how to prevent robots from accessing specific modules [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
freelinuxer
Nuke Soldier
Nuke Soldier


Joined: May 03, 2004
Posts: 16

Location: freelinuxer to Enterprise.. one to beam up

PostPosted: Tue Dec 07, 2004 8:35 am Reply with quoteBack to top

Before posting this new topic, I searched all the forums, but no luck.
Please help me on this.
I appreciate your help in advance.

Here is the question.
How can I block robots to access specific nuke modules?

If I want to prevent robots(yahoo bot, googlebot, etc) from accessing chat module, How can I do this?

What I did was like following..
Inside robots.txt, I added the line as..

Disallow: /modules.php?name=4nChat
Disallow: /modules.php?name=Kalender
Disallow: /azkw/modules.php?name=4nChat
Disallow: /azkw/modules.php?name=Kalender

However, the lines have no effect on Bots. They still index above modues..

When I look at indexed pages on google or yahoo, they only shows above modules.

Any help or advice on this will be appreciated greatly.

Thank you all for your hard work!!
Find all posts by freelinuxerView user's profileSend private messageSend e-mailVisit poster's website
freelinuxer
Nuke Soldier
Nuke Soldier


Joined: May 03, 2004
Posts: 16

Location: freelinuxer to Enterprise.. one to beam up

PostPosted: Tue Dec 07, 2004 8:56 am Reply with quoteBack to top

I am open to any suggetion..
I look at various web sites that talk about robots.txt, googlebot,yahoo bot, googletab, and etc.

Could not find one site on this matter..
"How to prevent robots from accessing specific modules in php-nuke.

Please help me out on this..

By the way,
I am using Google tab to generate static page like URL(searchengine friendly URL)..

I had a little problem with SID at the end of page URL like following.
"hxxp://www.not_real_address.com/postt2004.html&sid=xxxxxxx"
It was easy to fix by chaging a few lines in includes/sessions.php.

If anyone having same problem then look for following code in includes/sessions.php

Code:
$SID = ( $sessionmethod == SESSION_METHOD_GET ) ? 'sid=' . $session_id : '';


to

Code:
if ( $user_id != ANONYMOUS ) {
        $SID = ( $sessionmethod == SESSION_METHOD_GET ) ? 'sid=' . $session_id : '';
      }


It should be enough to fix the problem since robots are not registered users. So, they don't need to see SID.
Smile

Still looking for the answers for the above posts. Thank you.
Find all posts by freelinuxerView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.151 Seconds - 333 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::