Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ssorrenti

    (@ssorrenti)

    I think this function is the issue. Can anyone help with this?

    function network_admin_url( $path = ‘/’, $scheme = ‘admin’ ) {
    if ( ! is_multisite() )
    return admin_url( $path, $scheme );

    $url = network_site_url (‘/’, $scheme);

    if ( !empty($path) && is_string($path) && strpos($path, ‘..’) === false )
    $url .= ltrim($path, ‘/’);

    return apply_filters(‘network_admin_url’, $url, $path)

    Thread Starter ssorrenti

    (@ssorrenti)

    The domain I am using is not the issue. The issue is that the relative path that is converted to an FQDN by the network_admin_url variable?

    I cannot locate this in the database or in the php files.

    Can anyone help with this?

    Thread Starter ssorrenti

    (@ssorrenti)

    I have the sites accessible by manually changing the URL from network_admin_url to the FDQN, but it appears that are far too many places to make it easy to change.

    Can anyone help with changing the variable network_admin_url ?

    Thread Starter ssorrenti

    (@ssorrenti)

    This is the code I need to change from index.php, but I am not sure how to go about it.

    <li id="wp-admin-bar-network-admin-d" class=""><a href="https://learn.stleonards.vic.edu.au">Dashboard</a>
    		<li id="wp-admin-bar-network-admin-s" class=""><a href="https://learn.stleonards.vic.edu.ausites.php">Sites</a>
    		<li id="wp-admin-bar-network-admin-u" class=""><a href="https://learn.stleonards.vic.edu.auusers.php">Users</a>
    		<li id="wp-admin-bar-network-admin-v" class=""><a href="https://learn.stleonards.vic.edu.au">Visit Network</a>		</div>

Viewing 4 replies - 1 through 4 (of 4 total)