Multisite (Subdomain) Not Finding New Sites
-
I am troubleshooting an unexpected issue in that I appeared to have multisite (subdomain) working just a couple weeks ago.
Originally I had multisite (subdomain) working with version 3.1 with several plugins, but then somewhere in the course of development, I lost the ability to add new sites. I tried going back several iterations of backups and turning off plugins but could not get it to function again.
This morning I started with a fresh install using 3.1.3, configured it for multisite (subdomain), added my premium theme and removed twentyten, with no plugins activated, but ended up getting the same results: I can step through creating a new site, but links to the new site (‘visit’, ‘dashboard’, etc) get redirected to a registration page. I noted these links were for domain.com, not the new sub.domain.com.
In researching, I came across this post: http://wordpress.org/support/topic/second-site-is-blank-but-wp-admin-works?replies=13, and so I reinstalled twentyten, after which the links included the subdomain in the url (sub.domain.com), but clicking on them still resulted in getting redirected to the registration page for the original site (domain.com). Perhaps there is a clue in that twentyten is more multisite aware than my premium theme…
I have double and triple checked, my wp-config.php, httpd.conf and .htaccess, and have verified that I have an A record for *.domain.com setup in CPanel. I tried disabling (renaming) .htaccess to verify it was working, and when I did, all the permalinks started throwing errors. So, it appears to be working. I also verified that new tables were being created in phpMyAdmin. There were 9 new tables and wp_blogs showed the original, domain.com, as well as the new sub.domain.com.
The fact that I still have the issue after performing a fresh install makes me think I should be focused on my virtual dedicated server (godaddy), but I am open to suggestions.
Thanks in advance.
- The topic ‘Multisite (Subdomain) Not Finding New Sites’ is closed to new replies.