Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
You can edit the robots.txt with Rank Math and add the rules again.
https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/
These are the default rules:
User-Agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://yourdomain.com/sitemap_index.xml
If the edit robots.txt option is not displayed, please enable the Advanced Mode in Rank Math dashboard:
Hope that helps.
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.