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

Last updated on SEPTEMBER 29, 2017

Applies to:

Oracle WebCenter Sites - Version 7.5.5 and later
Information in this document applies to any platform.
***Checked for relevance on 13-02-2014***

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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms