Msg#: 4477569 posted 8:36 am on Jul 24, 2012 (gmt 0)
I've used your inital code you gave me for the time being and it's working fine. I will look into the 404/410 thing - it's not something I normally have to bother with as it's very rare that i have a page that becomes redundant or is moved.
The practical difference between 404 and 410 is that a 410 isn't automated-- that is, the server doesn't remember that some file was there for years and years and now it's gone. Heck, the server can't even remember someone it met two seconds ago :)
You can often double up and send humans to the same physical error page for both 404 and 410. They probably don't care whether the page used to exist, just that it isn't there now. That's assuming you're not dumping popular pages that people had bookmarked. But be sure you send humans somewhere. The default 410 page is scary.