The MU forums have moved to WordPress.org

Deleted a plugin from /mu-plugins, still being called (10 posts)

  1. Konstan
    Member
    Posted 14 years ago #

    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?

  2. Konstan
    Member
    Posted 14 years ago #

    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).

  3. SteveAtty
    Member
    Posted 14 years ago #

    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.

  4. andrea_r
    Moderator
    Posted 14 years ago #

    And next time block google from crawling your plugins folder. :)

  5. Konstan
    Member
    Posted 14 years ago #

    I dont know why I didnt disable it before :P robots.txt updated.

  6. vlm
    Member
    Posted 14 years ago #

    Andrea, how does one block Google from crawling a folder (such as plugins)?

  7. tdjcbe
    Member
    Posted 14 years ago #

    Add the following to your site's robots.txt file.

    User-agent: *
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/mu-plugins/

  8. Konstan
    Member
    Posted 14 years ago #

    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.

  9. tdjcbe
    Member
    Posted 14 years ago #

    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.

  10. andrea_r
    Moderator
    Posted 14 years ago #

    "Disallow: /wp-content"

    Unless you want google to crawl your images and uploads. :) Some people do.

About this Topic

  • Started 14 years ago by Konstan
  • Latest reply from andrea_r