Yesterday I wanted to try a new anti-spam plugin so I deleted CAS (custom anti spam) and activated the new one. Today I check my logs and I see that custom_anti_spam.php is still trying to be called.
I deleted the tables and all the files related to the plugin, but its still trying to load itself. What could be wrong?
Upon further investigation, all the errors come from IP 66.249.71.74, which seems to belong to Google. The rest (99%+) seems to be caused by users coming from google cache search. I guess this should go away on its own.
Is it possible that once a plugin is deleted from /mu-plugins/ for it to still get called? I didnt modify any other files for this plugin (as in, no themes).
I've seen deleted php files get called by google. I don't think you can do much about it but wait until google realises it has gone.
And next time block google from crawling your plugins folder. :)
I dont know why I didnt disable it before :P robots.txt updated.
Andrea, how does one block Google from crawling a folder (such as plugins)?
Add the following to your site's robots.txt file.
User-agent: *
Disallow: /wp-content/plugins/
Disallow: /wp-content/mu-plugins/
I went one step further and got this:
User-agent: *
Disallow: /wp-admin
Disallow: /wp-content
Disallow: /wp-includes
Because really, why would a search engine need to spider those directories? Other then blogs.dir I dont see a point.
Other then blogs.dir I dont see a point.
Agreed but I was answering the question asked. :)
We have about a dozen subdirectories under wp-content though, not just blogs.dir. Rather do it specifically.
The codex makes some suggestions for regular wordpress.
"Disallow: /wp-content"
Unless you want google to crawl your images and uploads. :) Some people do.