Here are the steps:
- Open Central Admin and navigate to Application Management > Define Managed Paths
- Select your specific web application from the drop down
- Add a new path for /robots.txt
- Switch the type to Explicit inclusion
- Click OK
- Run IISREST
This is all you need to do, but if you still get a permissions problem, right-click on robots.txt and give "Everyone" Read permissions to the file.



2 comments:
I am having difficulties accomplishing this task. Did you use SharePoint Designer to place the file or just drop it on the file-system?
I have checked this and it appears to be working fine even without adding the path to Managed path.
It is strange that it requires IISReset to read any static file in the root. Thankfully, the updates are getting picked!!
Regards,
Rahul
Post a Comment