The so-called dead link, in layman's terms: refers to the link that cannot be opened in the website, or the wrong link. If there are a large number of dead links in a website, it will directly affect the website's "image" in the eyes of search engines. This will ultimately affect the weight and ranking of the entire website. Especially when we are making a new website, we should pay more attention to checking and dealing with dead links. Otherwise, it will lay hidden dangers for the future development of the website. So how do we detect and deal with dead links?
1. How to detect dead links?
Does our website have dead links? How many dead links are there? It is quite difficult to detect through manual inspection. The author provides two methods, which can easily detect dead links on the website.
Method 1: Use Tiger sitemap generator
The main function of this tool is to generate a site map. At the same time, it can also automatically detect dead links in the website, which is very convenient to use. It is recommended that everyone download and use it. The specific usage method will not be elaborated here.
Method 2: Use Google Webmaster Tools
Google Webmaster Tools are very powerful. Use it to detect dead links in your website very accurately. (Google administrator tools registration address is: https://accounts.google.com/NewAccount ). After using Google Admin Tools for a period of time, Google will list all the links that cannot be crawled. Most of these links are dead links.
2. How to deal with dead links?
If there are dead links in the website, how do we deal with these dead links?
Method 1: The most thorough method is to find the web page where the dead link is located and manually delete the dead link in the web page. For a new website, it is relatively easy to find these pages with dead links manually. If it is an old site, manual search is quite difficult. Therefore, I would like to advise everyone that when a new website is launched, we should pay special attention to checking and removing dead links. Otherwise, it will cause endless trouble.
Method 2: If we cannot detect web pages with dead links, we can also use robots to block these dead links. The specific operation method is: edit a text document and name it: robots.txt. Write a dead link shielding command statement:
Disallow: dead link absolute URL
Each dead link address corresponds to a command statement. The meaning of the command is: prohibit search engines from accessing and crawling dead links. After editing the document, upload robots.txt to the root directory of the website to block dead links.
This article briefly introduces the ideas and methods of detecting and dealing with dead links. Due to space limitations, the specific dead link detection method is not elaborated here. If you have any questions about dead link detection and processing methods, please contact the author of this article. The author of this article is the director of the mobile phone text message encyclopedia website. Please keep the text message URL for reprinting. Thank you for your cooperation.
Editor in charge: Chen Long Author's personal space at www.litaotao.com