How to make a link checker script using PHP?

TransPersonal

New member
A script that checks every single external link going out of a website to see if that link goes to a page with the same url or to a 404 redirect page. If the latter then the script will delete the now dead link, or if that's too difficult then at least deactivate the link or if that's too much then at the very least mark the broken link in some way (perhaps make the lettering bold red) so it will be easy to detect when deleteing dead links manually.

Such a script will work on the server side continuously running in the background searching for dead links. And since every website has a different url for their 404 page there has to be a way to add the 404 page urls for the websites to which you link most.

I don't know any php but can someone please write a script like this for me?
 
Back
Top