Running Same WordPress Site on 2 Or More Domains !

  Have you ever thought of running your wordpress site on two domains ie, with same content ? Here is a simple solution for you. Logic Overriding the WP_SITEURL , WP_HOME, WP_PLUGIN_URL Add the following lines to wp-config.php $telsite=$_SERVER['SERVER_NAME']; if($telsite=="arevindh.me") { define( 'WP_SITEURL', 'http://www.arevindh.me' ); define( 'WP_HOME', 'http://www.arevindh.me' ); define( 'WP_PLUGIN_URL', 'hwww.arevindh.me/wp-content/plugins' ); } else { … Continue reading Running Same WordPress Site on 2 Or More Domains !