Have you tried setting the NOBLOGREDIRECT
PHP constant within wp-config.php
? That constant can be used to redirect users wherever you want when they visit a subdomain within multisite that doesn’t exist.
Here’s an example of that constant in use within wp-config.php
:
define( 'NOBLOGREDIRECT', 'https://example.com' );
Related Posts:
- Sub-subdomain getting redirected to main domain
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- WPMU Development Environment
- Redirect subdomain in Multisite installation?
- Multisite, Subdomain, shared NFS directory Linux HELP
- After switch domain, some parts of my site still point to my old domain
- Multisite WordPress Configurtion
- Multisite on Windows with wildcard subdomains
- Are nested subdomains possible with a subdomain multisite?
- How to use alias domain for multisite installation?
- Create multiple subdomains for multi-site from a database
- WordPress Multisite. Can domain be used instead of subdomain?
- NGinx + WordPress Subdomain Multi with core in Subdirectory
- Set subdomains live in a next step
- WordPress Multisite – Multiple subfolders for blogs
- Multisite 404 errors and non-www redirecting to home page
- multisite htaccess 301 redirects
- How does wordpress multisite manage subdomains?
- Why can’t a WordPress network (multisite) in it’s own folder use subdomains?
- W3 Total Cache Plugin with WP 3 MultiUser [closed]
- Redirect all users, except network administrators, from the main site to a subsite
- Multisite non-www domain redirects to sign-up
- Domain redirect in WordPress multisite
- Multisite non www domain gives registration error but should redirect to www.domain.com
- 301 Redirects for posts, category, pages from original domain to sub-domain of multisite
- Testing Multisites with vagrant or Can I use multisite with only an IP address (without domain name)
- Redirect loop (only for multisite network admin)
- Non-wordpress subdomains on Multisite Installation
- Possible to create a multisite network where the main site is non-WP?
- On WordPress Network(multisite), Sub Blogs in Subdirectories or Subdomains? What’s better?
- Multisite Subdomain Using More Resources Than Others?
- Change multi-site installation from sub-domains to sub-directories
- Wordrpess Subdomains (Multi-Site) without Wildcard
- Can I use two different domain names with a WordPress multisite network?
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- Multisite, multiple domains per site
- Icon font not working on subdomains of multisite
- Multisite Network menu links not updating
- How to disable the default WordPress redirect to non-www URLs?
- Auto Redirect after login
- Issue with htaccess redirection in WP Multisite
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}
- All pages have 302 redirect, which I can’t remove
- Redirect only posts to New Domain
- problem with main site (root domain) redirects to subdomain (multisite)
- Multsite redirecting to the main site
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- How to redirect one page on the subdomain
- Redirect & permalink problems after moving multisite to a new server
- Start with multi-site feature now or later?
- How to configure Multisite Network with randomized hostnames?
- Create subdomain out of sight the wp multisite
- Is the Multi site functionality a viable option for Country and Language targeting?
- Multisite Redirection to new domains
- Redirect One Multisite to Another
- Site redirecting to http://example.com/wp-signup.php?new=example.com
- 301’s not working with multisite
- Redirect to localhost after installing Multisite on server
- WordPress: how to change URL for individual MultiSites?
- Login problems on multisite installation with different domains
- One Domain, Two Installs of WordPress
- MU/Subdomains + Domain Mapping + SSL?
- Multisite Subdomain Redirect Mask
- When creating a multisite, the sub-folders option is not available
- WordPress MU subdomain vhost
- How to temporarily redirect front page of a network to one of the sites/blogs?
- Install multisite wordpress on a subdomain and map to top level domains
- Creating a subdomain network in a subdomain
- How to use different domains subdomains in WP multisite? [duplicate]
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- Working with Reverse Proxies and Multisite Installation
- Multisite for main in subdirectory, subdomain and subfolders (EN/ES)
- Subdomain is not working
- WordPress Multisite and how to apply sef urls only to specific sites
- How can I have two or more WordPress Pro (paid) themes that form a single website?
- multisite installed on subdomain now want another subsite on subdirectory
- Multisite wp-admin redirecting to main wp-admin using NGINX
- WordPress Multisite with Wildcard Certificates not mapping correctly
- Looking for most efficient way to ‘deploy’ single wordpress page to multiple external subdomains
- Multisite installation steps?
- Installing other applications alongside WordPress multisite subdomains
- Multisite (with nested paths) wp-admin redirect loop
- How to connect existing subdomains to new wordpress multisite?
- WordPress Multisite Network Subdomain
- Using both subdirectory and subdomains in Multisite
- Multisite, different domains, optional subdirectory, and htaccess
- Multisite: Redirect Subsite Administrator to Subsite Home Page, Bypassing Dashboard
- Admin user getting redirected to /wp-admin/user
- Make a select where the options are the different multisites
- Subdomain Wp-Admin Not Found
- Is there a way to have wordpress 301 versus 302 urls by default?
- Redirect extra url to Multisite in folder
- Some Subdomains on a Multisite Install Not Found
- Development (multi)site indexed – recommendations to redirect 301 to correct url?
- WordPress 3.0 Multisite – Child sites and backends appearing blank
- Subdomain add comment redirect to 404 not found page iis server
- Multi site root site installed on subdomain, with child sites as subdirectories
- Integrating WordPress for blog and other content pages in a web app
- Multisite Primary Domain Broken All Subsites Work
- Multisite subdomain microsite on secondary domain