Finding broken links
Use the Find Broken Links command to search a local site or folder for local hyperlinksA local hyperlink is a link that points to a document or resource on the same site as the document containing the link. that point to nonexistent documents or resources. The command will find both broken links and broken src references (such as in image tags). If any broken links are found, you can use the Global Find & Replace command to replace them with valid links.
The Find Broken Links command does not check the validity of links that use full Internet URLs, such as “http://www.example.com/index.html”. It only checks links that contain a path and a file name, such as “index.html” or “\images\example.gif”. As a result, the command will not find any external links (links that contain a server name) that may be broken. To find broken external links, use the Check External Links command.
To find broken links in the current local site
- Do one of the following:
- On the Tools menu in the main window, click Find Broken Links in the Search section.
- On the Tools menu in the Site Manager window, click Find Broken Links.
- Click Site, and then click Find.
Any documents in the current local site that contain broken local links will be listed in the result box at the bottom of the Find Broken Links window. You can open a document in the list by double-clicking its file name.
To find broken links in a specific folder
- Do one of the following:
- On the Tools menu in the main window, click Find Broken Links in the Search section.
- On the Tools menu in the Site Manager window, click Find Broken Links.
- Click Folder, and then enter the path of the desired folder in the box. You can click Browse to locate and select a folder, or click the triangle to choose from a list of recently searched folders.
- If you want to include subfolders of the specified folder in the search, click Include subfolders.
- Click Find.
Any documents in the specified folder that contain broken local links will be listed in the result box at the bottom of the Find Broken Links window. You can open document in the list by double-clicking its file name.