assemblerx86
Member
Posted 2 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?
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?
assemblerx86
Member
Posted 2 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.
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.
skippybosco
Member
Posted 2 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?)