WordPress.org

Support

Support » Plugins and Hacks » Redirection » [Plugin: Redirection] wordpress multisite : main site redirect to network site

[Plugin: Redirection] wordpress multisite : main site redirect to network site

  • Hello!

    We have a multisite install, which serves a number of subdomains thus :

    Mainsite.org

    Site1.mainsite.org

    Site2.mainsite.org

    and so on…

    What I’m trying to do, is redirect ‘mainsite.org’ to redirect to ‘site1.mainsite.org’ for a few months, whilst an event is taking place.

    Could anyone advise as to the best way of doing this?

    Many (many) thanks in advance….!

    http://wordpress.org/extend/plugins/redirection/

Viewing 3 replies - 1 through 3 (of 3 total)
  • steciorg

    @steciorg

    Hi, Were you able to figure out a solution for this? I’m kinda looking for the same thing and I saw references in the wp-config file but I don’t know if that’s the right way to do it.

    I’m looking to do this kind of thing as well — any updates?

    I ended up creating a new template in my theme, and then applied that template to the homepage on my http://www.mainsite.com. In that template I have something like this:

    <?php
    /* Template Name: Page - Main Site Home */
    
    header( 'Location: http://site1.mainsite.com' );
    
    ?>

    NOTE: I didn’t use the Redirection plugin (or any plugin) for this, but thought the info might be helpful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Redirection] wordpress multisite : main site redirect to network site’ is closed to new replies.
Skip to toolbar