Robots.txt not automatically added

#68382
  • Resolved Gunnar
    Rank Math free

    Hi,

    For some reasons a Robots.txt is not automatically added with RankMath. Can you look into this? I have looked at other tickets and the knowledge base but I can’t find any possible solution there.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 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.

    I looked on it and it seems you have some issue in your server since after forcing Rank Math to generate it, I got a 500 Internal Server error. I would recommend you to contact the hosting support to check it.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Gunnar
    Rank Math free

    Hello,

    The server error seems to be have been caused by the plugin ‘WP file manager’. Did you by any chance install this plugin? The plugin is now deactivated and the 500 internal server error is now resolved.

    Could you please look at this robots.txt issue again?

    Thanks..

    Hello,

    There seems to be an issue with your TranslatePress settings. If you disable the plugin and then test your URL here, you will note the robots.txt is successfully loaded. Did you follow our guideline on setting up translate-press with Rank math? If not please do to avoid any related issues, here is the guide: https://rankmath.com/kb/multiple-languages-seo-rankmath-translatepress/

    Looking forward to helping you. Thank you.

    ​​​​​​

    Gunnar
    Rank Math free

    Hi,

    Thank you for looking into this.

    Changing in the TranslatePress settings the ‘Use a subdirectory for the default language’ from YES to NO solved the problem. However, I wouldn’t call it an issue but more like RankMath does not support using a subdirectory for the default language in TranslatePress.

    In the guide you refer to there is not explicitly mentioned that in TranslatePress settings ‘Use a subdirectory for the default language’ can only be set to NO. There is only a screenshot of the settings where it is set to NO.

    Thanks.

    Alberto
    Rank Math business

    Hello,

    Thank you for letting us know. We will send it to the devs so they can check it.

    Looking forward to help you.

    Hi Gunnar,

    The guide was created wih collaboration with the TranslatePress theme.

    We will update it after consulting with them.

    If you need help with anything else, please open a new support ticket here so we can help.

    We are always here for assistance.

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

The ticket ‘Robots.txt not automatically added’ is closed to new replies.