Archives 404
It seems like Yoast SEO does not display the 404 page titles for archives right.
For example. If you go to https://yoast.com/4758 it doesn't display the 404 title and breadcrumbs, but the archive title. This happens with every random 4 digit number in the URL. Probably because those are related to archives. The response code however is 404.
This is relevant to us because we always use 'Page not found (404)' in our 404 titles to find issues with our websites in Google Analytics.
Can reproduce.
Is indeed specific to a 4 (no more no less) digit requests in URL.
So this was sort–of by design, 4 digits being recognized as year query and code trying to handle it as special case. After internal discussion this was decided to be dropped, I opened PR accordingly and it will behave as any other 404.
Thank you for your reply! Very helpful.