Wordpress MU, can't access /wp-admin -
i've set mu install 2 domains, using wordpress mu domain mapping-plugin.
the system first configured subdomain d2.domain1.com (under sitesand mapped
domain2.com d2.domain1.com
the following settings in domain mapping checked: remote login, permanent redirect, user domain mapping page, redirect administration pages site's original domain
my problem can't access admin domain2.com/wp-admin - gives me error:
now domain mapping plugin works if site installed in /. limitation of how virtual servers work , difficult work around.
but wordpress installed in /.
relevant wp-config below:
define( 'multisite', true ); define( 'subdomain_install', true ); // $base = '/'; define( 'domain_current_site', 'domain1.com' ); define( 'path_current_site', '/' ); define( 'site_id_current_site', 1 ); define( 'blog_id_current_site', 1 ); define( 'noblogredirect', 'http://domain1.com' );
when changing between subdomain , folder-setup, there might error in wp_site-table. make sure path set /
main domain.
Comments
Post a Comment