I’d look into using custom post types for the repetitive parts of your permalinks. Cities can be categories, and the restaurant types can be post types. It’s the perfect use for post types, and it helps solve the problem.
Unfortunately I can only see it helping with one sub-level. If you need sub-sub-categories you’ll have to find another WordPress feature with a URL presence that you can “bend” to fit your purpose.
Related Posts:
- get_categories for custom post type with a specific custom taxonomy attached
- How can I add the featured image functionality to a custom taxonomy?
- Combine two taxonomies in a hierarchical tree
- Rewrite rule page url with category
- How can I select a primary category?
- Using URL parameters, list posts from category and custom taxonomy
- How to make custom taxonomy check boxes like ‘Categories’
- Create terms when registering taxonomy?
- How to get next previous category in same taxonomy?
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Getting WordPress custom taxonomy/category?
- Display empty taxonomy terms with get_terms()
- Return category slug / title from category ID
- How do I get the slug of a custom taxonomy category of a post?
- How to get the number of child categories a specific parent category has?
- How can I convert some categories to a custom taxonomy?
- “Reversable” and “Re-useable” Subcategories (or other taxonomic structure)
- Get multidimensional array that reflects category hierarchy
- Using a portfolio_category slug in wordpress URL
- Change existing taxonomy settings when using custom taxonomy
- Display Taxonomy Terms in an option tag with value being the slug
- How to get the id from the custom category?
- How can I edit the ‘Most Used’ tab in the categories meta-box to show another custom taxonomy?
- Get posts from specific taxonomy term
- Redirect to another page using contact form 7? [closed]
- Display custom taxonomy attached to the post on post single page
- Question on using custom structures for categories
- How do I add a tag slug to a category URL to filter posts?
- Change of category structure will cause two kinds of URLs for one post
- Echo text using is_tag
- What Must to Display the “mysite.com/category” URL?
- Same menu for different taxonomies to reach different content
- How could I write a get_categories_by_year() function?
- How to get posts using category slug in ClassiPress?
- A different permalink structure for different categories
- How to remove category name for only one category?
- How to set the same base url for two different taxonomies?
- Get WooCommerce product category list in functions.php
- Change the full slug for a specific category?
- Why use hierarchical taxonomies instead of many custom taxonomies?
- Renaming default category taxonomy?
- How to Manage and link certain custom taxonomy?
- Display List of Categories Within a Custom Taxonomy
- How to add a post with new Taxonomy without assigning to default category?
- How can I get rid of the the category suffix–NOT “prefix” (i.e. foo-1, foo-2, etc)
- Multiple Parent Category URLs
- Converting Categories (with ACF fields) to custom taxonomies
- Can’t custom taxonomies have same terms (slugs) as categories?
- Could not insert term into the database
- What’s the URL for a category archive?
- Weird behaviour when adding terms/term_taxonomies programmatically
- Divi change project slug based on category
- Are Custom Taxonomy Templates Possible?
- What’s the difference between “parent” and “category_parent” in a WP_Term object?
- Update taxonomy value of post type in query
- PHP Fatal error: Cannot use object of type WP_REST_Response as array in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
- 403 forbidden on one page only
- How to know if it’s a child taxonomy?
- Categories vs. Page Site Organization
- Rename “Portfolio” slug?
- Changing taxonomy term by slug (wp_update_term)
- Show Available Taxonomy List with Current Category
- Pagination for category slug returns 404 when page >= 2
- Exclude a category from the_category in the single post page
- Why does the argument list_only do on Walker_Category_Checklist::start_el?
- Limit amount of posts made within a custom taxonomy
- add_rewrite_endpoint returns 404 on archives
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- Drop posts from categories in MySql
- Customize category page for different custom taxonomies
- Get posts under a category with SQL
- add slug beside name in Admin Category Checklists
- Hierarchical permalink structure for posts showing categories and sub-categories
- Use the category name instead of category slug in permalinks
- Targeting categories in custom fields
- Listing all slugs?
- Display sibling categories on category page
- WP 4.7 in_category change?
- Illegal string offset ‘taxonomy’ in
- Ordering categories by slug vs. name
- Let user select their own category
- creating categories programmatically
- 3.1 post formats and specific categories/custom taxonomies
- sidebar troubles, taxonomy trouble
- WordPress Default Category and Custom Taxonomy Selected Attribute not Working After Searched in wp_dropdown_categories Array
- How to have article URL like example.com/article1 and example.com/foo/article2?
- How to show related posts of category on post within custom posttype
- How to assign Categories and tags inside the TinyMCE Editor for each Image?
- outputting taxonomy hierarchy
- ACF Custom field not showing in Timber Taxonomy page
- Confused about category.php template – not working
- Display Taxonomies in loop with template args
- taxonomy term in URL slug won’t forward to the correct term for custom post like it does for default categories/normal posts
- Display taxonomy term slugs
- Category slug not showing for Custom Post Type
- woocommerce – products by category slug? [closed]
- Display only the latest post
- get IDs from links categories
- Taxonomy term RestApi data 10 rows limitions
- How to add custom prefix before category base for category page URL?