WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Empty directories (5 posts)

  1. assemblerx86
    Member
    Posted 3 years ago #

    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?

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 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
    Member
    Posted 3 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
    Member
    Plugin Author

    Posted 3 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
    Member
    Posted 3 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

About this Topic