WP Super Cache
Empty directories (5 posts)

  1. assemblerx86
    Posted 5 years ago #

    I have a site with, lets say three subpages/blogs:

    I've installed WP Super Cache and it works fine, but I've noticed that many spam bots calls random adresses such as:


    WP Super Cache creates empty directories for them in cache directory. How to fix this in easy way?

  2. Donncha O Caoimh
    Plugin Author

    Posted 5 years ago #

    Unfortunately that's a WordPress issue. It responds to all requests and serves something. You could add a .htaccess rule that redirects unknown hostnames to one of your current sites?

  3. assemblerx86
    Posted 5 years ago #

    That one solution, but inconvinient - every time I add new blog I would need to update .htaccess. Some code changes would be much better.

    And I think that's WP Super Cache issue, because directories are created in its cache directory.

  4. Donncha O Caoimh
    Plugin Author

    Posted 5 years ago #

    What do you see when you go to one of these random urls? I thought about it and it should go to http://example.com/wp-signup.php?new=aaaaaaaaaaa rather than serve the domain. That's what happens on my multisite site.

  5. skippybosco
    Posted 5 years ago #

    I've seen something recently as well where folders are being created in my supercache that are variations of my primary domain with a trailing period. (mydomain.com <- good -vs- mydomain.com. <- not good)

    Has anyone seen that before? Any ideas on how to prevent it (suggestions on .htaccess rules perhaps?)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic