johnnyk Posted July 12, 2006 Share Posted July 12, 2006 This isn't really an HTML question, but close enough:If I specify nothing in the robots.txt, what does the bot index? Say I have a directory /scripts/ which contains the action scripts of my forms (but my website does not link to any file in this directory via anchor), would I have to put that under disallow? How about a directory that contains php functions? Quote Link to comment https://forums.phpfreaks.com/topic/14343-robotstxt/ Share on other sites More sharing options...
Daniel0 Posted July 12, 2006 Share Posted July 12, 2006 If nothing is in robots.txt it's like having none (= it indexes everything). Everything that the search-engines may not see should be as disallow in robots.txt Quote Link to comment https://forums.phpfreaks.com/topic/14343-robotstxt/#findComment-56633 Share on other sites More sharing options...
johnnyk Posted July 12, 2006 Author Share Posted July 12, 2006 If they may not see it, why disallow it? Just in case? Quote Link to comment https://forums.phpfreaks.com/topic/14343-robotstxt/#findComment-56822 Share on other sites More sharing options...
nogray Posted July 12, 2006 Share Posted July 12, 2006 If you have no links to your directory /scripts/ anywhere and no one else is linking to that folder, search engines shouldn't find it.robots.txt was created to stop search engines from getting pages that have linked but access requires sign up or something else. Or the site owner doesn't want his page on search engines.Seconds, search engines only read the output of the file (so, php, asp, html, or whatever) will be the same for search engines. So, if your script files don't output anything, nothing will be spidred. Quote Link to comment https://forums.phpfreaks.com/topic/14343-robotstxt/#findComment-56847 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.