Robots.txt save & converted to &

#4315
  • Resolved Marc
    free

    When a robots.txt data is saved special characters are saved in bad format. In my case & is saved as “&amp ;”(I have introduced space before ; to prevent html to interpret character in order to see).

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

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have been able to reproduce this issue on my end. The URL that you are adding belongs to a draft post, is there any reason why you are allowing this URL on the robots file considering that it has not been published?
    I suppose that you can make use of the string Allow: /?p=526 to add this post.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Yes is a draft. The problem is that Google has indexed that draft page because I had in a link on my webpage. I want googlebot to visit that URL to see the 301 to the real post and deindex that url from the index.

    I hope it will be solved on next plugin update.

    Thanks.

    Hi there,

    Thanks for the follow up.

    I can suggest that you create a new redirection too for this page via Rank Math > Redirections so that if the link still exists, your users can be redirected to the published post.

    A fix for this will be available soon.

    Let me know if you have additional questions, comments or suggestions.

    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 ‘Robots.txt save & converted to &’ is closed to new replies.