Hello
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.
Below is the default robots.txt code. Rank Math should automatically add it. As it didn’t add the code, please check if you have any physical robots.txt file in the server. If not, then try adding this code in Rank Math > General Settings > Edit robots.txt
# This file is automatically added by Rank Math SEO plugin to help a website index better
# More info: https://s.rankmath.com/home
User-Agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: http://rankmath.local/sitemap_index.xml
Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.
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.