[wp-hackers] Multisite w/ Subdomain issues

Peter Westwood peter.westwood at ftwr.co.uk
Wed Oct 20 11:25:46 UTC 2010


On 20 Oct 2010, at 11:56, Alex Hempton-Smith wrote:

> I've tried this before and it's difficult with multi-site set up.
> 
> I guess the question is, how do we 'jump in' before WordPress serves up the
> registration page at m.example.com and instead serve up example.com with a
> different theme?
> 
> Because, once we set up subdomain wildcards, WP is running the show then?
> 
> 

I guess the answer would be to put some code in sunrise.php to make WP believe that the current blog is the one you want it to in this case and make it use the right theme

Cheers
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list