Hello. My new site has the issue discussed here:
That thread doesn't seem to contain the info I need.
Specifically, a request for a missing page results in the user seeing a nice message, but no 404 status code is sent. Instead, it's sending 200. I need to fix this, per Google's guidelines seen here.
How do I set up the handler to emit the correct status code of 404?
What version of Episerver CMS?Are you using a 3rd party 404 handler?
DXP, with BVN 404 Geta404
This is the default behavior of this Epi module. You can implement the customizations mentioned on the git hub page to add controller and use the attribute (on your action that will return your custome view)
This will set status code for you to 404.
Thank you, Praful. That works.