Error in robots.txt (sitemap url line)

#381111
  • Resolved Juan Manuel Rueda
    Rank Math free

    Hello good afternoon I am editing my robots.txt file and in the final part I am putting the reference of the url of the sitemap.xml of my website but when I save and see the url of my site live I get a different url than which I am entering.

    What can I do to correct it?
    rank math edit robots
    robots-txt-live

Viewing 4 replies - 1 through 4 (of 4 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math.

    Please check if there is a robots.txt file in the root folder.

    Login to your web server via FTP and delete the robots.txt file present in the root folder.

    It is the same folder where you have your wp-content, wp-admin
    etc.. folders.

    Once you delete the robots.txt file, Rank Math’s virtual robots.txt file will take over.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hi Anas, good afternoon, thank you for responding, I’ll tell you that I’ve already done what you’re telling me and I currently have control of the robots.txt file from the rankmath plugin in which I make changes. but in the sitemap I get that error. look at this screenshot https://ibb.co/bggHGFZ

    Anas
    Rank Math business

    Hello,

    Please clear the cache from your caching plugin, and if you are using a CDN, clear the cache from there as well.

    That should fix the issue.

    Let us know if the issue persists.

    We are here to assist 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.

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

The ticket ‘Error in robots.txt (sitemap url line)’ is closed to new replies.