I am currently prototyping a new website in WordPress. I have +20 years experience in web development experience but this is my first WP website with multiple pages.
The site will feature multiple business units, each with multiple services. The desired URL structure should therefore be ...
domain.com/business-unit
domain/com/business-unit/service
Since business units and underlying services have different data, I will use 2 custom post types. I have understood that the default WP parent-child relationship feature will not work, since I am using different post types.
As I am new to WordPress and hope to build more complex sites in the future, I would like to discover the best practice to solve this. After searching here and on Google, it appears that a custom taxonomy should get me started in the right direction. Is this correct? I have seen other people suggest to actually use the custom post type for all levels (which "feels" wrong to me). In short, I am looking for the proper way to set this up.
Ideally the same methodology should be applicable for websites that require more levels, as well as multilingual projects (most likely using the WPML plugin).
domain.com/level-1/level-2/level-3/level-...
domain.com/fr/level-1/level-2/level-3/level-...
Not necessarily looking for code and definitely want to avoid plugins. But any reliable resources or recommendations are most appreciated. Thanks for nudging me in the right direction!