I have rewritten my site from ASP to PHP. Unfortunately, a lot of my ASP pages were previously indexed in search engines and I've noticed them getting hit, serving up errors in my stats. Does anybody know how to write a custom 404 page in php which automatically redirects URL's ending with the ".asp" extension to the exact same URL, only with a ".php" extension? I'm thinking that it has to be a simple thing, only I'm too new to this to figure it out myself.