Removing the sitemap from the robots.txt

#401093
  • Hello

    is there any filter to remove the sitemap from the robots.txt ? I know it can be edited on the dedicated screen, but I would like to do it through a filter.

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support.

    Unfortunately, we do not have such filters to modify the data of robots.txt.

    If you’re using Rank Math’s robots.txt, you can modify it from Rank Math > General Settings > Edit robots.txt.

    If in case, you’re not using the robots.txt of Rank Math, you can log in to the server via FTP and modify the robots.txt file present in the root directory.

    Hope that helps.

    Thank you.

    Hi, I put a 5 stars because the information is helpful, but I’m disappointed that there is not such possibility. I have a plugin that does some fine tuning of RankMath, as my users are really not able to do it, and I would have appreciated to be able to modify your default robots.txt instead of totally bypassing it.
    Never mind.. “Nobody’s perfect” and your plugin is already great !

    Hello,

    I am glad that we could address your issue and thank you so much for your kind words.

    Please do not hesitate to let us know if you need our assistance with anything else.

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

You must be logged in to reply to this ticket.