The so-called dead link, popular speaking: refers to the site can not open the link, or wrong link. If the site has a large number of dead links, will directly affect the site in the search engine's mind of the "image." This will eventually affect the entire site's weight and ranking. Especially when we are making a new website, we should pay more attention to checking and dealing with dead links. Otherwise, it will be for the future development of the site buried hidden dangers. So how do we detect and process dead links?
One, how to detect dead link?
Is there a dead link to our site? How many dead links are there? It is quite difficult to achieve this by means of manual inspection. The author provides two kinds of methods, these methods can be very convenient to detect the site dead link.
Method One: Using the tiger sitemap Builder
The main function of this tool is to generate site maps. At the same time, it can automatically detect the dead link in the site, use very convenient, recommended that you download the use, the specific use of methods no longer unfold.
Method Two: Use Google Webmaster tools
Google Webmaster tools are powerful. Use it to detect dead links in a Web site very precisely. (Google Administrator tool registered address: Https://accounts.google.com/NewAccount). After using the Google Administrator tool for a while, Google lists the links that cannot be crawled. Most of these links are dead links.
Second, how to deal with dead links?
If there are dead links in the site, how do we deal with these dead links?
Method One: The most thorough way is to find the Web page where the dead link is located, and manually delete the dead link in the page. For a new station, it is relatively easy to find these pages with dead links manually. If it is the old station, manual search is quite difficult. Therefore, here to advise you, in the new station on the beginning of the line, we should pay special attention to the dead link inspection and clean-up work. Otherwise, it will cause a serious problem.
Method Two: If we can't detect the Web page with the dead link, we can also use the robots to mask these dead links. The specific method is: Edit a text document, named: Robots.txt. To write a dead link mask command statement:
Disallow: Dead link absolute URL
Each dead link address corresponds to a single command statement. The meaning of the command is: Prohibit search engine access to crawl dead link. After the document is edited, uploading the robots.txt to the root of the Web site will enable the blocking of the dead link.
This paper briefly introduces the idea and method of detecting and dealing with dead link. Limited to space, the specific dead link detection method, here does not expand in detail. If you have any questions about the dead link detection and handling method, please contact the author of this article. The author of this article for mobile phone text Encyclopedia website long, reprint please keep the message multiple URLs. Thank you for your cooperation.