WordPress multisite network and woocommerce my-account
-
Let me preface this by saying that I’m looking for more of an overview of a method which will accomplish my goal and not specific code.
Goal
Point woocommerce my account pages and endpoints to another subdomain.Current development environment
I’m working with a WordPress multi-site network with 7 subdomains, three of which have woocommerce enabled. Access to two subdomains is restricted to specific user roles, let’s call thempartner-type-1.example.com
and
partner-type-2.example.comThe other subdomain is shop.example.com
I have other features that signed in users without access to the two private subdomains need to be able to access such as marking their products as stolen, managing a user profile that will be used to send alerts to local partners when a product is marked as stolen, transferring ownership of products to another individual, viewing the service history of their products, scheduling maintenance, etc, so I’ve created my-account.example.com
Question
This is my first time working with WordPress multisite and woocommerce, so I’m still not 100% sure how everything works. Is it possible to force the woocommerce my-account pages and endpoints to point to the same URL structure on a different subdomain? I.e. Shop.example.com’s my account pages would be hosted at my-account.example.com while the URL’s on the other two subdomains would remain unaffected by the change? If so, would it be a simple redirect rule, or will it be more involved, and if it’s more involved, where should I start with my research?
- The topic ‘WordPress multisite network and woocommerce my-account’ is closed to new replies.