Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
These rules are not added by Rank Math.
Rank Math by default includes the following rules to the robots.txt file.
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: yoursite.com/sitemap_index.xml
Please edit the robots.txt file and add the default rules.
You can edit the robots.txt file with Rank Math:
https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/
If the rules added in Rank Math are not reflected in your robots.txt file, please log in to your web server via FTP and delete the robots.txt file present in the root folder.
Once you delete the robots.txt file, Rank Math’s virtual robots.txt file will take over.
Hope that 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.