Use Dreamweaver to find and fix broken internal links on your website
Find out why Dreamweaver is the perfect tool for locating and repairing broken internal links on your local websites.
A The ongoing maintenance puzzle for web developers and website content owners is to ensure that all links, images, embedded URLs, backgrounds, and clickable images on their sites are working as intended. You can automate this task by using specially created tools to test and verify all links on your local sites, intranet, Internet, or other URLs, including external links.
First, you need to set up a site using Dreamweaver’s site setup. To create a new site from the Dreamweaver top toolbar, go to Site | New site (Figure A).
Then you can name the site and navigate to the local site directory by clicking on the folder icon (Number B).
Once you are satisfied with the name of your site and your local directory, click on the Save button; your new site will appear in the local files directory (Figure C).
With Dreamweaver, we have three options to check: the current document (web page), the whole site, or the selected files in the site. To check only the document for the current web page, on the Dreamweaver toolbar, go to File | Check page | Links or press [Shift]F8 (Number D).
For demonstration purposes, I have created two broken links that the link checker will be able to find. The results of the link check are displayed in the Link Checker tab group (Encrypted).
To repair broken links, click each link displayed under the Broken Links column and enter the correct URL. If no known URL exists, the web page has probably been removed from the site and you can remove the associated anchor reference. After entering the correct link, Dreamweaver will ask you if you also want to update the link in the file (Figure F). Click the Yes button to correct broken references in the file.
The links are updated, as the example of
To find broken links throughout the current local site, click the drop-down arrow on the left side of the link checker tab group, then select and click the drop-down option to Check Links For Entire from the current local site (Number H).
In this example, for the entire local site, it returns 139 broken links with 199 orphan pages (that is, web pages without links to them) (Number I).
To view orphaned files, select the option from the Show drop-down menu for orphaned files (Figure J).
In this case, most of the orphaned files are in a beta directory, so we’ll probably ignore those files. We are looking for all current site files that are also in a production environment.