Welcome to WebmasterWorld Guest from 54.161.110.186

Forum Moderators: goodroi

Message Too Old, No Replies

Is this valid? wildcard in robots

Disallow: /*/edit.html

     
1:56 pm on Apr 18, 2008 (gmt 0)

5+ Year Member



User-agent: *
Disallow: /*/edit.html
Disallow: /*/report.html

-------------------------
I have many pages with this format. where the number is an ID
www.example.com/999/report.html

10:14 am on Apr 20, 2008 (gmt 0)

5+ Year Member



this is my first i saw robots.txt like this
User-agent: *
Disallow: /*/edit.html
Disallow: /*/report.html

may you can try to use this in normal format

1:47 pm on Apr 20, 2008 (gmt 0)

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



what you are using is called wildcards or pattern matching. and basically it is telling the search engines not to index and file that has that sequence of character in it. the big search engines support this.

it is not technically valid. the robots.txt protocol does not support wildcards (pattern matching). this means that the other bots will not probably be able to support this.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month