New Multisite install, can't access admin dashboard of subdomain sites
-
Hello,
This is my first WordPress Multisite install on a live server and I’m having trouble accessing the admin dashboard of the sub domain sites I created.
(It’s also my first post in the WordPress Support forums)
My Setup is something like this:
Main Site: mainsite.com.au
Sub Site 1: sub1.mainsite.com.au
Sub Site 2: sub2.mainsite.com.auI can access mainsite.com/wp-admin without any problems.
But when I try to access either sub1.mainsite.com/wp-admin OR sub2.mainsite.com/wp-admin, I get redirected to:
“someotherdomain.com.au” being another WordPress site (NOT multisite) running on the same virtual server.
My web host said the wildcard DNS is setup properly and it must be a WordPress application issue.
This is my .htaccess file:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]This is what I added to the wp-config.php file:
define('WP_ALLOW_MULTISITE', true); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'mainsite.com.au'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); /* That's all, stop editing! Happy blogging. */
Note: I’ve just replaced my actual domain with “mainsite.com.au”.
Any help would be great, as I am completely stuck and I have been struggling to find a solution to this issue, Google returns me a bunch of domain mapping solutions which is if you want a different domain from what I can understand, but that’s not what I want, I just need Multisite subdomain install to function properly.
Advise and suggestions will be greatly appreciated.
Thank you.
- The topic ‘New Multisite install, can't access admin dashboard of subdomain sites’ is closed to new replies.