iainsimons
Member
Posted 10 months ago #
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/
steciorg
Member
Posted 5 months ago #
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.
bws-online
Member
Posted 5 months ago #
I'm looking to do this kind of thing as well -- any updates?
bws-online
Member
Posted 4 months ago #
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.