Redirect robots.txt to homepage

#67090
  • Resolved Mark Oakley
    Rank Math pro
    Content AI Starter

    Are there any circumstances that Rank Math would create a redirect of mysite.com/robots.txt to my home page? That is what is happening. Only way to see robots.txt file is at mysite.com/robots.txt/

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Alberto
    Rank Math business

    Hello,

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

    That sounds really weird, I think we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Mark Oakley
    Rank Math pro
    Content AI Starter

    Hello,

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

    Thank you.

    Mark Oakley
    Rank Math pro
    Content AI Starter

    Login details in the sensitive data box as requested
    Thanks for your help

    Alberto
    Rank Math business

    Hello,

    I think you forgot to add your website URL so we can’t find it and log in there to check it. Could you check it?

    Looking forward to help you.

    Mark Oakley
    Rank Math pro
    Content AI Starter

    Hello,

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

    Thank you.

    Mark Oakley
    Rank Math pro
    Content AI Starter

    Sorry I have added it to the sensitive data

    Hello,

    Allow me to consult on this and get back to you.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi Mark,

    That redirect occurs even when Rank Math is disabled.

    Which means you are using another plugin or a .htaccess code to redirect the robots.txt file to the homepage.

    Please check what is causing that and remove the redirect to make it work.

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

    Mark Oakley
    Rank Math pro
    Content AI Starter

    The problem exists with all PLUGINs disabled, and only started when we used Rank Math as the source of our robot.txt file.
    Could you take another look please

    Alberto
    Rank Math business

    Hello,

    I have checked but I was not able to replicate the issue (as I show you in the screencast I added in the Sensitive Data section). Could you check it?

    Looking forward to help 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 10 replies - 1 through 10 (of 10 total)

The ticket ‘Redirect robots.txt to homepage’ is closed to new replies.