English 中文(简体)
How to maintain external links for a website?
原标题:

I want to know how to control the links on the webpage, where the link leads to external sites. Sometimes it can be that an external site just vanishes and you don t know that such an event occurred.

I am thinking about making an Excel sheet which holds all links and it s places from the website. Then I go manually monthly over all links and check if the website exists (which I find a pretty stupid idea :/ )

Does anyone of you have a good system on maintaining external links?

最佳回答

Use Xenu.

Xenu s Link Sleuth (TM) checks Web sites for broken links. Link verification is done on "normal" links, images, frames, plug-ins, backgrounds, local image maps, style sheets, scripts and java applets. It displays a continously updated list of URLs which you can sort by different criteria. A report can be produced at any time.

If you re on Mac, have a look at Integrity.

问题回答

Xenu is generally agreed to be the best link checker. Run it regularly, maybe even set up a cron job (or windows scheduler) to run it regularly, maybe even to email you the results.

The W3C also has a link checker at http://validator.w3.org/checklink (and you should run their CSS & HTML checkers on your entire site, too).

It depends how your site is coded. Mine is all PHP and I once had an idea to check all links on a page each time the page is loaded (or every n th time). If you do this, you could either parse the page and check each link, or just do it simply and invoke W3C s link checker and parse the output - if any errors, send yourself an email.





相关问题
Export to pdf on the client or server side?

My client side application is using jqgrid that requests the server side, which in its turn queries MySQL and sends back the resultSet in XML format. I m willing to add the export to PDF ...

Image generator

I d like to be able to generate an image with overlaying text (that is inputted by the user) such as how it is done on www.depressiondog.info. Can someone show/link me to some code that will do that. ...

Where should I put this configuration setting?

I m designing a fairly small web application which will run on a Sun application server (v9.1). It only has a few pages, no database of its own, and will retrieve/update data via web services. There s ...

服务器面与用户对用户的MVC在网络信号中

我最近找到了一种与《伙伴关系协定》有关的有趣的替代办法。 NET MVC,我目前做的是:静态超文本,配有先进的 Java本式服务电话(大多数例子使用开放式雷达)。 例如,见此或......。

MySQL Users and All Privileges

Ok, I m trying to add a user to a MySQL database. This user should be able to add other users to the database it has privileges for. So I did this: GRANT ALL privileges ON thedbname.* TO topuser @ % ...

Doesn t get into Debug Mode

When I Press F5 on my VS2005 to debug the application, it launches the web app window but it is coming out of debug mode. When I tried to trace the Error in the EventViewer, this was the error: ...

热门标签