So my understanding is that if i have a custom 404 error page, even though I am showing a fancy page, it should still return a server response of 404. Because the page doesn’t exist (only a fancy error message)
I am now in charge of a website and doing some checks i found the 404 pages returns a custom 404 page and a 200 ok response. I asked the web devs to fix this and they have said that this is the correct behaviour as the custom 404 page is being returned correctly! hence the 200 response.
This makes no sense to me!!!
Is my understanding wrong (and been wrong for 12+ years) or do these devs not know what they are talking about?
I am 99.99999% confident I am right but this is such a weird arguement that I have to check reality. (I can fully admit I am not always right though)
That’s confirmed what I knew (or thought I knew) and have always ensured the sites I’ve built had the correct codes, I was just a bit confused when someone I figured should know more than me said otherwise, perhaps I know more than I think I do (probably not )