How to Make Global Changes to Links in Dreamweaver
If you want to globally change a link in Dreamweaver to point at a new URL or to some other page on your site, you can use the Change Link Sitewide option to enter the new URL and change every reference automatically. You can use this option to change any kind of link, including mailto, FTP, and script links.
For example, if an e-mail address that you use throughout your site changes, you can use this feature to fix it automatically — a real timesaver. You can use this feature also when you want a string of text to link to a different file. For example, you can change every instance of the words Enter This Month’s Contest to link to /contest/january.htm instead of /contest/december.htm throughout your website.
To change a collection of links with the Change Link Sitewide feature, follow these steps:
Make sure the site you want to work on is displayed in the Files panel.
See the preceding exercise for instructions on selecting a site.
Choose Site→Change Link Sitewide.
The Change Link Sitewide dialog box appears.
Enter the old address and then enter the new address, or click the Browse button to identify files where you want to change the links.
You can use this feature to change any link, including e-mail links, links from one page to another within a site, or links to a different website.
Dreamweaver updates any documents that include the specified links.
Any changes you make to links using Dreamweaver’s automated link features occur only on the local version of your site on your hard drive. Make sure you upload all affected files to your web server to ensure that all changes are included on your published site. To automatically reconcile changes on your local and remote sites, use Dreamweaver’s Synchronize Files feature.