Sitemap.xml not indicated in robots.txt

#357108
  • Resolved Gillmore Gutura
    Rank Math free

    Hi,
    My SEO tool has given me the below error :
    “Sitemap.xml not indicated in robots.txt”

    > How do i fix this ? Or this actually an issue? It seems the robots.txt file is a read only file.

    Please help.
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    Can you please share your website URL with us so we can further check it on our end?

    Also, 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 ensure that the sitemap is included. Since you mentioned your robots.txt file is a read-only file, please refer to the guide below:

    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.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I can check that the sitemap is now being included in your robots.txt file. Please clear the cache of your site and check with your SEO tool again.

    Let us know how that goes. Looking forward to your update.

    Thanks.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Sitemap.xml not indicated in robots.txt’ is closed to new replies.