Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > robots.txt

Reply
Thread Tools

robots.txt

 
 
windandwaves
Guest
Posts: n/a
 
      01-16-2006
Hi Folk

I am trying to reduce the number of pages that are indexed on my site.

If I were to put

User-agent: *
Disallow: /*/*.php
Disallow: /*/*.html

in the robots.txt file then would that mean that any files that are not in
the root www directory will be ignored by robots?

Thanks in advance (AKA TIA)

- Nicolaas


 
Reply With Quote
 
 
 
 
Toby Inkster
Guest
Posts: n/a
 
      01-17-2006
windandwaves wrote:

> If I were to put
>
> User-agent: *
> Disallow: /*/*.php
> Disallow: /*/*.html
>
> in the robots.txt file then would that mean that any files that are not in
> the root www directory will be ignored by robots?


No. Most robots do not support globbing, except for the special case
of "User-agent: *"

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
 
 
 
windandwaves
Guest
Posts: n/a
 
      01-17-2006
Toby Inkster wrote:
....

> No. Most robots do not support globbing, except for the special case
> of "User-agent: *"


Would it work for Google? They do support globbing, but I am not sure if
the syntax is correct.

Cheers

Nicolaas


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments