如何檢查殘破的鏈接使用Xenu ?

張貼在2008年7月4日在5:41上午

您是否經常有問題以殘破的鏈接?  是您疲乏對看見  404 或「文件或目錄沒被發現的」錯誤頁?  您是否是網開發商或由一個網站激怒與這個殘破的鏈接問題的用戶,這自由 工具 是為您。

諷刺地, Wikipedia頁為Xenu的鏈接大獵犬 在它的腳註部分有一個殘破的鏈接:

http://www.curriculum.edu.au/SCIS/connections/cnetw02/43xenu.htm

圖像

由a寫 程序員 那是如厭煩作為您與殘破的鏈接、Xenu的鏈接大獵犬爬行整個網站和檢查對於殘破的鏈接然後創造被發現的所有殘破的鏈接一個總結的報告。  名字Xenu從做壞事的Scientology神-他是像Scientology世界的Satan - Tilman,程序員獲得,是一位熱中崇拜和Scientology評論家,因此我認為他使用「Xenu」嘲笑狂熱崇拜追隨者。

* Orphan files
* Statistics for managers

The most important part of the report is the list of broken links so we can identify them:

image

Click the first item “Broken links, ordered by link” to see the list of broken links:

image

To interpret the report see below guide:

image

From a web developer point of view, this can be fixed by:

1. making the missing page available OR

2. removing the broken link from the pages that point to the missing page.

Given the case above and considering what is the best way to finish the job, looks like step 1 is more practical to implement since only one file will be affected instead of many files.

What if you are only the user and don’t have direct control of these files?  Well, first you can try to find the “Contact Us” page or email the admin if you have their contact details.  Quality websites usually fix the issue very quickly – they don’t want to have irritated readers.

Now, to get the overall picture of the whole site scroll to the bottom part of the report to see the aggregated result:

image

So, from the report I can see that out of 6299 URLs only 17 are not found or only .27%.  Depending on your standard or level of discomfort towards broken links this could be interpreted as either good, bad or in the middle – don’t really matter.

This tool enables you to find quality shortcomings of websites that don’t check their pages for broken links.  With a tool like Xenu’s Link Sleuth, link checking is only a few clicks away.

Ben Carigtan is a new contributor writer.  A Software Engineer with more than 7 years of technical experience, he will be writing articles covering practical advices and tips for computer users.

If you enjoyed this post, make sure you subscribe to my RSS feed!

» Filed Under Cool Websites

Related Posts

One Response to “How to check for broken links using Xenu?”

  1. Siddharth said on :

    This is quite cool
    Firefox has got a bunch of cool plugins for web developers ;)


Please post your comments/suggestions!