Welcome to WebmasterWorld Guest from 107.20.5.156

Forum Moderators: goodroi

Message Too Old, No Replies

robots.txt

     

kiransarv

12:15 pm on Oct 21, 2008 (gmt 0)

5+ Year Member



Hi all.

I have three URL patterns
1)www.mysite.com/index.php?id=(.*)&go=(.*)
2)www.mysite.com/index.php?go=(*)&id=(.*)
3)www.mysite.com/index/php?id=(.*)&go=(.*)&start=(.*)&offset=(.*)

I want allow users to crawl the first two but not to allow the links following it. I have to disallow the third pattern.

Basically it is allowing the first page and disallow the second page.

How can i do this in robots.txt?

g1smd

1:00 pm on Oct 21, 2008 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



If I read the question right then:

User-agent: Googlebot
Disallow: /index.php[b]*[/b]start

You will also need to re-list all other things that you want Google to not follow in the Googlebot section, as once there is a Googlebot section, they no longer look at the

User-agent: *
section.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month