I am trying to get the home page only (index) of specific blogs in my multisite instance to redirect to another URL entirely. I want people to be able to resolve links to individual pages/articles, just the home page will redirect.
Not all the sub-sites in multisite,just 1 or 2.
The intent is to basically 'archive' the site, but move the index page to a new URL
How can I specify specific blogs on the stack? Is this better done as a header redirect? Can it be done in htaccess? There doesnt seem to be an individual dir for each sub-site with its respective htaccess, otherwise it would be pretty straightforward. Target the IDs of the blogs?
Something like WP_Maintenance comes close but only redirects once logged in. I cant seem to find a plugin that does this specifically either, but would be happy to make one if it could be hooked in this fashion.
Im familiar with htaccess, but how can I target specific blogs? I have found examples and posts on several issues that are close, but not this exactly. Im sure this is something dreadfully simple that Im overlooking.
Most importantly Im looking for a 'Wordpress safe' answer that won't have unintended consequences.