Forum Moderators: open

Message Too Old, No Replies

How to search a single file

         

manomahendran

8:07 am on Jan 17, 2003 (gmt 0)

10+ Year Member



Hi,
I am trying to index just a single file from a url.
[mycompany.com...]
how can do this?
Thanks in Advance.
m

ukgimp

9:05 am on Jan 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello

Can you expand on this a little. Do you mean that you want to get your page into the google index or create some sort of index or something else?

Cheers

manomahendran

8:24 pm on Jan 17, 2003 (gmt 0)

10+ Year Member



Here is what we are looking to do :)

Let google crawl this one url (index.htm) only from our domain
[mydomain.com...]

I tried adding this to the start crawling from but Google does not take the URL gets me "it does not match any of the 'follow and crawl' patterns "
thanks,
M

jomaxx

10:09 pm on Jan 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Read the Google FAQ section about robots.txt. I think you can do something like this:

disallow /
allow /index.html

That's probably not the exact syntax you need, though, and doing this may not work for all spiders.

Alternatively you can list every directory and every root directory page NOT to be spidered individually. Or just use the NOARCHIVE meta tag in pages not to be indexed. In this case they will get crawled, though.