- Create a text file robots.txt with following format
User-Agent: *
Disallow: /_Layouts/
Disallow: /search/
Disallow: /Documents/Forms/ - Add text file robots.txt to the root of the site.
- On the top link bar of the Central Administration Web site, click Application Management.
- On the Application Management page, in the SharePoint Web Application Management section, click Define managed paths.
- On the Define Managed Paths page, select the correct web application.
- On the Select Web Application page, click the web application for which you want to define managed paths.
- Under Add a New Path, enter the following: /robots.txt
- In the Type list, select Explicit inclusion and click OK.
- Right-click on robots.txt and set "Everyone" Read permissions to the file
- Reset IIS
Saturday, May 1, 2010
How to add robots.txt file to a SharePoint site
Labels:
SharePoint 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment