It should be noted: if the priority of the redirect that we created is greater than 0, the address that is 404 will not be displayed at all in the 404 log section.
I set if a product was 404, Redirected to the relevant category.
my site have 20 different categories and we made 20 redirects similar to what I posted before.
But only one of the redirects working. The one whose priority is 0.
Only the redirect works if we assign zero priority to it. And the rest of the redirects, which have a lower priority, do not work at all.
Yes, we cleared the cache.
We disabled plugins.
We tried with different browsers.