WordPress Muti-Domain Update
By: Peter SaxonIf you have parked domains, a simple mod to the wp-config.php file can make everything work.
You can find a few plugins to do this, but it really isn’t necessary .
You can simply add a couple of lines of code to the top of your wp-config.php file.
//wp_saxon_multidomain_start
define( 'WP_SITEURL','http://'.$_SERVER['SERVER_NAME'].'/wp' );
define( 'WP_HOME','http://'.$_SERVER['SERVER_NAME'] );
//wp_saxon_multidomain_end
Then – to make sure your links work, set the Permalinks to Custom:
/%post_id%/%postname%
Press Save to save the new permalink structure, and everything should work great.
I have no problems with plugins, this mod works with most plugins without any modification.
