New answers tagged subdomains
1
I'm not sure that what you want is possible.
Per the WordPress Codex page on Multisite:
You are given the choice between sub-domains and sub-directories,
except when existing settings restrict your choice.
You must choose one or the other.
So you can set your network up to use either sub-domains OR sub-directories for your child sites, but not ...
0
After setting define('WP_ALLOW_MULTISITE', true); in your wp-config.php file and doing "Network Activate", you need to copy some new constants to your wp-config.php file. Are the following constants definitions there?
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
1
I found the solution , it's dead simple, I should add myself to the child site as a user, I guess this should be done by default.
0
Google led me to this page: http://lauragentry.com/blog/2012/01/05/when-wordpress-network-subdomain-blogs-wont-let-you-log-in/
There's a chunk of code in there that I added to my wp-config.php file, to wit:
define('ADMIN_COOKIE_PATH', '/');
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
What I don't quite understand ...
Top 50 recent answers are included