I would setup two WP installations at:
- /consumers/
- /business/
Then you just need to share the theme between the two, adding switch statements to a single installation or trying to amend the rewrite structure can get messy quickly.
The example.com homepage can just be a simple HTML page allowing the customer to link between the two.
Related Posts:
- Best collection of code for your .htaccess file [closed]
- Static raw HTML page
- WordPress On subfolder
- Hardening wordpress: blocking /includes with htaccess
- create a static folder independent with WordPress
- How can I stop WordPress from catching URL’s for static pages that I save on my server
- WordPress site hacked. Has .htaccess been hacked?
- Place static HTML files in path below WordPress page
- htaccess rewrite for author query string when WP is in subfolder
- Why “Settings->Permalinks” creates .htaccess file on nginx server?
- .htaccess for wordpress inside another wordpress install
- .htaccess file redirecting to parent directory
- Rewrite /?rest_route=/ link to /wp-json/ without changing default permalink structure in apache
- Globally force SSL on all pages
- Rewrite rule not working
- Correct htaccess to display page while also passing in GET parameters
- Using “wordpress_logged_in” to restrict direct access to uploads folder in 2021
- How to proxy local WP uploads folder to live site
- Temporary .htaccess blocking is disabling WP Crons from running?
- .htaccess redirects disappeared after re-saving permalinks
- How have I misconfigured basic auth for my wordpress site?
- WordPress trims off the forward slash when import
- Redirect main domain to subdirectory
- different child theme for subdomain
- How do I edit the htaccess file to optimize my website?
- Block only external access to wp-cron.php on OpenLiteSpeed
- Removing code added to htaccess with insert_with_markers
- Site searches by Python for non-existent assets
- WordPress 404 on Subdomain
- Can’t Access Subdirectory
- Why is my mod_rewrite not working?
- Override htacces rule only for specific directory
- How To Allow Only Specific User Agent To Access a URL?
- How to ignore folder in site root while accessing a URL
- Setting custom search engine indexing for a “dynamic WordPress page” with htaccess
- How can I enable keep alive (Not accessing to Apache)
- HTTP sitewide, except for: wp-admin, and 2 custom directories
- WordPress installed in root, need second in subdirectory with different domain
- htaccess has broken my site
- TimThumb & htaccess : clean url
- HTTP Error 406 always on site?
- Point all URLs to homepage but maintain URL
- htaccess working on local server but not on live server
- External content won’t load in iframe in Safari
- How to write .htaccess so that https is on for subpages only but not the home page
- Only Allow Front End Access
- .htacess rewrite condition: page to seconddomain/page
- Custom rewrite rule, url returning 404
- mod_rewrite doesn’t work as I want even with JSON API Plugin disabled
- WordPress .htaccess file gives issues with subdirectory
- Need help rebuilding lost htaccess file
- W3 Total Cache CSS & JS files GZip issues [closed]
- WP Super Cache unable to locate cache file for only the homepage
- Cannot login to WordPress site after changing .htaccess for security purposes
- WordPress 3.1 .htaccess contents keep dissappearing?
- WordPress permalink, stop redirection
- How to rename index.php to home.php
- Strange behaviour of is_user_logged_in() and get_current_user_id()
- add_rewrite_rule to remove /category/ from permalink
- .htaccess Non-‘www’ to ‘www’ Subdomain Redirection Only Works for Homepage
- .htpasswd asking for authentication on home page
- Non WordPress Folder in a WordPress Site
- WordPress login fail after .htaccess domain redirect
- Redirect to new domain with .htaccess [closed]
- Access sub-domain when root public_html is protected with .htaccess password
- Redirect https://www.subdomain.domain.com is not redirecting to subdomain.website.com [closed]
- Can’t access htaccess [closed]
- Htaccess rewrite based on query string, not working [closed]
- Redirect all subdomains to root domain
- Change root directory
- .htaccess redirect not properly working [ ?utm_source=]
- How to execute WordPress as though it is in the root folder while it is installed in a subdirectory?
- Htaccess maintenance page rules that actually work with WordPress?
- How to allow only vpn access to dashboard on Bitnami WordPress by IP address restricting
- website is not loading home page (moving from one server to another server)
- Should I prevent access to .htaccess and wp-config.php files?
- Blocking wp-login in HTACCESS has also blocked password protected pages
- htaccess redirect to path
- Non-wordpress subdomain on Multisite Installation
- Unable leverage Browser Caching on AWS Bitnami stack (Apache) through W3TC and Cloudfront CDN
- Downloading zip or tar.gz inside WordPress installation?
- Clicking PUBLISH Now Redirects to 404 PAGE NOT FOUND
- Rewrite rules and maintain URL
- Use htaccess to redirect wordpress non-existent page to homepage
- Subfolder renaming
- Targeting .htaccess file with file_put_contents
- Redirect Loop in Regex Moving to HTTPS
- .htaccess file changes disappear
- Need to edit htaccess while moving on WordPress
- WordPress login bug. Need an emergency solution
- How can I create a private site that is inaccessible from the outside?
- .htaccess and virtual host configuration for WP in its own directory
- 403 forbidden due to .htaccess?
- Issue after changing permalink structure [duplicate]
- Where is the htaccess in wordpress.com hosting?
- Debug errors for “Destination directory for file streaming does not exist or is not writable”
- Url redirection using htacess for my website
- How To Add CSP frame ancestors in WordPress Website? [closed]
- The connection to “domain” is not secure
- How do I modify each instance of setcookie?