How to prevent multisite from redirecting to subsite hosts?

[ad_1]

I have a WordPress multisite _cluster_. There’s cmsprod1.example.com, cmsprod2.example.com, etc all sharing a REDIS cache and NFS /wp-content/uploads. They’re behind a load balancer which takes requests for cmsprod.example.com and spreads out the work to the 1,2,etc hosts.

Alas, once, say, cmsprod1.example.com services a request, it looks at DOMAIN\_CURRENT\_SITE (or for subsites, it looks at wp\_blogs.domain) and thinks “I’m not _that_ host” and redirects. How can I _prevent_ that from happening, and make it serve all requests it receives, regardless of whatever host it thinks is supposed to serve it?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer