Title: WordPress multisite incorrect url problem
Last modified: August 19, 2016

---

# WordPress multisite incorrect url problem

 *  [XFaktor](https://wordpress.org/support/users/xfaktor/)
 * (@xfaktor)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/)
 * 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 `http://blog.com/`(the 🙂 2. When we wanted to update multi sites
   also the same url is : `<a href="http://http://www.blog.com/wp-admin/network/
   upgrade.php">Update networks</a>` not `<a href="http://www.blog.com/wp-admin/
   network/upgrade.php">Update networks</a>`
 * and when I try to go directly to `http://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 [http://http//](http://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)

1 [2](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/page/2/?output_format=md)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000611)
 * What’s in the multisite section for your wp-config.php file?
 *  Thread Starter [XFaktor](https://wordpress.org/support/users/xfaktor/)
 * (@xfaktor)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000642)
 *     ```
       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)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000667)
 * 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](https://wordpress.org/support/users/xfaktor/)
 * (@xfaktor)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000694)
 * wp_site just normal url
 *     ```
       id domain path
       1 http://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 ..
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000707)
 * > 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](https://wordpress.org/support/users/xfaktor/)
 * (@xfaktor)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000710)
 * 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)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000716)
 * `2 1 http://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 [http://www](http://www)
   stuff in there?
 *  Thread Starter [XFaktor](https://wordpress.org/support/users/xfaktor/)
 * (@xfaktor)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000720)
 * I actually tried that, changed blog1.com to [http://www.blog1.com](http://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)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000725)
 * Brain fart. Try Turning off your plugins.
 *  Thread Starter [XFaktor](https://wordpress.org/support/users/xfaktor/)
 * (@xfaktor)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000726)
 * tried turn off everything, test , turn them back ,test – same ! :S
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000728)
 * Try a fresh copy of the 3.1 files? Maybe you have a corruption.
 *  Thread Starter [XFaktor](https://wordpress.org/support/users/xfaktor/)
 * (@xfaktor)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000755)
 * 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)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000763)
 * 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).
 *  [overnoise](https://wordpress.org/support/users/overnoise/)
 * (@overnoise)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000936)
 * Same problem here. I’m trying to fix.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 11 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/#post-2000937)
 * overnoise – Same advice.
 * 1) Turn off all the plugins.
    2) Manual update.
 * Also confirm your problem is that you are missing the COLON in [http://yoururl.com](http://yoururl.com)
 * If not, make a new topic.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/page/2/?output_format=md)

The topic ‘WordPress multisite incorrect url problem’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 17 replies
 * 4 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/wordpress-multisite-incorrect-url-problem/page/2/#post-2000939)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
