• Hi we are using wordpress 3.1 with multisites, everything works correctly except some urls: for example
    1. when you try to logout it redirects to :http//blog.com/
    NOT in https://blog.com/(the ??
    2. When we wanted to update multi sites also the same url is :
    <a href="https://https://www.blog.com/wp-admin/network/upgrade.php">Update networks</a>
    not <a href="https://www.blog.com/wp-admin/network/upgrade.php">Update networks</a>

    and when I try to go directly to https://www.blog.com/wp-admin/network/upgrade.php ir redirects to http//www.blog.com/wp-admin/network/upgrade.php

    Have looked at at all options in database all url of site are correct, searched over sql file and all websites files there is no declaration of http// or https://http//

    Maybe some could try to help, by telling where the problem might be .. because already trying to fix it for a long time and could not found a solution

Viewing 2 replies - 16 through 17 (of 17 total)
  • I think that the problem is this: https://core.trac.www.ads-software.com/ticket/17090#comment:19

    it worked for me.

    We had modifed the following code from the file “admin.php” in the path “/wp-admin/network”.

    =========== Previous Code

    if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
    wp_redirect( network_admin_url() );
    exit;
    =========== Corrected Code

    if ( ! is_main_site() ) {
    wp_redirect( network_admin_url() );
    exit;

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The trac ticket was flagged invalid, and please, DO NOT edit core! That way lies insanity.

    Repeat and closing:

    overnoise – Same advice.

    1) Turn off all the plugins.
    2) Manual update.

    Also confirm your problem is that you are missing the COLON in https://yoururl.com

    If not, make a new topic.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘WordPress multisite incorrect url problem’ is closed to new replies.