I have a nice working WPMU/Buddypress site with 600+ members.
I want to create a site for a spinoff project on another domain that should use the same database; the template would remix the content differently.
I guess I can just use a copy of the php folders with the same database connection settings in the config file, but even if you come in at secondsite.com, all the links will of course move you to firstsite.com, because that's what's in the database.
Is there a baseurl rewrite trick that can force the system to continue to use 'secondsite.com' instead of switching to 'firstsite.com' if you come in through secondsite.com?
Perhaps a line in .htaccess?
Or a catch-all way to define siteurl or whatever template tag as 'secondsite.com' and supersede what's in the database?