Multisite, multiple domains per site

I currently have a multisite install with 4 sites and 4 domains, like so:

Site 1 -> site1.com

Site 2 -> site2.com

Site 3 -> site3.com

Site 4 -> site4.com

There was a typo in the domain of Site 3, so we changed site3.com to site3-new.com. So far so good. Now we want site3-new.com to show Site 3, and we want site3.com to show site3-new.com.

That last step is causing me endless headache. What’s happening right now is that visiting site3-new.com opens up Site 3, while visiting site3.com opens Site 1 (it redirects 302 to site1.com), presumably because in wp-config site1.com is set as 'DOMAIN_CURRENT_SITE'.

What can I do to show 1 site from the multisite instalation for 2 separate domains?

Thanks.

Read more here: Multisite, multiple domains per site

Leave a Reply

Your email address will not be published. Required fields are marked *