Use Checklinks feature to troubleshoot links in Adobe Dreamweaver
Find and fix broken, external, and orphaned links in Dreamweaver.

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. From the Files panel, open the file.

  3. Select Site > Site Options > Check Links Sitewide.

  4. From the Show drop-down list, select one of the following:

    • Broken Links: Select to view the broken link report.
    • External Links: Select to view the external links in the file.
    • Orphaned Files: Select to view files that do not have incoming links.
  5. From the flyout menu, choose one of the following:

    • Check Links: Checks the link for the entire file.
    • Check Links for Entire Current Local Site: Checks the link that are part of a local site.
    • Check Links for Selected Files in Site: Checks links for the selected files.

    The Link Checker displays the results.

  6. To save the report, from the Link Checker flyout menu, select Save Results...

    The report is a temporary file. You will lose the report if you do not save it.

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.

    Opomba:

    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.