
411
Establishing Web Links
10
This example links to a file named upndown.html stored in the navigation directory at
the current site root. Dreamweaver translates site-relative links to document-relative links
when the Preview in Browser feature is used.
You can set your preference for document- or site-root–relative links on a site-by-site
basis. Open your Site Definition dialog box by double-clicking the displayed site name
in the Files panel drop-down list. In the General category of the Site Definition dialog box, choose the
Links Relative To option you’d prefer.
Checking links
A Webmaster must often perform the tedious but necessary task of verifying the links on all the
Web pages in a site. Because of the Web’s fluid nature, links can work one day and break the next.
Dreamweaver includes powerful link-checking and link-updating capabilities.
Dreamweaver can generate reports for broken links, for external links (links to files outside your
site), and to orphaned files (files in your site with no links to them). You can check links for an open
document, for all documents in a site, or for selected documents in the Files panel.
To check links in the current document, choose File ➪ Check Page ➪ Check Links, or press
Shift+F8. To generate a link report for the entire site, open the Files panel (Window ➪ Files), and,
from the Site menu, choose Check Links Sitewide. To report on lin