I decided to move the child installation to the main site’s web root, and rename its subdirectory to intranet. Once I had done this, all I had left to do was place this line of code after the main site’s rules:
RewriteRule ^intranet/ - [L]
The - rewrites the URI to itself – thus overriding any previous rules. The request is then passed on to the child site as is.
Related Posts:
- Moving a WP Multisite to a subdirectory
- Multisite htaccess on localhost with WP as an SVN external?
- WordPress Multisite – Multiple subfolders for blogs
- Error 101 after upgrading WordPress
- Suppress subdirectory from WordPress Multisite primary URL
- .htaccess 301 vs. 302 Enforcing HTTPS
- Subdirectory multisite installation with several domain names?
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Multisite Subdirectory with same domain subdomain
- How to host unrelated pages on WordPress domain
- Working with Reverse Proxies and Multisite Installation
- Multisite htaccess file causing segfault (Segmentation fault 11)
- Multisite /files/ URLs broken after server move
- Multisite, different domains, optional subdirectory, and htaccess
- WP Multisite .htaccess interferes with cgi-bin
- Site Redirecting to wp-signup.php
- Multisite Network Port Num Issues?
- multisite 404 error for subdirectory
- Multisite in subfolder – How to make new sites to be in same level subfolders as the main site
- WP-Admin not working properly at WordPress multisite with subdirectories
- How to individually set WP_DEBUG on a sub-directory multisite?
- Benefits or Problems for using Sub-Directory vs Sub-Domain install of WP Network
- WordPress Subdomain MultiSite on localhost XAMPP on :8080 with IIS taking port 80
- Multisite: differences between subdomain and subdirectory mode? Can it be switch after installation?
- NGinx + WordPress Subdomain Multi with core in Subdirectory
- Multisite Subdomains result in 403 Forbidden
- WordPress multisite subdirectory redirect infinite loop issue
- Multisite: Develop locally using production images with .htaccess
- multisite htaccess 301 redirects
- Multisite installation combining subdomains and subdirectories
- WordPress in sub directory wp-admin problem
- How to prevent hotlinking with htaccess in WordPress and why most common use about it doesn’t work?
- Multisite wordpress and subdomain URL collisions
- Using separate Apache log files for multisite
- W3 Total Cache Plugin with WP 3 MultiUser [closed]
- Nginx rules for subdomain multisite install (Bedrock)
- Protect Uploads in Multisite
- Basically the opposite MultiSite URL question that most people ask
- Domain redirect in WordPress multisite
- Migrating WPMS from apache to IIS7 causes Database Error
- 500 error when using virtual host
- WordPress Multisite Login Access
- Why wordpress multisite redirect to wp-signup if site exists?
- WordPress multisite htaccess
- How to install WordPress Multisite with different domains under the same subdirectory?
- Multisite without .htaccess
- Subfolder multisite issue. Themes and plugin files 404
- How to do Domain Mapping to Subdirectories?
- Images uploading to wrong directory after changing to multisite
- Sub-subdomain getting redirected to main domain
- Limit multisite/network site names to a property of the user
- Members area with externally-managed htaccess / htpasswd authentication?
- On WordPress Network(multisite), Sub Blogs in Subdirectories or Subdomains? What’s better?
- How to properly force https and www on multisite with Apache HTAccess
- wordpress htaccess is hijacking my .mp4 files
- Change multi-site installation from sub-domains to sub-directories
- Alias domain to Multi-site installation in Apache
- How to exclude a directory from WordPress permalinks in a Multisite environment?
- Can’t access WordPress multisite after connecting to domain
- WordPress multisite subdirectory on nginx behind reverse proxy
- Media library not loading after switching the main site of multisite
- WordPress mutisite migration
- Dissolve Multisite while making site #5 the main site?
- Installing multisite on domain with existing subdirectory wordpress installations
- Multisite, can’t see sub blogs
- Depth > 2 possible with multisite?
- How to run a subdirectory multisite install under a subdomain
- How to disable the default WordPress redirect to non-www URLs?
- Create rewriterules for different domains in htaccess file with WP multisite
- Make a user administrator to a sub directory site and a contributor to main site in multisite network
- WordPress multisite in subdirectory, not root, and remove base folder from url
- Domain name in a WordPress Network
- Redirect subdomain in Multisite installation?
- Issue with htaccess redirection in WP Multisite
- Multisite installation not in root – how to make live?
- Redirect only posts to New Domain
- Multisite on localhost using xampp
- Add additional non-rewrite .htaccess directives on multisites via mod_rewrite_rules filter
- Multiple wordpress installations that shares WordPress & Theme but with separated database
- WordPress Multisite new sites in directory
- add_rewrite_rule on multisite doesn’t work
- Temp URL Redirect Loop
- Error uploading files bigger than 58 MB
- Multisite – 404 when accessing sub-sites
- How to configure Multisite Network with randomized hostnames?
- WordPress Multisite’s in subdirectory not redirecting to dashboard settings
- .htaccess rules for blocking bots with an extra condition
- Wrong Redirect/Rewrite Rules?
- Multisite gives Error if i want to enter Dashboard or Site
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- multisite subdomain behind reverse proxy
- Some PDF files get Forbidden Access and other open normally on the same directory subsites
- What happens if I use .htaccess of network multisite on a single site installation?
- htaccess file for multiple CMS’s (multisite wordpress + wolfcms) on same domain but different subdirectories
- Wrong filepaths and admin page infinite reload after migrating to aws bitnami
- Apache Site Aliases & WordPress Multisite
- URL redirect/rewrite rule wordpress multisite
- WordPress multisite .htaccess causes 500 error on old *.php URLs
- URL without www redirect directly with submission page – Multiwordpress install
- Multisite Redirection to new domains