Forum Moderators: goodroi

Message Too Old, No Replies

Is this valid? wildcard in robots

Disallow: /*/edit.html

         

rudyten

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

10+ 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

johnxarce

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

10+ 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

goodroi

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

WebmasterWorld Administrator 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.