Link test tips for Web sites

Source: Internet
Author: User
Tags interface

Pages on a Web site are linked to each other, and you can link to other pages by clicking the text or graphic that is called a hyperlink. The link across the site is like a huge spider web, a little inattentive will be omitted. Although the site's link test does not seem to have a more advanced technical content, but at the same time, especially for a larger site, involving hundreds or even thousands of pages, link testing requires a large amount of testing, therefore, improve the efficiency of testing is a site link testing an important aspect.

In the link test, we need to focus on the following principles: The correctness of the link, that is, after clicking an address, should be able to reach the correct page, to test the existence of linked pages, to ensure that there is no orphaned pages in the system, that is, the pages in the site should be linked Rather than being independent of the entire system.

Link tests can be done manually or automatically. The link test must be tested after all page development for the Web site has been completed. In order to improve the efficiency of the link test, here mainly introduces several links test software, I hope to webmaster in the site link test, help, improve the link test efficiency.

(1) HTML Link Validator. HTML Link Validator is a Web page link checking software that can check thousands of Web page files in a very short period of time. Its link tests are divided into local and remote tests. When you do a local page link check, just double-click the HTML file to check all the links in the file, and double-click the directory to test the HTML files in that directory and all of its subdirectories. In the query results, you can identify the Web page file that contains the error link, and you can easily display the error link information. The test results are displayed in the window in the lower-right corner of the software window, as shown in the figure.

  

In addition to testing the local page, HTML Link Validator can also test the remote Web site, we only need to select the test mode for "Validate HTML files on Web server" and then in "Starting address:" To enter the URL of the test Site page, click the "Validate" button to test the specified page. When the test is complete, click the Little red dot on the left side of HTML Files found to show where the error occurs, as shown in the figure. You can also see details by clicking any of the wrong data.

(2) Xenu Link Sleuth. After downloading and installing the software, click the File->check URL to open the test interface. In this interface, you can also open a local Web page file for checking, or you can enter a remote address. As shown in the figure. Click OK button, you can list the site's live links and dead links, and pointed out the detailed steering links, such as figure. In addition, Xenu Link sleuth also has a lot of attentive service. For example, the software also supports multithreading, you can store the results of the inspection as a text file or a Web page file, you can detect all dead links to the specified site including picture links, and so on, and can make HTML site map, generate link reports and so on.

  

Of course, there are a lot of similar testing tools, such as Web link validat, install software after the function is similar, through the way to enter the site to test the site link is normal, you can also directly test the HTML file. Finally, we need to note that, because the site's link test technology content is not high, many webmaster friends are often unwilling to spend too much energy to test. However, the correctness of the link to the site has an important impact, if there are errors on the link, no matter how beautiful the page, often visit users will produce a bad impression, so that a good direct result of the user experience greatly reduced. All, we must first pay attention to link testing, especially to use the link automated testing tools to improve the site's link test efficiency, to give users a friendly website link experience.

This article by the home of Psychology http://www.psybook.com original, reprint please indicate the source! Thank you!



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.