I'm trying to find the best way to let expired entries display.
My client has jobs that are filled / expire.
A typical job url looks like this:
In the section settings I've got:
Entry URL format set to:
And the entry template set to:
Everything works great. When a job expires/entry expires it no longer appears, but of course the google index remains and so I'd like the page to still 'exist' rather than redirect to a 404.
I've done a bit of work with the 404 so that the /jobs/ part is recognised in the URL and I change the content, as well as fetch expired job data, such as the jobTitle and integrate it into the content. The problem is, Google still sees a 404 page, and the content of the page is different which will invariably create some negative page rank issues given the number of expired jobs that are accruing.
So rather than a 404, I'd like the expired:
Entry to go to the _entry template and show the original unexpired layout (albeit with some tweaks to explain the job has expired).
But despite following the details found here:
The _entry still redirects to the 404 page when an entry is expired.
Is there any way to stop this so I can perform some .status('expired') voodoo on it?