WordPress Domain Mapping
-
Have disabled the WordPress MU Domain Mapping plugin as it started to cause conflicts with some plugins and am trying to use the native WordPress Multisite setup.
Main site is xxwp.com (with wp in the address)
Added subdomains as xx.xx.com (without the wp in the address)Public facing pages of all subdomains work well, but when in the main site xxwp.com admin (with the wp) , I cannot access the individual dashboards for the subdomains like xx.xx.com.
If I go to the dashboard URL for the individual subdomains directly, like xx.xx.com, I get this error, “Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”
Have added define( ‘COOKIE_DOMAIN’, $_SERVER[ ‘HTTP_HOST’ ] ); to the wp-config file.
Also tried adding
setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, SITECOOKIEPATH, COOKIE_DOMAIN);
to the theme functions file.Still getting the Cookies are Block error…
Any suggestions?
The topic ‘WordPress Domain Mapping’ is closed to new replies.