Microsoft KB Archive/896147

= How to re-create a deleted Site Directory in SharePoint Portal Server 2003 =

Article ID: 896147

Article Last Modified on 3/24/2005

-

APPLIES TO


 * Microsoft Office SharePoint Portal Server 2003

-





INTRODUCTION
This article describes how to re-create a deleted Site Directory in Microsoft Office SharePoint Portal Server 2003. The Site Directory lists the Microsoft Windows SharePoint Services Web sites that are associated with a portal site. By default, the name of the area that contains the Site Directory is the Sites area. When you click Sites on the navigation bar, you can use the Site Directory to perform the following actions:
 * Access all Web sites that are associated with a portal site.
 * Create new Web sites.
 * Search for Web sites.
 * Add a link to a Web site.

If you deleted the Site Directory, and you now want to use the features of the Site Directory, follow the steps in this article to re-create the Site Directory.



MORE INFORMATION
After you re-create the Site Directory, new Windows SharePoint Services Web sites that you create are automatically added to the Site Directory. To add existing Web sites to the Site Directory, use the Stsadm.exe command-line tool to generate a list of Web sites that were associated with the portal site before you re-created the Site Directory. Then, add the links for those Web sites to the Site Directory.

To re-create the Site Directory, follow these steps:  Create a new subarea named Sites. To do this, follow these steps:  Connect to the home page of the portal site. Under Actions on the home page, click Change Settings, and then click the Page tab. In the Subarea Templates section of the Change Settings: Home page, click Subareas can use any template, and then click OK. Under Actions on the home page, click Create Subarea. In the Title and Description section of the Create Area page, type SiteDirectory in the Title box. In the Template section of the Create Area page, click Site Directory area template, and then click OK.</li> Click SiteDirectory on the navigation bar.</li> Under Actions on the SiteDirectory page, click Change Settings, and then click the General tab.</li> In the Title and Description section of the Change Settings: Site Directory page, type Sites in the Title box.

Note The URL that is displayed in the URL name box is SiteDirectory. Do not modify the name of the URL that is displayed in the URL name box.</li> Click OK.

The Sites subarea that you created contains the Site Directory.</li></ol> </li> Configure subareas to use the Contents area template. The Contents area template is the default template that subareas use. This step is optional. To configure subareas to use the Contents area template, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Home on the navigation bar.</li> Under Actions on the home page, click Change Settings, and then click the Page tab.</li> In the Subarea Templates section, click All areas will use the following template, click Contents area Template, and then click OK.</li></ol> </li> Use the Stsadm.exe command-line tool to generate a list of existing Web sites that were associated with the portal site before you re-created the Site Directory. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type cmd in the Open box, and then click OK.</li> At the command prompt, change to the following folder:



</li> At the command prompt, type the following, and then press ENTER:

stsadm.exe -o enumsites -url http://

The Web sites that are associated with the portal site are listed in the Command Prompt window.</li></ol> </li> Add links for existing Web sites to the Site Directory. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Sites on the navigation bar.</li> Under Actions on the Sites page, click Add Link to Site.</li> <li>In the Site Link section of the Add Link to Site page, type the title of the Web site in the Title box. Then, type the URL of the Web site in the URL box.</li> <li>Specify any other information that you want to add, and then click OK. For example, if you want to include a description, type a description in the Description box.</li> <li>Repeat step 4b to 4d for each link that you want to add to the Site Directory.</li></ol> </li></ol>

<div class="references_section">