Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Yes this is possible, you can enter the attachment URL on the add redirect option and set a 410 redirect from the Rank Math > Redirections menu.
Please share some temporary access to your site on the sensitive data section so that I can advise further.
Looking forward to helping you. 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.