Exit tutorial


HTML Tutorial
Dreamweaver Tutorials
Site Maintenance

Site Maintenance
Dreamweaver includes some useful features for easy maintenance of your site. This tutorial will cover three of these features: Check Links Sitewide, Change Links Sitewide and Replace.

Check Links Sitewide
Check Links Sitewide allows you to check for broken links in just a few easy steps.

1. Make sure you have the Site Map open. Choose Site Map from the Window menu if you are not sure.

2. Now, in the Site Map, select Check Links Sitewide from the Site menu.

Check Links Sitewide: Ctrl+F8

3. Dreamweaver starts going through all the links in the entire site. When it is finished, it summarizes the results.

Link Checker

4. After Show, the pull-down menu gives the three options Broken Links, External Links and Orphaned Files. Selecting Broken Links will list all broken links to files that are not found in your defined site. Selecting External Links shows links that go off of your site. These are not checked to see if they are broken or not. Selecting Orphaned Files shows files that are in your site but are not linked to in any way. Click the Close button when you are finished.

Change Link Sitewide
This features allows you to enter a recurring link in the site and have Dreamweaver replace it with a new link.

1. In Site Map, select Change Link Sitewide from the Site menu.

Change Link Sitewide

The Change Link Sitewide (Site - <your site name>) dialog box appears.

2. After Change All Links To, enter the link that you would like changed or browse to it by clicking the folder icon on the right. After Into Links To, enter the link that you would like to replace the old link or browse to it by clicking the folder icon on the right.

Change Link Sitewide box

Click the OK button to change the link.

Replace
The Replace feature allows you to find and replace anything on your site. It is not limited only to links like Change Link Sitewide is.

1. In Site Map, select Replace from the Edit menu.

Replace... Ctrl+H

The Replace dialog box appears.

2. First, you need to define where Dreamweaver will search in. After Find In, select Selected Files if you have already highlighted files to search through. Select Current Site to search the entire current site. Select Folder and then specify the folder to search only in that folder.

3. Next, in the pull-down menu after Find What, select what type you will be searching for. Select Text to search for text in the actual document. Select HTML Source to search through the document HTML. Select Text (Advanced) to search for advanced text that has been formatted with various tags. Select Tag to search for tags. It is suggested that you search by HTML Source since this option encompasses all of the others.

4. In the box after the Find What pull-down menu, enter the text that you'd like to replace. After Replace With, enter the text to replace that text with.

5. There are 3 check boxes below the Replace With box. Select Match Case to make Dreamweaver's search case sensitive. Select Ignore Whitespace Differences to make Dreamweaver ignore the space between characters. Select Use Regular Expressions to use advanced text search operators (search for "regular expressions" in help to learn more about this).

6. You have several different options to replace the text. Select Find Next to have Dreamweaver search and stop when it finds a match. Select Find All to have Dreamweaver search and list all occurrences of a match. Select Replace whenever a match is found to replace that match. Select Replace All to have Dreamweaver search for all occurrences of a match and automatically replace them.

[Back to the Stage 4 Index]