This happened because WPMU has an admin account that defaults to the same URL as the install.
So my admin user, who is also the default user, let’s call him “adminUser”, could log in at
http://www.example.com/blog/
He could update, add new posts, whatever and his posts show up at:
http://www.example.com/blog/
But when new user, let’s call him, “JoeHermermerphermer”, comes along, he can register and login at:
http://www.example.com/blog/
but after login he needs to make calls to his own site URL:
http://www.example.com/blog/JoeHermermerphermer
The website would probably have redirected him to his site on login, but when using a plugin, I must manually redirect calls to the new URL.
It seems the get_current_blog()
method looks at the URL you are on.
Related Posts:
- Site Redirecting to wp-signup.php
- Multisite on Windows with wildcard subdomains
- Are nested subdomains possible with a subdomain multisite?
- Querying posts from multiple sites in a network?
- is_front_page() malfunction?
- WordPress Multisite with multiple domains using Nginx
- How can I diagnose a slow WordPress admin?
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- BLOG_ID_CURRENT_SITE vs. SITE_ID_CURRENT_SITE in WordPress Multisite?
- Shared table across network
- Turn off ms-files.php after network setup
- Opinions whether to go multisite VS 3 separate WP installation [closed]
- Multisite: differences between subdomain and subdirectory mode? Can it be switch after installation?
- Ban SiteNames Multisite
- WP MultiSite API – Create new sites
- Multisite – how to remove the root ‘/’ site?
- How do I fix problems with users not being able to publish and only submit for review after upgrade of Multisites installation?
- WordPress multisite with domain mapping and virtual host on local with fake domain
- Don’t allow access to wp-admin but allow admin-ajax requests to be fulfilled on frontend?
- subdomain archiving
- Full Domain Mapping with WP3 in Multiuser Mode
- Copy site from one multisite to another
- add_rewrite_rule not registering on Multisite
- How to combine multiple sites to WordPress MU
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- Installing multisite network admin on sub-domain
- How to change the database prefix in multisite (WPMU) install
- Getting blank thumbnails in media library?
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- Accessing multiple sites via FTP
- Multiple homes for multiple languages [closed]
- multisite custom directory
- You do not have permission to edit this user
- Multi-site: removing /blog from posts
- Multiple install for multilanguage. How to?
- Query users by capability – uninstall/deactivate callback
- Cannot access my first sub-site in a multisite [closed]
- How to detect the context of homepage for a wordpress mu sub-blog
- Multsite redirecting to the main site
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Auto creation of multisite blog on user registration
- Memory question on WordPress Multisite
- How to make a php script(app) accessible to all wordpress subdomains in a wordpress multisite configuration?
- Multisite with 220+ sites painfully slow
- WordPress multisite on IIS – can’t open subpages
- Issues with Multisite installation and 403 error for REST API request
- How to run react app and headless WordPress and React App on same server (managed by plesk)?
- Efficient way to handle translations with Multisite WordPress installation
- Multisite – Parent site with Polylang with different domains for each language [closed]
- How to disable wordpress cron jobs for a subsite?
- WordPress Mulitisite – Unable to create directory
- network site domain mapping still applied after being removed
- Can WordPress Multisite (MU) subdirectory url/slug/permalink be changed?
- Multisite Subdomain Redirect Mask
- How to use HyperDB plugin in a existing wpmu
- Sort by site/blog column in Multisite
- Possibility of Create Site Specific CSS in a Multisite
- Add access control origin header information across multisite
- Get post by term from custom taxonomy in another blog on the network?
- Multi Network plugin: “Network not created” [closed]
- Multisite Login problem
- Https and Http Login Issue on WordPress Multisite
- How can I use different domains on a WP multisite install?
- Multisite network admin – User’s role not showing up
- Is it possible to install WordPress MU on a subdomain?
- WordPress MultiSite Won’t Work on Google AppEngine
- WordPress multisite with same content
- Redirecting to page not found mulitiste
- How many .htaccess files should a WordPress multisite (subdirectory set up) have?
- Multisite and Multidomains WordPress
- mu activate / deactivate plugins in multisite network mode only
- Multisite loads assets from main site
- Is there any hook to validate google recaptcha dislayed in wp-signup page [in WordPress Multisite]
- Primary (root) blog of multisite installation forbidden (403)
- Fix nested WordPress multisite resource path?
- How do I split a single WPML site with 6 languages (English is Main) into Multisite with 5 subfolders
- WordPress Multisite with Subdomain, make the subdomain look like another domain
- How To Upload Existing WordPress Site To WordPress Multisite Using SSH
- Change header.php of a specific WordPress Multisite
- How to reconnect database to existing wordpress multisite setup after changing site name
- Proper setup of multi doman site
- fatal Error undefined function switch_to_blog()
- WordPress MU with subdomain
- How do i get custom metabox data from each multisite blog?
- WordPress multisite dashboard not working..!
- WordPress Domain Mapping shows new domain in place but takes me to the sub domain
- How can I have different langauges in wp-admin on a multisite installation?
- Parse shortcodes from another site in WP Multisite
- Custom pages on all multisite network, to NOT show in wp-admin at all
- How to create Network of websites with separate database in WordPress
- In a MS install, can you allow different users to have their own themes?
- Install WordPress MU outside htdocs
- WordPress multidomains and subfolders
- Redirect authors from upload.php url to Home page in Multisite
- Images on WP Network’s subsite appear only if accessed via main site’s url
- WordPress Multisite platform for different city for single db
- Multisite: should /blog go to a 404 page?
- Not being allowed to use some terms in Add New Site in WordPress
- How to redirect root blog to a specific one in multilang WP?
- Create service similar to wordpress.com [closed]