Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Browsing to expired page defaults to 302 redirect instead of 404



We are experiencing a bug that was resolved in EPiServer.CMS.Core 10.0.1 in our EPi application running EPiServer.CMS 12.15.1.
It seems to be connected to the database in some way. If we use a clean database setup from scratch we don't experience this issue.
Does anyone have any clue how this can happend based on the content in the database?

Link to the old resolved issue:

Edited, Feb 02, 2023 9:09

Hi Paul,

The DB you're having issues on, did that start as CMS12 or was that upgraded from a CMS11 DB? Do you have multile languages available for your pages?

I've seen an odd handful of issues in upgraded databases, but it was usually small scale and I could just recreate the content to resolve it. 

Edited, Feb 02, 2023 18:09

What does your logs say?

Feb 02, 2023 19:49

We resolved the issue ourselves.
We had the action for our error-page inside epis EPiServer.Web.Mvc.PageController<T> which made EPI think it was as internal url in epi and not a generic error page path.
We moved the logic into its own controller and the problem no longer appeared.

Feb 07, 2023 11:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.