windows 2003, railo 3.1, apache, mysql 5.1
I submitted my sitemap, a cfm template that querys my property listings database and outputs the listing url's in xml format, so it stays updated, through google webmaster tools and a few days later checked in to find some crawl errors "soft 404" these were property listings in my database that we no longer active. I guess google had a look at the sitemap then actually crawled the url's the next day, otherwise the sitemap should be current as it is generated dynamically when called. My question is how can I stop these "soft 404" errors? and how can I use cfml to redirect to a page with a custom error message? right now if you hit one of these "soft 404" pages it is just a blank page that returns a 200 but should actually be a 404
Any help is greatly appreciated!