Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When people post links on my site, I kinda want to just make sure that the website they link to is active and not dead. How can I check this?

I was thinking to use meta data or title but I don't think all sites have that.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

There a lot of plugins for different languages and platforms that do this. I don't know them by name, but I'm pretty sure Django, Rails etc. have them.

That said, if you just fetch the URL people post on your and check for the 200 HTTP return code, you should be fine.

You might want to clarify your question a bit, by the way. I'm not 100% sure whether you mean people that post links ON your site or links TO your site.

share|improve this answer
    
Sites posted on our site to other sites but I think that 200 status should work. –  Chirag Sep 9 '11 at 8:57
add comment

You can also set up monitoring using some external service, like pingdom. The advantage of an external service is that they will hit your web site from geographically diverse clients, so, if you can't get to the site from your office, it actually may just be you.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.