We have Domain1.com and Domain2.com in a Wordpress Multisite. They're quite big in terms of content.

I want to redirect everything on Domain1.com and Domain2.com except the homepage to Domain3.com which is in a Single site installation on a different host.

The htaccess for Multi Site is site wide and I tried fiddling with some code but couldn't accomplish anything worth mentioning.

We also explored several plugins but they don't seem to do the job. The Redirection plugin fails on me when trying to do a bulk upload, and I also think it's not designed for WPMU.

  • Not enough information. Does the homepage on domain1 and domain2 contain asset urls that link to domain1/2? Does domain3.com contain the same assets?
    – user42826
    Jan 31, 2017 at 1:42

1 Answer 1


It may not be the most graceful way of doing this, but you could setup a redirect using PHP, instead of using htaccess.

So you could do something along the lines of, just changing the Google URL to your other websites:

<?php if ( is_home() ) { } else { ?>
    <?php $websiteURL = 'http://www.google.co.uk';
    <?php header('Location: '.$websiteURL); ?>
<?php } ?>

Let me know how you get on...

  • Is this a proper 301 redirect? We don't want to lose any SEO juice. Right now I redirect everything using Cloudflare, but Google is not accepting the 'change of address'. Also it redirects the homepage as well, which is not ideal. Jan 30, 2017 at 14:27
  • They both do the same job, by redirecting the page, so I don't think this will have any impact on Google rankings. Jan 31, 2017 at 17:19

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .