Good afternoon. If you write url site.ru/?year=2020, then it redirects to the 404 template, how can I disable this behavior?
It is necessary that it does not throw anywhere.
And he's not going anywhere. This is an archive of posts for the specified year. And you'll get a 404 if your site doesn't have a single post published this year