Нет карты сайта в файле robots.txt

#388444
  • Resolved Ed VR
    Rank Math free

    Мой файл robots.txt не такой как в настройках rankmath.
    Все включено в настройках.
    При переходе по ссылке mysite/robots.txt он отображается. Но в нем не хватает карты сайта.
    При этом карта сайта отображается в файле robots.txt в настройках плагина. Почему нет карты сайта в файле robots.txt при переходе по ссылке?

    Он выглядит вот так по ссылке

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php

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

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    It seems like there is a physical robots.txt file in your site’s root directory. Please remove the file so our plugin can take over.

    Let us know how that goes. Looking forward to helping you.

    Ed VR
    Rank Math free

    Файл удален. Мой файл выглядел по другому.

    Hello,

    Can you please confirm if the issue has been resolved or if you still need our assistance? If the issue persists then please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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.

    Ed VR
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    I’ve checked your robots.txt, and it seems that it is still missing the sitemap URL.

    Please add the complete robots.txt rules (from user-agent to sitemap URL) in Rank Math > General Settings > Edit robots.txt before hitting the save changes button.

    Once done, clear your website’s cache and check again.

    Let us know how this goes.

    Thank you.

    Ed VR
    Rank Math free

    Для чего добавлять правила в robots.txt. у вас написано что можно оставить пустым в настройках и что он будет сам создаваться сам!

    Hello,

    We apologize for the confusion.

    Yes, leaving the robots.txt field in the General settings should fallback to the default configuration of robots.txt with the sitemap URL.

    Can you please clear your website cache and any server-level caching services (such as Cloudflare) and see if this will update the robots.txt on your website?

    If the issue persists, please share your WP admin login as well so we can further take a closer look. Also, the FTP you shared doesn’t seem to work as I can’t connect to your server.

    Looking forward to helping you on this one.

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

You must be logged in to reply to this ticket.