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
- How can I get the categories and subcategories separately?
- Posts URL structure like site.com/category/the-post-title
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- How to create a custom url for a category [closed]
- Use tag interface for hierarchical taxonomy?
- Different templates for parent and children categories/taxonomies
- Show Post from parent category (custom taxonomy) ONLY!
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- Get a list of Terms for a specific category
- WooCommerce change category url and product base
- Display name of the last child category
- Category slug $_SERVER[‘REQUEST_URI’];
- Viewing category pages without the word ‘category’ in URL
- wp_dropdown_categories and custom taxonomy + custom post type
- Random taxonomy category list
- Add “page-a” slug to category link if user visit category link from “page-a”
- Displaying a full post instead of a slug per category?
- One Specific Category To Permalink
- How do I toggle pagination on/off in search results and category listings via a link?
- Replace taxonomy permalinks
- How can I improve this taxonomy treating approach?
- How to display parents category and child category separately for a specific post?
- How to add current custom taxonomy slug to body class
- Nicer URL for viewing category of posts?
- Get Categories Where Taxonomy Equals ‘n’
- How to display a value inside a post with a specified category from a category custom field? [closed]
- Grandchild Term Things Grandfather Term is It’s Parent
- Get posts in a subcategory of a chosen parent
- Natural sort / ordering wp_dropdown_categories
- Echo Category Nicename
- Best way to categorize/populate a magazine style layout
- How to combine taxonomies into URL?
- Automatically adding tags and categories into Post Excerpt for searching
- How can i add service category here? [duplicate]
- List taxonomy terms assigned to a post in hierarchical view
- Limit categories to hierarchal depth of 2
- Show the parent taxonomy by creating shortcode in woocommerce?
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- Parent Category and Subcategory default text generated with category
- Post List by category and under custom taxonomy
- generate random slug when adding taxonomy
- Create duplicate category page with content variations
- Most efficient way to display current post subcategories?
- How to create default categories in new installs?
- Check if value is a custom taxonomy category name
- Problem importing categories and sub-categories
- finding out the top 5 source ( source is a custom taxonomy ), in a given category
- Show parent-child relationship for categories in the wordpress admin
- Order Categories by Character Count
- hide_empty property not working when using get_terms
- Is it possible to use a post name in a custom post slug?
- Taxonomy Archive URL + Template
- category id (term_id) in url instead of slug