Robots.txt for application -


is possible application within website have own robots.txt file?

for example, have site running under http://www.example.com , has robots.txt file.

we have seperate site running application under domain: http://www.example.com/website-app

is possible keep robots.txt file seperate application or need put stuff application main root robots.txt?

the robots.txt file needs reside in /robots.txt, there no way tell crawler can found anywhere else (like favicons example). if can should add root robots.txt (or put application on subdomain instead can have own file).

if want control specific pages individually can use <meta>-tags instead, described @ robotstxt.org. since needs put on every page have crawler visit (but not index) @ least 1 page, won't follow other pages (unless tell to). small application in subdirectory might ok solution.


Comments

Popular posts from this blog

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -