Checking for Orphaned Files


In the process of creating a Website, you build new files as well as revise and replace old ones. Throughout the development phase, you might develop multiple versions of certain files or end up disregarding other files entirely. An orphaned file is one that is included with the site files, but is not used on your site. These files might be HTML files that have no links pointing to them, or images that haven't been used on any pages.

1.

In the Files panel, select the local root folder for your project Website, Site Yoga Sangha.

To run an Orphaned files report, you must first run a link check on the entire site.

2.

Click the Link Checker tab of the Results dialog box and verify that Broken Links is selected in the Show drop-down menu. Click the Check Links icon (the green arrow) and choose Check Links For Entire Current Local Site from the Check Links menu.

Macintosh users need to click the now-highlighted Check Links menu/button to start the link checking process. The process will start on Windows immediately after the Check Links For Entire Site option is selected.

The Results panel status bar indicates that Dreamweaver is checking the site. When the process is done, a large list appears in the dialog box. The Results panel status bar displays a summary of the report.

3.

From the Show menu, choose Orphaned Files.

A list of orphaned files appears in the dialog box.

4.

Close (Macintosh) or Collapse (Windows) the Results panel.

Deleting orphaned files can reduce the amount of disk space used by your site. It is particularly helpful to perform regular maintenance on large sites. Identifying and removing all orphaned files can have a great impact on the size of your site.

When deleting orphaned files, be sure to thoroughly review the list of files. There might be necessary files that are needed on your site that are not linked to or used in any other file.

For this exercise, do not delete any of the orphaned files listed. The files in the Yoga Sangha project site are needed for completion of this book's lessons. There are a number of broken links and orphaned files in the list of results because this project site is geared towards providing files to accompany the lessons and is not an actual site.




Macromedia Dreamweaver 8(c) Training from the Source
Macromedia Dreamweaver 8: Training from the Source
ISBN: 0321336267
EAN: 2147483647
Year: 2006
Pages: 326

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net