dmulter Posted March 21, 2006 Report Share Posted March 21, 2006 I see that a valid page is returned even when an invalid family or person ID is passed to various pages such as getperson.php. It currently displays a mostly empty Unknown result.Seems like it would be more appropriate to return a 404 error in such cases. One side effect by not returning 404 is that a Google cache of a previously available ID will continue to persist even though a new GEDCOM import rearranged IDs. It appears confusing to people that follow such a link. My sense is also that it also causes old (and incorrect) entries to continue to appear in Google search results since Google never sees old pages disappear.The code should still display a friendly 404 page with all the common header and footer elements, but indicate that the family or person doesn't exist in the database.Thoughts? Quote Link to comment Share on other sites More sharing options...
Rush Posted March 21, 2006 Report Share Posted March 21, 2006 You could just create a custom 404.shtml file like this:http://www.bythedrop.com/zzzIs that in the ballpark of what you are looking for?Rush Quote Link to comment Share on other sites More sharing options...
dmulter Posted March 21, 2006 Author Report Share Posted March 21, 2006 No, the problem isn't how to do a custom 404 page, I already do that on my site. The problem is that TNG doesn't generate 404s for invalid people and family IDs. Quote Link to comment Share on other sites More sharing options...
Rush Posted March 21, 2006 Report Share Posted March 21, 2006 Ahhh, gotcha...Rush Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.