• I have a site with, lets say three subpages/blogs:
    blogA.mycoolbloogs.com
    blogB.mycoolbloogs.com
    blogC.mycoolbloogs.com

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

    aaaaaa.mycoolbloogs.com
    a234f445faa.mycoolbloogs.com

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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?

    Thread Starter assemblerx86

    (@assemblerx86)

    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.

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

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Super Cache] Empty directories’ is closed to new replies.