My Oracle Support Banner

Setting 404 response header for custom error page (Doc ID 1468381.1)

Last updated on JUNE 08, 2023

Applies to:

Oracle WebCenter Sites - Version 7.5.5 and later
Information in this document applies to any platform.

Goal

There is a custom "404" error page managed/rendered through Sites.  However the return code of this page is 200 OK.  Is it possible to programatically set the response code to 404?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.