7

Both and refer to the same thing, where a specific path is not found. The former page is a result of the latter status code. I don't think that difference warrants a separate tag. Propose synonymizing to

12
  • 11
    I don't think it's the same. Status code 404 (not sure why there's a tag for this, seems specific) is about the response code, 404-page is supposedly about a webpage. Way back 20 years ago when I actually did web development, I remember there being ways to configure default error pages in apache and nginx which is what I would suppose the 404-page tag would be appropriate for (and the http-status-code-404 would not be.) Commented Oct 31, 2023 at 14:17
  • 1
    @RoddyoftheFrozenPeas In that case we would need tag usage to be cleared in the respective tag wikis. As of now 404-page has no tag wiki. I suppose you may say that the 404 tag wiki was not found :)
    – Lundin
    Commented Oct 31, 2023 at 15:04
  • 2
    @RoddyoftheFrozenPeas I did partially cover that difference in the post itself - my opinion is that it doesn't warrant a separate tag.
    – TheMaster
    Commented Oct 31, 2023 at 16:42
  • I agree with @RoddyoftheFrozenPeas: 404-page makes at least some sense as an item, http-status-code-404 seems a bit excessive and perhaps all of the codes could fall under http-status-code? I don't think there's any scenario where someone is proficient at 404s but not 200s/300s to really warrant the distinction.
    – Robert
    Commented Oct 31, 2023 at 18:28
  • 2
    @TheMaster My point was they're distinct concepts which make sense as distinct tags and they should not be synonyms. My secondary point was that http-status-code-404 probably shouldn't exist at all as it is too specific (prefer a generic http-status-code tag for that one.) Commented Oct 31, 2023 at 19:04
  • @RoddyoftheFrozenPeas http-status-code-*s is very helpful in categorizing API request/client errors. If I get 404 in say, [google-sheets-api], I would just search [google-sheets-api][http-status-code-404]. If I get 403, I would search [google-sheets-api][http-status-code-403], the status codes have very specific reasons, even more specific, when combined with a api, and really helps in narrowing down the issues.
    – TheMaster
    Commented Oct 31, 2023 at 19:42
  • 8
    I disagree with the premise. A "404" web page is not equivalent to a HTTP 404 status code. It's true, a 404 status code could result in a 404 page being used, but one doesn't necessitate other. They are too dissimilar to synonymize. If anything the http-status-code-404 is too specific and probably deserves an action on its own, like being synonymized into a general http-status-code tag.
    – Drew Reese
    Commented Nov 1, 2023 at 0:53
  • The vast majority of 404-page posts have something about an actual page stackoverflow.com/search?q=%5B404-page%5D+page Arguably the remaining ones should be retagged Commented Nov 2, 2023 at 12:35
  • 2
    @RoddyoftheFrozenPeas I think that's a fair point. It's possible you need to return a 404 status code and not necessarily an "error page". To that end, I suspect we should clean this tag up and then synonym [404-page] to custom-error-pages (which is a clearer concept tagwise)
    – Machavity Mod
    Commented Nov 2, 2023 at 13:53
  • 3
    To the close voters: disagreement should be expressed with downvotes, not with close votes. Commented Nov 2, 2023 at 18:05
  • 1
    @DrewReese Merging all the status codes was proposed 8 years ago. Commented Nov 2, 2023 at 20:41
  • @Michael Before my time, but thanks. I've upvoted that post. Perhaps it can be revived.
    – Drew Reese
    Commented Nov 2, 2023 at 20:43

1 Answer 1

10

There's a case to be made here that a 404 status and a 404 page are not the same thing. An API, for instance, might just return a 404 status without any other data at all.

That said, I still don't like the tag. I think the more generic tag might be the ticket here. Clean the tag up and synonym it to that tag instead

1
  • 1
    Tags merged and synonym created
    – Machavity Mod
    Commented Nov 3, 2023 at 21:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .