WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sub-site dashboards not working (12 posts)

  1. sturvey
    Member
    Posted 2 years ago #

    I've got a problem with the subsites on my network install. When I click on 'dashboard' for each of them, the page that comes up is incomplete and isn't being parsed. So...

    example.com/blogs/name-of-blog/wp-admin/

    Looks like:

    admin" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.example.com/blogs/wp-admin/network/">Network Admin</a> ...

    and goes on until </body></html>.

    If I view the sites themselves in a browser the content is pulling through but none of the CSS, images etc are linked up.

    Can anyone help?

  2. Josh Maxwell
    Member
    Posted 2 years ago #

    First things I suggest doing is to disable all your plugins and re-enable them one at a time to make sure there are no conflicting plugins/code.

  3. aria-haspopup ... Sounds like a theme.

  4. sturvey
    Member
    Posted 2 years ago #

    Disabled all plugins but no improvement. There is definitely a problem with the theme but I don't know why the dashboards are also screwed up.

  5. DavyB
    Member
    Posted 2 years ago #

    aria-haspopup has links to it at http://www.w3.org/TR/wai-aria/
    and
    http://www.w3.org/TR/#tr_Accessible_Rich_Internet_Applications__WAI-ARIA_

    aria-haspopup itself, is NOT a theme

  6. sturvey
    Member
    Posted 2 years ago #

    When I view source on the "live" sub blog, the path it is trying to access for the style sheet is:

    http://www.example.com/blogs/name-of-subsite/wp-content/themes/twentyeleven/style.css

    but the actual location is:

    http://www.example.com/blogs/wp-content/themes/twentyeleven/style.css

  7. That's okay, that's supposed to happen.

    Did you update your .htaccess correctly for Multisite?

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    aria-haspopup itself, is NOT a theme

    No but it could be coming from a theme - which is was meant originally.

  9. sturvey
    Member
    Posted 2 years ago #

    Here's my htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blogs/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blogs/index.php [L]
    </IfModule>
    # END WordPress
  10. sturvey
    Member
    Posted 2 years ago #

    and wp-config:

    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/blogs/';
    define( 'DOMAIN_CURRENT_SITE', 'www.example.com' );
    define( 'PATH_CURRENT_SITE', '/blogs/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
  11. To quote Mr. James Hyneman, "Well, there's your problem."

    Read http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite

  12. sturvey
    Member
    Posted 2 years ago #

    Great, thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic