I found a fix here: http://core.trac.wordpress.org/ticket/15936
You basically need to modify wp-includes/ms-settings.php like this (remove ‘-‘ lines; add the ‘+’ line):
@@ -26,18 +26,8 @@
if ( !isset( $current_site ) || !isset( $current_blog ) ) {
+ $_SERVER['HTTP_HOST'] = preg_replace( '|:\d+$|', '', $_SERVER['HTTP_HOST'] );
$domain = addslashes( $_SERVER['HTTP_HOST'] );
- if ( false !== strpos( $domain, ':' ) ) {
- ....
- wp_die( /*WP_I18N_NO_PORT_NUMBER*/'Multisite only works without the port number in the URL.'/*/WP_I18N_NO_PORT_NUMBER*/ );
- }
- }
Related Posts:
- Multisite Network Port Num Issues?
- How do I transition multiple installations to a single Multisite installation?
- WordPress Multisite with multiple domains using Nginx
- Generate WP-CLI @alias for each site on multisite
- Broken image multisite
- Testing Multisites with vagrant or Can I use multisite with only an IP address (without domain name)
- Hide root site in Multisite install
- Multiple Multisite networks on the same domain?
- Subdomain and subdirectories together in one installation
- Alias domain to Multi-site installation in Apache
- Multisite on Rackspace Cloud (ubuntu lucid)
- Does WordPress MultiSite use separate MySql databases?
- WordPress with Lan and Wan Access?
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- What are good approaches to routing some urls to a second WordPress install?
- 403 forbidden when changing settings on WP Multisite non-main sites
- Multisite on single wordpress
- How much resources are good enough for 3.9.2
- Problem with new Multisite Installation
- Problems with WordPress multisite directories/url structures and admin access after migration
- How to map domains to specific pages in WordPress and display them in the address bar?
- Run WordPress multisite from secondary volume on AWS EC2
- Why the sites dropdown in multi-site installation is different from the list of sites when seen full page?
- How do I test my WordPress subdomains on AWS during migration?
- Unexpected Login Redirect in Localhost WordPress Sites
- Unable to change blog language in multisite
- Switching primary site in WordPress Multisite
- Use wp_nav_menu() to display a Menu from another site in a Network install?
- How to set an option for all sites in my network?
- How to set up wordpress domain mapping on MAMP Pro
- How to hide admin account in BuddyPress? (for security reasons)
- Issue with Custom Roles in Multisite
- Force plugin to be activated only from multisite network dashboard [duplicate]
- Delete sites in wordpress multisite (not suspend)
- Redirect to a Plugin Settings Page After Multisite Site Creation?
- WordPress Multisite – Multiple subfolders for blogs
- Uploading/Deploying a Multi Site Install
- Is it possible to fix/repair all Index, Primary Key, Unique (and all other) structure of a WordPress MS Database
- Trying to migrate a WordPress Multisite with Domain Mapping
- Manipulate list of themes in wp-admin
- why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?
- How to run nested xargs commands?
- How to add edit users capability to a custom role?
- How to change the database prefix in multisite (WPMU) install
- Efficiently manage a huge number of blogs given server-side restrictions
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- Accessing multiple sites via FTP
- Icon font not working on subdomains of multisite
- Getting this code to work in Multisite
- Search post in all blogs in WPMU?
- Multi-site: removing /blog from posts
- Multiple install for multilanguage. How to?
- Migrating Multisite – Database error, missing wp_blogs table
- What is the function to get options of the parent site of a multisite network?
- Issue with htaccess redirection in WP Multisite
- WordPress MultiSite login to the respective site
- How to detect the context of homepage for a wordpress mu sub-blog
- Multsite redirecting to the main site
- WordPress MU Domain Mapping Just Redirects to Main Site
- Multisite: cloning, but also updating too
- Using the standard WordPress “New User” interface on a multisite
- Add multisite switch button. Click to switch to other page in same admin area
- WooCommerce Multisite — importing products IN subsites FROM main site
- Efficient way to handle translations with Multisite WordPress installation
- InfiiniteWP and WP Networks (multisite)
- Restrict Capability of Administrator to Create, Edit and Delete Pages in Multisite
- Why doesn’t wpmu_new_user work from a plugin when it does from theme?
- MU/Subdomains + Domain Mapping + SSL?
- How do I find where the current value of the option ‘registration’ in the SQL database?
- is_main_site() Always Returns True
- Strange multisite issue where all sites return same id with get_current_site()
- Permalink with a Category and then a Post
- Creating a subdomain network in a subdomain
- Sub-sub folders of WordPress Multisite subdirectory
- Allow editors to switch sites (Multisite)
- Best Practise: Linking to WPMU sites from other sites
- Common user login for two different wordpress installation and bbpress
- Trouble with SQL SELECT inside switch_to_blog()
- WordPress Multisite and how to apply sef urls only to specific sites
- Custom css – WordPress Multisite
- how to convert a wp multisite into a single site with content from subsites
- Getting stylesheet error after setting subdomain to false in multisite
- “Multisite support is not enabled.” After Multisite Config Changes
- String translation within WordPress multisite with i18n not working on all sites
- Add new sites on the same level as the parent URL in a multisite
- Search returns “Nothing Found” on a sub directory
- Add radio button on theme at the select of the theme the same theme should be activated after generation of new site in multi site
- Moving wordpress multisite to new domain
- Changed singlesite to multisite, but new site shows Maintenance
- multisite shared settings
- Multi Site Translate Strings
- Should I use MultiSite for a subdomain based wp site?
- Can’t import posts in multisite
- User registration problem on multisites web
- Admin user getting redirected to /wp-admin/user
- Getting 404 after Update in Multisite
- Some Subdomains on a Multisite Install Not Found
- personal_options hook on WordPress multisite
- Multi site root site installed on subdomain, with child sites as subdirectories
- Integrating WordPress for blog and other content pages in a web app