Hello,
Thank you for contacting Rank Math and sorry for the inconvenience caused by this.
Have you ensured the website on the old hosting is using the latest version or Rank Math?
Looking forward to helping you.
I have changed my hosting and loaded my old hosting backup into the website.
https://support.rankmath.com/ticket/robots-txt-not-working/
i am facing the same issue about which the link is attached above. I have allowed but it is suggesting and i am getting notification from google of “Result: Disallowed”. I am following these instructions;
Rank MAth >> General Settings >> Edit robots.txt >> Edited, allowed and saved
User-agent: *
Allow: /
After doing all this, i am going to Google SearchConsole >> URL Inspection >> Serching
After searching i get this notification of disallowed i.e “Indexed, though blocked by robots.txt”. I have talked to the concerned person for my hosting but they told me that the issue is not at our end. There is plug-in issue and you must co-ordinate the concerned person for that.
Hello,
Using a robots.txt validator tool, I am not seeing any issues with your robots.txt
https://i.rankmath.com/hjwcNm
This could suggest that there is a conflict between Rank Math and one of your installed plugins. To determine that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Try enabling only Rank Math, then check if the function is working. Then try enabling each plugin one by one until you found the plugin that conflicts when you try to add the keyword.
I hope this helps you with your issues.
The link for sitemap is “https://britishwritersessay.co.uk/sitemap.xml
Hello,
I have checked all your pages and all of them are set to index.
However, you seem to be using some other plugin or some online tool to generate the sitemap:

and, your robots.txt
file also seems to be incorrect:

This is how your robots.txt should look like:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://yourdomain.com/sitemap_index.xml
Could you please try to use the Rank Math sitemap and correct your robots.txt
file?
This should resolve your issue. Looking forward to helping you.
https://britishwritersessay.co.uk/robots.txt
https://britishwritersessay.co.uk/sitemap_index.xml
I have followed the instructions as told by the support team. Please check and confirm whether the is resolved or not? I have also done URL inspection on Google search console.
If I will face the same issue I will get back to you.
Hello,
The sitemap appears fine, please enter the correct sitemap URL in the robots.txt file.
After making the changes, re-submit the sitemap_index.xml
in the search console and wait for some time for Google to crawl your sitemap.
This should fix the issue.
If you have any questions, please feel free to ask.
We are here to help.
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.