Welcome: Guest | Sign-In
NOTE: This site is no longer maintained. Upgrade to ipMonitor v9 here.

NOTE: This site is no longer maintained. Upgrade to ipMonitor v9 here.
Watch a 4-minute movie about ipMonitor v9!
Knowledge Center > Tutorials
How To Test Your Website's Main Page For Broken Links

Broken links, especially on a website's main page, can result in frustrated visitors, lost sales, and lowered search engine rankings. Manually validating hyperlinks is a time-consuming, tedious process. Administration staff must allocate time to click through every link and ensure that the referenced web page or resource is still available, or an external utility or service must be employed on a regular basis.

With ipMonitor's LINK - QA Monitor, the task is automated. You'll be alerted as soon as a broken link is found, allowing you to quickly fix this inconvenient but easy-to-solve problem.

Goals

After completing this tutorial, you will know:

Before You Begin

If your web server requires authentication, you will need to create a new Credential for use with the LINK - QA Monitor. You can do this ahead of time by using the Credential Manager, or you can use the Credential Wizard during the Monitor Configuration stage. For more information, refer to the Credentials section of the ipMonitor's Context-Sensitive Help system. The Context-Sensitive Help can be accessed by clicking the Help link located in the top right corner of ipMonitor's Administration web interface.

Available Resources
Click the PDF icon to open a printable PDF version of this tutorial. It includes all the information found here, including images from the ipMonitor software, diagrams, and links to additional resources.

The LINK - QA Monitor tests any links (HREFs) it locates within a web page you specify. The following diagram illustrates the LINK - QA Monitor's testing process:

The above diagram shows that the LINK - QA Monitor simulates an end-user session by:

  1. Connecting to the web server and waiting for a response within the required number of seconds.
  2. Receiving the requested web page or resource.
  3. Analyzing the content of the web page to locate any internal or external links.
  4. Accessing each link on the page sequentially, and verifying that the referenced link or resource is available.

Notes:

The LINK - QA Monitor will not test the same link more than once per session. For example, if the same URL is referenced at the top and bottom of the page, the LINK - QA Monitor will test the link the first time it encounters it, and skip it when it reaches the same link a second time.

The LINK - QA Monitor will ignore any links referenced with a script (i.e. JavaScript or VBScript).

When the LINK - QA Monitor encounters a link that cannot be reached, it will terminate the connection without continuing to check the remaining links and the test will fail.

Configuring the LINK - QA Monitor

To create a new Monitor, click the Monitors menu option and then click Add a Monitor. Choose the Link - QA Monitor from the Multi-Transaction / QA category.

Identification

  1. Enter a unique, descriptive name for the Monitor in the Name field.
  2. Choose whether to automatically add the new Monitor to a particular Group.
  3. Check the Enabled checkbox.
  4. Choose whether you want the Monitor to Store Monitor Statistics for Recent Activity and Historical Reports.
Test Parameters

  1. Specify the location of the HTTP server you want to monitor. Both IP Address and Domain Name are valid entries.
  2. Specify the Port Number that the target website responds on. By default, the standard Port used by HTTP servers (Port 80) is already entered.
  3. Enter the relative path URL to the specific web page to be downloaded and analyzed.
  4. If your main website requires login authentication, you must create and apply a Credential. Click the Select... button to launch the Credential Wizard.
  5. Enable the Force communication through an HTTP Proxy Server checkbox to force ipMonitor to monitor HTTP resources through your organization's HTTP Proxy Server.

    Before you select this option, first ensure ipMonitor's global Client HTTP Settings have been correctly set up to permit communications with your proxy server.

    Note: Refer to the Server Settings section for more information.

TIP

The 'URL' field must begin with a forward slash (/). Examples of valid relative paths are:
  • /
  • /index.asp
  • /partners/partner_page.html
  • /pub/db/search?realtor=century&agents=all


Excluding Certain Links From Being Tested

The LINK - QA Monitor can be instructed to follow all links found in a web page, or only certain, specific links. These settings are configured in the Analysis of Test Results section.

  1. Select a Download Method. After the LINK - QA Monitor has retrieved the target web page and located links to analyze, it will begin requesting the linked pages or resources in sequence using the method you have selected.

TIP

We recommend using the default method, Use HEAD and upgrade to GET if necessary. This method will start by using the bandwidth-light HEAD request and upgrade to the more bandwidth-intensive GET method if a connection fails.

  1. The Server Inclusions parameter specifies whether ipMonitor will only connect to the web-servers you preauthorize, or to any web server linked from the retrieved web page.
  2. If you've selected to Open sockets to pre-authorized web servers only, enter any number of domain names or host names that ipMonitor is permitted to connect to when verifying links.
  3. The ability to skip specific links makes it possible to further refine analysis of test results. Several comparison types are available, including Regular Expression and string matches.

TIP

ipMonitor includes a RegEx Wizard to help you create Regular Expressions, which can be accessed by clicking the Tools menu option, then selecting RegEx Wizard. Using the RegEx Wizard while creating a Monitor will not terminate your Monitor configuration screen.



Ensuring that the LINK - QA Monitor Will Only Authenticate with Trusted Servers

If you have selected the option to Open sockets to any web server within the Server Inclusions field, the LINK - QA Monitor will download and analyze any external links it comes across.

If the website hosting the web page to be analyzed requires Credentials to log in, the Credentials and authentication method specified for the main site will also be used to attempt to connect to external sites.

For security reasons, if your website is password-protected, we recommend that you do not monitor links to external websites. Monitoring only internal links will prevent your account and password information from being transmitted to each link referenced on the webpage.

To monitor trusted external sites, specify the Domain / Host Name and TCP Port in the Analysis of Test Results section. Ensure that the Open sockets to pre-authorized servers only option is selected. The following three types of URL matches are supported, allowing you to specify either very exact matches, or broader matches:

Suffix match: Using suffixes allows you to specify classes of websites. For example, a suffix of ipmonitor.com permits the Monitor to connect to www.ipmonitor.com, support.ipmonitor.com, schemas.ipmonitor.com, etc.
Exact match: Specifying an exact match restricts the LINK - QA Monitor to a specific domain. Examples of valid Domain Names are: www.xyzcompany.com, support.xyzcompany.com, xyzcompany.com.
RegEx match: Using a Regular Expression, domain names can be analyzed to match any specific criteria you require.
Additional Resources

For more information regarding the LINK - QA Monitor, refer to the Monitors section of the ipMonitor's Context-Sensitive Help system, then select Monitor Types, followed by LINK - QA. The Context-Sensitive Help can be accessed by clicking the Help link located in the top right corner of ipMonitor's Administration web interface.

For information on other features and concepts related to those discussed in this article, refer to the following ipMonitor resources:

< Back

Last Updated: April 4, 2006 | What did you think of this topic?

Privacy Statement | Terms of Use | EULA | Contact | Site Map

Prices displayed do not reflect international pricing unless otherwise stated. Please see our international price list for current pricing specific to your location. All prices are subject to change without notice.

© 2003-2008 SolarWinds.net, Inc. All Rights Reserved. SolarWinds®, the SolarWinds logo, ipMonitor®, LANsurveyor®, and Orion® are among the trademarks or registered trademarks of the company in the United States and/or other countries. All other trademarks are property of their respective owners.