Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
For initial troubleshooting, please check if this option is enabled in Rank Math > General Settings > Links

If so, try disabling the option and check again if the issue persists.
If it was fixed upon disabling that option, please check if you have an attachment with the same name as the page URL. You can reupload the media with a different file name or at least rename the attachment URL to a different slug.
Once done, re-enable the redirect attachment options again.
Let us know how this goes.
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.