Sub-sub folders of WordPress Multisite subdirectory

In my opinion, you need a ‘Multi Network’, a many Multi-Sites Network. I build them here and there for different languages for one country, like domain.example/ domain.example/1-country/ domain.example/1-country/language-1/ domain.example/1-country/language-2/ domain.example/1-country/language-3/ domain.example/2-country/ domain.example/2-country/language-1/ domain.example/2-country/language-2/ The core of WordPress doesn’t support them and you need an enhancement. Ready to use is only possible with the help of … Read more

Multisite – One Site with multiple URLs

Short answer is – this is possible and easily achievable by using JJJ’s plugin https://wordpress.org/plugins/wp-multi-network/. Long answer is – WordPress allows for such structures to be created, but does require some hacking in order to make it right if you decide to do it manually. The original database structure of a multisite website is prepared … Read more

How to Deny Access to No Referrer Requests on Multiste with Mapped domains

You could hook intop pre_comment_on_post: add_action( ‘pre_comment_on_post’, function(){ if ( empty ( $_SERVER[‘HTTP_REFERER’] ) ) exit; }); But … be aware, not all requests without an referer are actually spam posts. Some firewalls and proxies strip this field. And most automated spam comes with a Referer field filled with the name of the spammed domain. … Read more