Note:

The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the options described in this article in Dreamweaver CC and later. For more information, see this article.

Use the Check Links feature to search for broken links and orphaned files (files that still exist in the site but that aren’t linked to by any other files in the site). You can search an open file, a portion of a local site, or an entire local site.

Dreamweaver verifies links only to documents within the site; Dreamweaver compiles a list of external links in the selected document or documents but does not verify them.

You can also identify and delete files that are no longer used by other files in your site.

  1. Save the file to a location within your local Dreamweaver site.
  2. Select File > Check Page > Links.

    The Broken Links report appears in the Link Checker panel (in the Results panel group).

  3. In the Link Checker panel, select External Links from the Show pop‑up menu to view another report.

    The External Links report appears in the Link Checker panel (in the Results panel group).

    Note:

    You can check for orphaned files when you check links across an entire site.

  4. To save the report, click the Save Report button in the Link Checker panel. The report is a temporary file; it will be lost if you don’t save it.
  1. In the Files panel, select a site from the Current Sites pop‑up menu.
  2. In Local view, select the files or folders to check.
  3. Initiate the check by doing one of the following:
    • Right-click (Windows) or Control‑click (Macintosh) one of the selected files, and then select Check Links > Selected Files/Folders from the context menu.

    • Select File > Check Page > Links.

      The Broken Links report appears in the Link Checker panel (in the Results panel group).

  4. In the Link Checker panel, select External Links from the Show pop‑up menu to view another report.

    The External Links report appears in the Link Checker panel (in the Results panel group).

    Note:

    You can check for orphaned files when you check links across an entire site.

  5. To save a report, click the Save Report button in the Link Checker panel.
  1. In the Files panel, select a site from the Current Sites pop‑up menu.
  2. Select Site > Check Links Sitewide.

    The Broken Links report appears in the Link Checker panel (in the Results panel group).

  3. In the Link Checker panel, select External Links or Orphaned Files from the Show pop‑up menu to view another report.

    A list of files that fit the report type you selected appears in the Link Checker panel.

    Note:

    If you select Orphaned Files as your report type, you can delete orphaned files from the Link Checker panel directly by selecting a file from the list and pressing the Delete key.

  4. To save a report, click the Save Report button in the Link Checker panel.

After you run a links reports, you can fix broken links and image references directly in the Link Checker panel, or you can open files from the list and fix links in the Property inspector.

  1. Run a link check report.
  2. In the Broken Links column (not the Files column) of the Link Checker panel (in the Results panel group), select the broken link.

    A folder icon appears next to the broken link.

  3. Click the folder icon next  to the broken link and browse to the correct file, or type the correct path and filename.
  4. Press Tab or Enter (Windows) or Return (Macintosh).

    If there are other broken references to this same file, you are prompted to fix the references in the other files as well. Click Yes to have Dreamweaver update all the documents on the list that reference this file. Click No to have Dreamweaver update the current reference only.

    Note:

    If Enable File Check In And Check Out is enabled for the site, Dreamweaver attempts to check out files that require changes. If it cannot check out a file, Dreamweaver displays a warning dialog box and leaves broken references unchanged.

  1. Run a link check report.
  2. In the Link Checker panel (in the Results panel group), double-click an entry in the File column.

    Dreamweaver opens the document, selects the broken image or link, and highlights the path and filename in the Property inspector. (If the Property inspector is not visible, select Window > Properties to open it.)

  3. To set a new path and filename in the Property inspector, click the folder icon  to browse to the correct file, or type over the highlighted text.

    If you are updating an image reference and the new image appears at the incorrect size, click the W and H labels in the Property inspector or click the Refresh button to reset the height and width values.

  4. Save the file.

    As links are fixed, their entries disappear from the Link Checker list. If an entry still appears in the list after you enter a new path or filename in the Link Checker (or after you save changes in the Property inspector), Dreamweaver cannot find the new file and still considers the link broken.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy