Hello,
Thanks for contacting us!
I apologize as I’m not sure whether I fully understand the question. But I’ll do my best–and please let me know if I misunderstood!
If you want Rank Math’s 404 monitor to log entries with a custom 404 page, then please go to
/seo-by-rank-math/includes/modules/404-monitor/class-monitor.php
One Line 45, change this:
$this->action( 'get_header', 'capture_404' );
To this:
$this->action( 'template_redirect', 'capture_404' );
That will fix your issue. In the meantime, we are also working on a better way to implement this solution without breaking certain templates.
We will notify you when we have an update, for more details regarding the updates, you can keep an eye on our changelog: https://rankmath.com/changelog/
Hope this helps.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.