Hello,
I apologize for the inconvenience you are facing with Wordfence PRO detecting malware in your files. To confirm if this is related to Rank Math, we recommend performing a thorough check on your website to identify any potential conflicts or issues.
You can follow the steps outlined in our guide on confirming a theme/plugin conflict with Rank Math: Check Plugin Conflicts with Rank Math. This guide will help you determine if the issue is caused by a conflict with a theme or plugin.
If after following the steps you are still experiencing issues or need further assistance, please reply to this ticket, and one of our support experts will assist you promptly.
Thank you for bringing this to our attention, and we appreciate your patience as we work to resolve this matter.
Best regards
Sources:
Confirming a Theme/Plugin Conflict With Rank Math
How to Whitelist Rank Math in Wordfence » Rank Math
Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math
How to Fix “Sorry, This File Type Is Not Permitted for Security Reasons” Error » Rank Math
Hello,
Thank you for contacting support.
WordFence appears to be scrutinizing the modified files from the update and triggering the Bad URL error, which is actually a false alarm. The file named includes/updates/update-1.0.42.php
serves as the update routine file for version 1.0.42, containing the necessary code to eliminate the erroneous redirection rule.
Don’t hesitate to get in touch if you have any other questions.
Hi Miguel,
So I understand correctly that this code is actually from you and not malware?
Best regards
Hello,
The report mentioned is not related to any kind of security issue in the plugin.
You can learn more about the security of our plugin here: https://rankmath.com/kb/is-rank-math-safe-to-use/
Looking forward to helping 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.