Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Robots.txt and ROBOTS META-TAG...

Status
Not open for further replies.

Mr3Putt

Programmer
May 27, 2003
320
IN
I've got a new ASP-based site, which contains only about 30 actual ASP pages. About 5 pages in each of 6 sections... the meat of the site is based on a whole bunch of include files. Actually, they are NOT includes, they're EXECUTES...

My situation: I don't want robots indexing the INCLUDE files and presenting the code snippets to Googlers, so I set my Robots.txt with &quot;Disallow: /inc/&quot;... Then, I also added the META tag <NAME=&quot;ROBOTS&quot; CONTENTS=&quot;INDEX,FOLLOW&quot;>... on each page (again, via INCLUDE), which will (hopefully) direct the 'bots to visit pretty much all the content on the site, but always via the &quot;pages&quot;, never the &quot;includes&quot; on their own.

My question: Does that seem like it's gonna work?

My remark: Yes, I'll be checking the log over the next couple days, and yes, that'll tell me whether it's working or not... I'm just asking in case it definitely WON'T work and perhaps one of you fine folks can save me some time and consternation.
 
my 1 single use of robots.txt expereince :) is:
=============
User-agent:*
Dissalow: /
============
not a signle &quot;terminator&quot; has found the site yet ( it's been up for about 8 months and no DNS entry associated with the IP)
I guess it doesn't help much...but there it is. :)
All the best!

> need more info?
:: don't click HERE ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top