Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In our previous exercise, we used the Results panel to run some site wide reports to check for potential problems for our whole site. In this exercise, we are going to use the Link Checker. The Link Checker will let us look for broken links, external links that haven't been checked, and orphaned files. Now of course, orphaned files maybe you will create a file and you will think you are going to link to it later on and you just don't use it. It has reports on files that not only you meant to link to, but also maybe some development files that you don't need anymore and you can sort of clear out.
So I am going to check for broken links. I am going to do that for the entire current local site. So it will go ahead and run that report. This site is about halfway through development right now, so there is a lot of stuff going on here, and that's actually to be expected. You may, for example, create a link to a page that you are going to develop later on. Now, that's true of this legal.htm. So we have got a link down in our footer that's going to link to a legal .htm page that's going to contain our legal disclaimer. We haven't created that yet, so we sort of expect that. But there are other broken links that we might want to fix. For example, in the contact.htm page, calendars is misspelled, so that's not right. So we want to fix that. Well, what's really cool about the Link Checker dialog box is that it lets you fix the links right here, without having to go back out and remember what was wrong or print this out and run through this list. We can just fix it right here.
So I am going to select calendars.htm. I will click on the Browse Folder, and I will browse to the calendar.htm. Aha, I will click Choose. It will repair the link, and when I come back in and hit Return or Enter, it will remove it from the list. So as you go through these problems, it's going to be able to fix these problems, it will remove it from the list, and you can literally work your way down a list through everybody. Now, not only does it do links and I am just scroll down a little bit through here, it will also do Images. So we are seeing in the bio section, on Joe's page, we have a broken link to Joe's banner, and if we uploaded that page, that would actually show up as the dreaded red x, so we want to fix that.
I am going to highlight this and I will browse again, and I will go into the images directory and to banners, and I will find joe_banner, and there it is. So without the s, I will click Choose and once again hit Enter, and it will fix it. So we could continue to go right through the list. Some broken links you are going to want to fix. Some broken links. You might say well, I am going to fix them later on. And once again, if you are running these reports incrementally, and I would recommend that you do that maybe the end of each week of a development cycle or maybe twice a week, whatever works best for you or your team, you can save this.
So if I click Save Report, it's going to ask me where I want to put it and I am just going to say link_check. And you could date that if you want or you could give it-- maybe this is my first link check. So I am going to put it in my Starting Files folder, and I am going to click Save, and it's going to go ahead and save that file. Now, I am going to roll my Results panel up, just to get it out of the way, go to my Files panel, and I am going to double click the link_check_01. When I do that, I can see that we have a text file and the text file is going to have a list of all of my potential problems.
What's really nice about this is notice that it's also looking for external links and orphaned files, so it doesn't do just the one test that I ran. It went ahead and ran all the tests for me. So I could save this, print it out, give it to some team members, and have everybody go out and fix some of these issues. So that worked wonderfully. So we are going to go ahead and close out of that. Using Dreamweaver's reporting features throughout your development cycle can save you a lot of time and effort by making the errors easy to detect and fix, and in our next exercise we will examine Dreamweaver's publishing tools.
Get unlimited access to all courses for just $25/month.Become a member
58 Video lessons · 59676 Viewers
61 Video lessons · 92470 Viewers
82 Video lessons · 104137 Viewers
56 Video lessons · 106976 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.