In addition to having Dreamweaver update links automatically whenever you move or rename a file, you can manually change all links (including e-mail, FTP, null, and script links) to point somewhere else.
You can use this option at any time (for example, you might have the words "this months 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 its particularly useful when you want to delete a file that other files link to.
NOTE |
|
If you are changing an e-mail, FTP, null, or script link, you do not need to select a file. |
The Change Link Sitewide dialog box appears.
For more information, see Setting the Change Link Sitewide options.
Dreamweaver updates any documents that link to the selected file, making them point to the new file, using the path format already used in the document (for example, if the old path was document-relative, the new path is also document-relative). The type of the link, whether document or root-relative, doesnt matter. Dreamweaver automatically updates the link.
After you change a link sitewide, the selected file becomes an orphan (that is, no files on your local disk point to it). You can safely delete it without breaking any links in your local Dreamweaver site.
NOTE |
|
Because these changes occur locally, you must manually delete the corresponding orphan file in the remote folder and put or check in any files in which links were changed; otherwise, visitors to your site wont be able to see the changes. |