In addition to having Dreamweaver update links automatically whenever you move or rename a file, you can manually change all links (including mailto, ftp, nowhere, and script links) to point somewhere else. You can use this option at any time (for example, you might have the words "this month's movies" linked to/movies/july.html throughout your site, and on August 1 you must change those links to point to /movies/august.html), but it's particularly useful when you want to delete a file that others link to.
To change a file link sitewide:
1 | Select a file in the local pane of the Site window. |
2 | Choose Site > Change Link Sitewide. |
3 | In the dialog box that appears, type a site-root-relative path to a different file in the Into Links To box, or click the folder icon to browse to and select a file. |
4 | Click OK. |
Dreamweaver updates any documents that link to the selected file, making them point to the new file, using the path format that exists in the document (for example, if the old path was document relative, the new path is also document relative). | |
![]() |
After a link is changed sitewide, the selected file becomes an orphan (that is, no files on your local drive point to it). You can safely delete it without breaking any links at your local site.
Note: Remember that because all changes are occurring locally, you will need to manually delete the corresponding file on the remote site and put or check in any files in which links were changed before visitors to your site will be able to see the changes.
To change e-mail, ftp, nowhere, or script links sitewide:
1 | Choose Site > Change Link Sitewide. |
2 | In the dialog box that appears, enter the link you want to change in the Change All Links To box. |
3 | Enter the new link in the Into Links To box. |
4 | Click OK. |
![]() |
For example, to update all the e-mail links that point to your old address, you might type mailto:juser@mindspring.com
in the Change All Links To box, and type mailto:juser-interface@mindspring.com
in the Into Links To box.