Hello! How to set up redirect rules for WordPress + Multisite (subdirectories )? At the moment, put just redirects to primary domain (sitecom/), but when you visit this website is redirect (sitecom/w/ - for other countries. The domain is redirected, if the visitor is not from Russia). Now absolutely everyone directed to the address sitecom/w/. How to fix?
Cloudflare doesn’t differentiate WordPress Multisite from any other type of WordPress installation.
I’m not clear on how your server decides which subdirectory to redirect people to. Before you used Cloudflare, was country redirection working?
Did you set up your rewrite rules in your ‘.htaccess’ file? The Multisite rules are different from the default WordPress rules.
I’m not sure, How much the following WP plugin helps you.
Before you used Cloudflare, was country redirection working? - Yes
I use GeoIP, then write the rules in .htaccess
This plugin does not suit me.
This topic was automatically closed after 31 days. New replies are no longer allowed.