Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check status of links

Status
Not open for further replies.

newbie1983

Programmer
Sep 9, 2003
52
0
0
GB
I am currently creating my own website and would like to create a separate java program that would be able to check whether the links on my website are active or not. I was thinking of placing the links in the form of " into a text file and then loop through the links. Any ideas?

Regards,

Newbie 1983
 
I was thinking of doing something similar with my browser bookmarks.

But nowadays, if you try to access an invalid link, you get redirected to a search page - and not always the same one. So you can't just look for an error code in the returning data anymore.

So how do you reliably tell that the web site you finally accessed is the one the link is supposed to point to?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top