Re: Return hard 404 or 410 status code for pages that are blocked
Reply #1 –
hmm... the 200 is fishy indeed , though I don't think neither 404 nor 410 are actually correct either, because elk doesn't really check if the topic/board/profile/admin/moderation/etc. actually exists or not (well, it does, but the result is the same in both cases, and it would not be correct to tell the difference, pretty much like with password) it just knows that the current user (a guest) is not allowed to access the resource.
I would lean towards a 403 in that case.
Re: Return hard 404 or 410 status code for pages that are blocked
Reply #2 –
Barely related: I also have to add a 301 redirect for semantic url that do not match the subject.