Adding an existing page to a Web site
You can add a Web page that already exists to a Web site by adding it to the navigation of the site in Web Site Designer.
Show Me
Prerequisite:
- Create a Web project.
- Create Web pages.
Note: If you enable Web Site Designer support for an existing Web project, you can add existing pages to the new Web Site Navigation to populate the project's Navigation view.
To add an existing page to a Web site:
- In the Project Explorer view of the Web perspective, expand your Web site and double-click Web Site Navigation.
- In the Navigation view of Web Site Designer, decide where the Web page you are adding fits in the Web site's organization.
- Right-click where you want to attach the new page, either on a page icon or anywhere in the Navigation pane and select Add Existing Pages. The Add Existing Pages wizard opens.
- If you did not select a page icon before invoking the pop-up menu, select a top page before you can add pages.
- In the Top page field of the Select a Top Page page of the wizard, select the top page for the page that you are adding.
- If the selected page contains links to other Web pages, use the Add linked pages option to add those pages as well. Web Site Designer will follow the links that already exist to add pages up to the link depth specified. For example, if you set a depth limit of 3, all pages within 3 links of the top page will be included. Setting the link depth at No limit ensures that all of the linked pages are added.
A thumbnail of the current selection is displayed, as well as the page's title, navigation label, file name, and location.
- Click Next. The Add Existing pages to Web Site page of the wizard displays.
- If you selected a page icon before invoking the pop-up menu, the Add Existing Pages wizard opens and the Add Existing Pages to Web Site page displays.
- Select as many other existing Web pages as you want to add by using the Add Other Pages button to select files. If the selected Web page contains links to other Web pages, use the Add Linked Pages option to add those pages as well.
- Click Finish to add the existing page to the Web site.
Web Site Designer automatically adds the page icons to the site structure in the Navigation view according to the hierarchy defined by the existing pages' links. You can now manipulate the structure and relationships of the pages.
Related tasks
Creating a Web site structure
Adding a new page to a Web site
Adding an external page to a Web site
Adding a subsite to a Web site
Associating a Web page with a page icon
Adding an existing Faces JSP page to a Web site
Adding frame pages to a Web site
Showing and excluding pages from the navigation or site map
Adding a project to a Web site
Grouping Web pages in a Web site
Creating or importing Web pages and Web resources
Creating a Web page in Web Site Designer
Importing a Web site into Web Site Designer
Enabling Web Site Designer support for a Web project