Cleaning up a site
The Clean Up Site command is essential for maintaining your site and preparing it for publication (uploading to a Web server for viewing by the public). Cleaning up a site gets rid of unused links, colors, e-mail addresses, and font sets that can clutter the working version of your locally stored site. You can also use this command to copy any files or objects into the root folder that are referenced in your site, but actually located outside the root folder. When cleaning up a site, you can choose to do any combination of the following: - Refresh the view of items listed in the site window.
- Copy files that are used in your site into the root folder. Used means "referenced on some page in the root folder."
- Remove unused files. Unused means "not referenced on any page in the root folder."
- Add references, colors, and font sets that are used in your site but are not listed in the External, Colors, or Font Sets tabs.
- Remove unused references, colors, and font sets.
To specify options for cleaning up a site: - Do one of the following:
- To specify options for cleaning up the active site only, click the Site Settings button
on the toolbar or choose Site > Settings. Then click Clean Up Site in the left pane, and then select Site Specific Settings. - To specify options for cleaning up all sites, choose Edit > Preferences, and then expand Site in the left pane. Then click Clean Up Site.
- Select options as follows:
- To refresh the view of items listed in the site window, select Refresh View. (See Refreshing the site window.)
- To copy files that are used in your site into the root folder if they are stored outside the root folder, select Add Used Files. If you want to display a dialog box that lets you select the files to be copied, select the Show List of Files to Copy option.
- To add non-file items that are used in your site but are not listed in the External, Colors, or Font Sets tabs in the site window, select Add Used External References, Add Used Colors, or Add Used Font Sets. (See Adding items in use to the site window.)
- To move files not being used in your site to the Site Trash, select Remove Files Not Linked.
- To remove non-file items that are not being used in your site but are listed in the External, Colors, or Font Sets tabs in the site window, select Remove Unused External References, Remove Unused Colors, or Remove Unused Font Sets. (See Removing unused items from the site window.)
- Select Show Options Dialog if you want to display the Clean Up Site Options dialog box every time you choose the Site > Clean Up Site command. If you select this option, GoLive deselects the Don't Show Again option in the Clean Up Site Options dialog box.
- Click Factory Settings to use the default settings for all options.
- Click OK.
To clean up a site: - Choose Site > Clean Up Site.
- If the Clear Site Options dialog box appears, select options as necessary and then click OK.
- If the Copy Files dialog box appears, select the files you want to copy into the root folder and then click OK. Click OK in the Update Files dialog box.
To undo the cleanup of a site: Choose Edit > Undo Cleanup Site.
|