WordPress MU subdomain vhost

Basically, it turns out you need two dedicated IP addresses, or a third vhost. IP Address You could use two IP addresses and do something like this in your apache configuration: #IP address for WP NameVirtualHost 12.34.56.78:80 #For everything else NameVirtualHost *:80 Then, make sure the VirtualHost for WordPress is declared thus: <VirtualHost 12.34.56.78:80> and … Read more

Why is a wordpress login session limited to one domain

While www and non-www versions of site are considered kind of same thing from user perspective, technically they are two completely different domains, possibly hosting completely different sites on different servers. Since cookies are domain-specific WP treats them accordingly. It’s not impossible to rework this, since cookie-related functions seem to mostly be pluggable, but really … Read more

Conflict with wp_homeurl, wp_siteurl and admin interface settings

The constants you need to define are WP_HOME, not WP_HOMEURL, and WP_SITEURL, and you need to complete address. Your addresses are missing the scheme— http:// define( ‘WP_SITEURL’, ‘http://local.192.168.3.101.xip.io’); define( ‘WP_HOME’, ‘http://local.192.168.3.101.xip.io’ ); Without the scheme, WordPress treats those URIs like relative addresses. You can see that in the address bar if you watch what is … Read more

“Database Connection Error” upon install in Apache VirtualHost document root.. Why did this happen? [closed]

You need to set these too: define(‘AUTH_KEY’, ‘put your unique phrase here’); define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’); define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’); define(‘NONCE_KEY’, ‘put your unique phrase here’); define(‘AUTH_SALT’, ‘put your unique phrase here’); define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’); define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’); define(‘NONCE_SALT’, ‘put your unique phrase here’); Please … Read more