How To use always third level domain names
-
Hi,
i’m using a multisite WordPress configuration.
I have recently upgraded my WordPress Version from 3.1 to 3.3.1 and i have some problems with authentication.
The main problem is that, from the previuous versions, at every news site configuration, i change the default domain level.
The main domain is “blog.domain.com” so, creating new sites, WordPress create domains like “newblog.blog.domain.com”.
So every time, I manually change the domain info from “newblog.blog.domain.com” to “”newblog.domain.com”.
Everthing works finw until latest upgrade to 3.3.1Now, leaving the same configuration, I’m unable to authenticate into secondary blogs; I’m able to authenticate only into the main blog.
So, I have tested many configuration and these are the results:
TEST N.1- Removed the “define(‘DOMAIN_CURRENT_SITE’, ‘blog.domain.com’ )” line into wp-config.php
- Changed the “domain” filed into wp_site db table from “blog.domain.com” to “domain.com”
Result
- I’m able to authenticate on all blogs
- All “network admin” link are broken because points on “http://domain.com/…” instead of “http://blog.planetek.it/…”
- Also, if I manually try to use network links like “http://blog.domain.com/wp-admin/network/sites.php”, I’m redirected to “http://domain.com/wp-admin/network/sites.php”
TEST N.2
- Added the “define(‘DOMAIN_CURRENT_SITE’, ‘blog.domain.com’ )” line into wp-config.php
- Changed the “domain” filed into wp_site db table from “domain.com”
Result
- I’m unable to authenticate on all blogs
- I can only authenticate on primary blog “blog.domain.com”
- All “network admin” works fine
So the questions are:
– Can WordPress use multi site configurations with same level domain names (like blog1.domain.com, blog2.domain.com, etc.)
– If YES, wich are the right parameters?Thanks 😉
- The topic ‘How To use always third level domain names’ is closed to new replies.