• Resolved okieman

    (@okieman)


    When I try to reach the network dashboard for my site, something removes a / from the string and breaks access. I’ve search all the site files and the database. The Chrome inspector (and Firebug in Firefox) shows me the problem in the html affiliated with “My Sites” at top left but I don’t know where it’s pulling from. Notice missing / after .com in the following …

    https://www.tulsaunity.comwp-admin/network/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter okieman

    (@okieman)

    OK I may have a fix or a bad decision. I went into wp-admin/network and commented out line 18 which has a redirect I don’t understand. I can get in now (IF I hardcode the normal URL and do paste-and-go), but what is the intent of this original code? …

    $redirect_network_admin_request = 0 !== strcasecmp( $current_blog->domain, $current_site->domain ) || 0 !== strcasecmp( $current_blog->path, $current_site->path );

    And why is the wrong link still inside My Sites / Network Admin ?

    Thread Starter okieman

    (@okieman)

    Although I found another person here who (4 yrs ago) had the same problem that was never resolved, mine turned out to be a basic fix. That’s my terminology for newbie error corrected.

    Although my database had a trailing slash in the usual locations, it was not in wp-config.php in the following line …

    define('PATH_CURRENT_SITE', '/');

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Access to network dashboard blocked concatenated link’ is closed to new replies.