AEM always returns 200 status code.

Avatar

Avatar

janellic4

Avatar

janellic4

janellic4

29-08-2019

Upon requesting non-existent pages, both aem author and publish instances return blank page with 200 status code. The default 404 error page is not showing.

View Entire Topic

Avatar

Avatar

cal-netsolution

Avatar

cal-netsolution

cal-netsolution

30-08-2019

Can you try creating the error pages using ACS commons error page handler.

https://adobe-consulting-services.github.io/acs-aem-commons/features/error-handler/index.html

In this article there is step by step process to create custom error pages and also settings in dispatcher.

Error Page Handler

https://adobe-consulting-services.github.io

Best,

Cal