I was recently faced with a similar situation and chose to use custom post types. While it’s technically possible to use page hierarchies or categories it would make handling user access too complicated.
If my understanding is correct then your desired permalink structure will be there by default:
PS: if you want to keep the hierarchical structure inside ‘vegetable’ posts, then make sure you set the post type to ‘hierarchical’ (like pages).
Related Posts:
- User capability of create page/new page
- Not allow add New Page for role ‘editor’
- Add role and edit page capabilities
- Check IF is a “single product page” and Check the “role” for a Redirect
- Restrict admin access to certain pages for certain users
- Show different badge based upon the user role
- remove/hide pages from users backend
- List all private pages user has access rights to read
- Role can edit just one page [closed]
- Allow a user to edit their own page and profile only
- Custom page only editable by one user
- One author not showing in Author drop down list while editing page
- Edit and delete permissions pages and posts
- remove “Edit” from select pages
- Every change made by “Author” role is going to “pending review”
- Restrict specific private page to a specific user
- Removing add new pages form editor role
- How to limit the pages shown in the page manager to those created by the logged in user?
- disable trashability for certain pages
- Add infinite scroll to content splitted post
- Check if wp-login is current page
- How to get current page ID outside the loop?
- Getting a List of Currently Available Roles on a WordPress Site?
- Editor can create any new user except administrator
- Contact Form on WordPress Sites?
- Is there way to rename user role name without plugin?
- Page returns 404 with POST variables, but not without
- How to create a clone role in wordpress
- Custom templates not showing up in template dropdown
- Possible to hide Custom Post Type UI/Menu from specific User Roles?
- Get page id by template
- Using pre_get_posts on true pages and static front pages
- Get the content of a specific page (by ID)
- How to get page title with the page ID?
- Show more than 20 items in pages or posts edit dashboard
- Allowing user to edit only certain pages
- How to add a Capability to a User Role?
- Select subscriber as author of post in admin panel?
- How can I get a list of users by their role?
- Remove Ability for Other Users to View Administrator in User List?
- How to display last 3 posts (recent posts) in a static page?
- How to give paged links custom title?
- How to set post slug when using wp_insert_post();?
- How do I make a draft post accessible to everyone?
- Reset default roles and capabilities
- How can I keep the content of my pages version controlled?
- How to load javascript on custom page template?
- What action should I hook into when adding roles and capabilities?
- How to configure WordPress to handle 75,000 pages?
- How to update page status from publish to draft and draft to publish
- Check if is on child-page of a particular page
- Change page template programmatically ?
- Conditional tag to check if ‘page.php’ is being used?
- add_role() run only once?
- Customizing the URLs of WordPress Login and Sign-up Pages?
- Custom post type role permissions won’t let me read
- How to disable posts and use pages only
- what’s the meaning of the field wp_capabilities in table wp_usermeta
- featured image as background image on pages
- A check for if is parent page, if has children, if has grandchildren
- Allowing custom role access to custom post type in back end
- WordPress SEO by Yoast: Hide Meta Boxes in Posts for Non-admins
- How to load JS and CSS only on specific Pages using is_page()?
- Listing pages which uses specific template [duplicate]
- Groups of capabilities: users with multiple roles?
- User-edit role setting distinct from wp_capabilities? [closed]
- Proper way to get page content
- Access the same page from multiple urls (wildcard)
- Create a page without adding a page in the Database
- What do unfiltered_html and unfiltered_upload actually filter?
- Is there a way to change the default page template selection?
- Can I have two child pages of different parents with the same name?
- What methods to use to create small, editable pieces of text for static pages?
- Allow Editors to edit pending posts but not draft ones
- What’s the difference between Role and Meta capabilities; When to use map_meta_cap() filter
- Show Default Editor on Blog Page ( Administration Panel )
- Hide page visual editor if certain template is selected?
- Temporary capability for current_user_can()
- What is the difference between $paged and $page?
- Allow user to “edit_others_posts” to save only, not publish
- multi page password protection
- Create a “Dummy” parent page for a hierarchy in page listing?
- How do I convert a page’s title to lower case?
- Get top level page parent title
- How to add a specific widget to only 1 page?
- Allow roles below admin to add subscribers only
- How to let contributors to create a new revision(draft) editing their published posts
- page title, parent tilte and grand parent title
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- Add Custom User Capabilities Before or After the Custom User Role has Been Added?
- How to add jQuery script to an individual page?
- How to assign specific users the capability to edit specific pages / posts / custom post types
- WordPress page edit does not save selected template
- How can I modify the Capability needed to access a plugin’s options?
- Add a Page without header and menus?
- Disable posts, only allow to edit existing pages, not create new ones (create_posts)
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- What is an alternative to get_page_by_title()?
- Password protect page with multiple passwords
- Allow user to Edit Posts but not Add New?