Tag: 2 ip addresses
WordPress on 2 IP addresses
I needed to access an intranet wordpress hosted on a server with 2 networks and to be accessible from any of them (no DNS server available). WordPress wants on Settings – General to have an address. Long story short, open wp-config.php and add the following lines: $current_host = $_SERVER[‘HTTP_HOST’]; define(‘WP_HOME’,…

