• 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 15 replies - 1 through 15 (of 17 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What’s in the multisite section for your wp-config.php file?

    Thread Starter XFaktor

    (@xfaktor)

    define('WP_DEBUG', false);
    
    define('WP_ALLOW_MULTISITE', true);
    
    define( 'MULTISITE', true );
    
    define( 'SUBDOMAIN_INSTALL', false );
    
    $base = '/';
    
    define( 'DOMAIN_CURRENT_SITE', 'www.blog.com' );
    
    define( 'PATH_CURRENT_SITE', '/' );
    
    define( 'SITE_ID_CURRENT_SITE', 1 );
    
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, check your database, in the WP_sites table. Check to see if you have any prefixes in there.

    Also double check that you don’t have an extra base line in your WP-config.php file. Some hosts shoot you in the foot and do that.

    Thread Starter XFaktor

    (@xfaktor)

    wp_site just normal url

    id domain path
    1 https://www.blog.com /

    wp_blogs

    blog_id	site_id	domain	path	registered	last_updated	public	archived	mature	spam	deleted	lang_id
    1	1	blog1.com	/	2010-09-20 08:09:59	2011-03-27 15:29:49	0	0	0	0	0	0
    2	1	www.blog2.com	/site2/	2010-09-20 08:18:23	2011-03-08 11:30:02	1	0	0	0	0	0

    checked there is no other base line in wp_config ..

    It seems that there is some core problem, but i think it may be fixes for example by editing wp_secure_redirect function … I dont know what to do else ..

    It seems that there is some core problem, but i think it may be fixes for example by editing wp_secure_redirect function

    If it was a core problem, then *everyone* would have the same problem, yes?

    Thread Starter XFaktor

    (@xfaktor)

    I mean I am NOT working for this protect from the begin, so it may be that guys before changed something in core files, that have not been overwritten by 3.1 update. So i am searching just how to quick fix it, that links worked correctly.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    2 1 https://www.blog2.com /site2/ 2010-09-20 08:18:23 2011-03-08 11:30:02 1 0 0 0 0 0

    So you’re using the domain redirection plugins? Andrea, should it have the https://www stuff in there?

    Thread Starter XFaktor

    (@xfaktor)

    I actually tried that, changed blog1.com to https://www.blog1.com did not made the difference, the logout is still not working correctly, the update link also … any other ideas ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Brain fart. Try Turning off your plugins.

    Thread Starter XFaktor

    (@xfaktor)

    tried turn off everything, test , turn them back ,test – same ! :S

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Try a fresh copy of the 3.1 files? Maybe you have a corruption.

    Thread Starter XFaktor

    (@xfaktor)

    So thats what i am afraid of ?? it will be peaty difficult i think. So thats why I thought maybe it maybe fixed by some quick fix, by rewriting some function or etc.. Thanks anyway.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Don’t worry about a fresh copy of the files. It WILL NOT overwrite your settings, posts or anything important (unless you’ve hacked core).

    Same problem here. I’m trying to fix.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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 15 replies - 1 through 15 (of 17 total)
  • The topic ‘WordPress multisite incorrect url problem’ is closed to new replies.