Quote:
Originally Posted by Trax
i thought WPMU is only for one domain? can i manage several blogs on different domains & hosts with it?
|
No, hosts has to be the same (in fact it's possible to use it on several servers but it would be a pain in the ass)
However, you can use it on as many domains as you want, instead of setting whatever.yourdomain.com you can use yourdomain1.com, anotherdomain.com, awesomedomain.com and so on. You just need to do this simple modification:
Code:
In wp-newblog.php, replace the line:
print '<input name="weblog_id" type="text" id="weblog_id" value="'.$weblog_id.'" maxlength="50" style="width:40%; text-align: right; font-size: 30px;" /><span style="font-size: 30px">.' . $current_site->domain . '</span><br />(<strong>Your address will be username.' . $current_site->domain . '.</strong> Must be at least 4 characters, letters and numbers only. It cannot be changed so choose carefully!)</td> </tr>';
with:
print '<input name="weblog_id" type="text" id="weblog_id" value="'.$weblog_id.'" maxlength="50" style="width:40%; text-align: right; font-size: 30px;" /><span style="font-size: 30px">.</span><select name="weblog_domain" style="width:50%; text-align: right; font-size: 30px;" /><option value="journals.ie">journals.ie</option><option value="galwaycity.com">galwaycity.com</option></select><br />(<strong>Your address will be username.domainname.com.</strong> Must be at least 4 characters, letters and numbers only. It cannot be changed so choose carefully!)</td> </tr>';
Also, after the lines:
if( substr( $domain, 0, 4 ) == 'www.' ) $domain = substr( $domain, 4 );
add the line:
$domain = $_POST[ 'weblog_domain' ];
extracted from
http://www.johnbreslin.com/wiki/inde...Modi fication
or if you don't want to complicate your life, simply use
WPMU DEV Multi Site Manager and problem solved
