homepage Welcome to WebmasterWorld Guest from 23.22.29.137
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

    
robots.txt question
motorcycle




msg:1528851
 5:25 pm on Jul 15, 2004 (gmt 0)

I hope this isn't a dumb question... It's really a curiousity thing so don't ask why I'm asking, I'm just trying to learn. :)

I have a php website. My "header" is in a separate file so I use an includes statement on all my regular pages. If I put header.php in the robots.txt file, will that either 1 - cause an error to the robots or 2 - disallow the header on all my regular pages?

Thanks so much for any help!

 

jdMorgan




msg:1528852
 4:37 am on Jul 17, 2004 (gmt 0)

motorcycle,

Welcome to WebmasterWorld [webmasterworld.com]!

The inclusion of that header is done at a different level; for practical purposes, the header is part of the page, and is not requested separately (by a browser or by a robot). For that reason, disallowing it in robots.txt won't have any effect.

Jim

motorcycle




msg:1528853
 5:30 pm on Jul 17, 2004 (gmt 0)

Thanks for the response Jim! Exactly what I was looking for. This forum is awesome for newbies like me. Thanks again!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved