my web site generate the links dynamically and after some period of time the links will be expired and will be no more valid.
I redirect such links to a static page with a statuscode 301 which for google only means that the old link should be replace with this new link.
But what I want is that I should be able to set the statuscode to 410 and should be able to redirect the page to my static page so that the search engine should remove such links from their indexes.
The problem I am facing is that by setting header like
<cfheader statuscode="410" statustext="Gone">
<cfheader name="Location" value="/removed.cfm">
<cfabort>
the browser does't redirct to new location.