Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42475
    Yuri
    Guest

    Hello everybody.
    After installing W3TC to my site I noticed that the attendance of my site dramatically reduced.
    I noticed that AIOSEO began complaining like this: “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.”
    Deleting robots.txt did not help much. It was recreated by something.
    When I had a look at it contents it was clear what has been recreating it:

    # BEGIN W3TC ROBOTS
    User-agent: *
    Disallow: /wp-content/cache/
    # END W3TC ROBOTS

    So, the scenario seems to be as follows: AIOSEO creates its own dynamical robots.txt with all SEO bells and whistles. However W3TC automatically creates (and re-creates) physical robots.txt in the root directory of the site.
    Physical files take precedence over dynamically generated ones (if the web server finds a physical file, it will serve that and immediately return before checking the rewrite rules), so AIOSEO won’t be able to serve its robots.txt

    Thus W3TC makes useless all AIOSEO efforts.

    Please, correct me if I’m wrong. And advise how to resolve this.

    Thank you.

    #42533
    Marko Vasiljevic
    Keymaster

    Hello Yuri,

    Thank you for reaching out and I am sorry about the issue you are experiencing with W3 Total Cache latest update.
    This issue is reported numerous times and we already gave a Github issue reported for this.
    The temporary solution is either to revert back to the previous version of W3 Total Cache or to change the permission for the robots.txt file so W3TC cannot write to it.
    Thank you for your patience and I am sorry about the inconvenience.

    #42589
    Marko Vasiljevic
    Keymaster

    Hello Yuri,

    We have released a patch in version 2.1.8. We do apologize for any inconvenience. Please update and do let us know if there are any issues. We will be happy to assist you.
    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘W3TC conflict with AIOSEO?’ is closed to new replies.