• Within my multisite setup, I’m currently being redirected to my main website’s dashboard, instead of being sent to a subdomain dashboard.

    Here are the steps that I take:
    1) I go to the “My Sites” tab
    2) I go to “Main Page” and click on dashboard
    3) I am directed to the “Main Page” dashboard
    4) I go to the “My Sites” tab
    5) I go to “Another Page” (will end up being mainpage.com/anotherpage) and click on dashboard
    6) I am directed to the “Main Page” dashboard

    Why am I being directed to the “Main Page” dashboard instead of being directed to the “Another Page” dashboard?

    Side info:
    I am a super admin and I’m an admin on all the other pages that I’ve created.

    I’m not sure if I pulled a wrong move during the install, but any advice or help would be much appreciated. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey!

    You write:

    instead of being sent to a subdomain dashboard.

    and then:

    will end up being mainpage.com/anotherpage

    Have you installed the network based on Sub-domains or Sub-directories? Do you have this issues also in the frontend or only in the backend? Could you please post the contents of your .htaccess?

    Cheers

    Thread Starter tpattersontyx

    (@tpattersontyx)

    5k9m, thanks for being willing to help out!

    I set the multisite to be based on sub-directories and it seems that I have issues on the frontend and backend. Evenstill, I set this up previously and got differing, correct results.

    Here is the code in my .htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Hey!

    Sorry for my late answer – was a long day at work yesterday.
    Well, as your .htaccess setup is right, my best guess would be a wrong wildcard subdomain setup. Your host might not allow to register subdomains on the fly, therefore, redirects all invalid calls to the main domain.

    I would suggest talking to your host – at least that’s the only reasonable issue I can think of in your case.

    Thread Starter tpattersontyx

    (@tpattersontyx)

    No worries! Thank you so much for following up. I’ll definitely shoot a message to my host and see what’s up.

    Again, thank you for the help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multisite Subdoman Dashboard Issue’ is closed to new replies.