Welcome to WebmasterWorld Guest from 54.147.26.192

Forum Moderators: goodroi

Message Too Old, No Replies

robots.txt

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

New User

5+ Year Member

joined:Sept 19, 2008
posts: 5
votes: 0


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?

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

Senior Member

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

joined:July 3, 2002
posts:18903
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members