• Resolved card-one-concepts

    (@card-one-concepts)


    Hello,
    I recently updated your plugin and now it seems as if the robots.txt file is now missing? I have Enabled Custom Robots.txt under Tools. But when I try to edit the robots.txt and save nothing changes. Furthermore, when you click “Open Robots.txt” the file is not found. I even checked the root directory on the server for the file and it does not exist. So I tried uploading my own robots.txt file and in the AIOSEO dashboard under notifications it says “AIOSEO has detected a physical robots.txt file in the root folder of your WordPress installation. We recommend removing this file as it could cause conflicts with WordPress’ dynamically generated one. AIOSEO can import this file and delete it, or you can simply delete it.” So I then choose to import and delete as suggested and then I am back to the first issue of no robots.txt file located in my root directory any longer? Am i missing something here?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @card-one-concepts,

    That’s a really good question.

    Our plugin dynamically generates the robots.txt file, instead of creating a static, physical file and storing it in your root directory. Basically this means that the plugin generates your robots.txt on-the-fly whenever it’s requested. There are a number of advantages to this (which I won’t elaborate on here).

    However, it looks like the /robots.txt path is incorrectly redirecting you back to the homepage, so that’s something we’ll need to troubleshoot.

    Can you start off by going to Settings > Permalinks and clicking the Save button at the bottom to flush your rewrite rules? If that doesn’t do the trick, I’d recommend you to check if you have any plugins that are conflicting with AIOSEO. The easiest way to troubleshoot this is by simply deactivating/reactivating them all one by one.

    If neither of that helps, please let me know and we’ll troubleshoot this further.

    – Arnaud

    Thread Starter card-one-concepts

    (@card-one-concepts)

    Hi Thanks,

    I was using a 404 redirect to homepage plugin that I suspect was partly causing the issue. So I guess I will need to set up a custom 404 page instead, When I deactivated that I would get a message in the AIOSEO plugin that said my .htaccess file was not set up properly. So I did what you suggested and saved the permalinks again and that seems to have resolved all the issue. Thank you for your quick response and your time.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @card-one-concepts,

    No problem. I’m glad to hear you were able to resolve the issue. ??

    Feel free to leave us a review here if you like – https://www.ads-software.com/support/plugin/all-in-one-seo-pack/reviews/?filter=5

    – Arnaud

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgraded plugin now robots.txt file missing?’ is closed to new replies.