W3TC conflict with AIOSEO?
-
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 ROBOTSSo, 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.txtThus W3TC makes useless all AIOSEO efforts.
Please, correct me if I’m wrong. And advise how to resolve this.
Thank you.
- The topic ‘W3TC conflict with AIOSEO?’ is closed to new replies.