Wordpress MU, can't access /wp-admin

前端 未结 2 474
悲哀的现实
悲哀的现实 2021-01-16 23:08

I\'ve set up a MU install with two domains, using the WordPress MU Domain Mapping-plugin.

The system is first configured with subdomain d2.domain1.com (under sitesan

相关标签:
2条回答
  • 2021-01-16 23:11

    When changing between subdomain and folder-setup, there might be a error in the wp_site-table. Make sure that the path is set to / for the main domain.

    0 讨论(0)
  • 2021-01-16 23:13

    This is another solution

    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');
    

    to wp-config.php file.

    0 讨论(0)
提交回复
热议问题