Subsites don't have the correct admin links and gives an error x 2

When a user logins into their site the Admin toolbar shows their subsite name with the comments bubble and the "+ New" menu which works great.

When the sub user clicks "New Post" the link shows/reads as http://mainsite.com/wp-admin/post-new.php, instead of http://mainsite.com/subsite/wp-admin/post-new.php. when clicked a WordPress message comes up (see attached)

Second error, which is possibly related. when I login as the Super admin and goto My sites. All the subsites are shown. The sites with the domain mapped show the mappeddomain.com/wp-admin, which is how it should work but the non mapped domains show mainsite.com/wp-admin on the dashboard links instead of mainsite.com/subsite/wp-admin?

  • Kimberly
    • Champion of Loops

    Hi John!

    I’m not very experienced with Domain Mapping, but thought I would throw this thread out there: https://premium.wpmudev.org/forums/topic/domain-mapping-produces-reverse-effect#post-56651 it’s not the same problem you are having but it does deal with some wires being crossed via domain mapping

    Are these errors taking place immediately after you create or domain map a site? Or is this an error that has just started occurring on your network?

    Best,

    Kimberly

  • aecnu
    • WP Unicorn

    Greetings John,

    Thank you for being a WPMU Dev member!

    Please check the Domain Mapping setting in your network admin –> Settings –> Domain Mapping –> Administrative Mapping that it reflects the "domain entered by user" setting.

    See screen shot below.

    If this thread is not resolved because the suggested action did not work or you have any more questions related to this thread, please feel free to post them below including any new symptoms or errors and tick the 'Mark as Not Resolved (re-open)' box below the post area (or else we'll miss it!)

    Cheers, Joe :slight_smile:

  • John
    • Site Builder, Child of Zeus

    I checked and my settings match your settings. also I reinstalled it just in case and I am still stuck in the same spot. Any words of wisdom?

    My host said that:

    The default Apache virtual host points at your WordPress 3.0 network so it will handle unknown domains correctly.

    Is this correct?

  • aecnu
    • WP Unicorn

    Greetings John,

    Hey absolutely no problem with making two posts or more.

    The default Apache virtual host points at your WordPress 3.0 network so it will handle unknown domains correctly.

    Which version of WordPress are you using, version 3.3.1?

    I know you mentioned “everything on my install is fully updated” but the statement from your host “virtual host points at your WordPress 3.0 network” prompted the question.

    When the sub user clicks “New Post” the link shows/reads as http://mainsite.com/wp-admin/post-new.php, instead of http://mainsite.com/subsite/wp-admin/post-new.php. when clicked a WordPress message comes up (see attached)

    They get this message even when using their own URL (sub domain or mapped domain) to login?

    Second error, which is possibly related. when I login as the Super admin and goto My sites. All the subsites are shown. The sites with the domain mapped show the mappeddomain.com/wp-admin, which is how it should work but the non mapped domains show mainsite.com/wp-admin on the dashboard links instead of mainsite.com/subsite/wp-admin?

    I cannot reproduce this though my development install is a sub-domain install. However, I do think that being logged in as super admin and going to My Sites is a clear indication that you are not in fact looking at it as network admin as indicated by My Sites since network admin only offers “Sites”.

    Furthermore and possibly more importantly what do you see when not logged in as super admin but as a regular user?

    Cheers, Joe :slight_smile:

  • aecnu
    • WP Unicorn

    Greetings John,

    We have not heard back from you in sometime now and I am curious to know if you have resolved this issue yourself or some other way?

    If so no need to reply.

    I am marking this ticket as resolved. However if it is not resolved or you have further questions relative to this ticket please simply mark it as not resolved using the check box below or we will possibly miss it.

    Cheers, Joe :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.