We use a method simular to this to generate product permalinks: Custom field values in permalink
Annoyingly this supports one level of category only – not nested categories, so I believe what you want to do is not possible (but if anyone else has a solution I’d love to hear it!).
Related Posts:
- WooCommerce product permalinks
- where is permalink info stored in database?
- How can I reverse engineer a Permalink to Find the Page?
- Mapping Domains to Permalinks (not multisite)
- How to remove dates from existing permalinks?
- WordPress Permalink changes to question mark (?) in URL
- How would I create a different permalink structure for pages and posts?
- My permalinks are broken! Can I use mod_rewrite to ignore a physical file?
- Can WordPress realistically handle a site with 500 ‘pages’?
- How to prevent the default home rewrite to a static page
- Is there an action for when permalinks are rebuilt?
- When creating a WordPress page, a “-2” suffix is added to new pages’ permalinks
- How to get url of a post from admin panel
- How to get a page url by a page id?
- post_type_link filter causes 404 on the CPT page it’s used on
- Is there a log for the ajax calls made when changing a post’s slug?
- Permalinks for WooCommerce Categories and Subcategories
- Create slugs programmatically
- Make attachment pages require a base url
- get the_title_attribute by id
- How to Remove -14 from WordPress URL (Permalink)
- Rewrite URL Parameter And Force ‘Pretty’ Permalink
- How to map a URL to a specific template?
- How to hook into permalink when publishing-saving post?
- Problem duplicated shortlinks bitly
- Incorrect 404 for pages when using permalink, a static front page, and posts page
- Is there a wordpress function that I can use to retrieve the current page that is loaded?
- Custom Permalinks don’t work on local LAMP installation
- Problems redirecting to “pretty” permalinks (wordpress in Subdirectory)
- .htaccess file missing from WordPress install directory
- Remove permalink settings in post for users
- Remove multisite “blog” slug from specific custom post type
- Redirect parent taxonomy to it’s child
- WordPress Permalinks still not working despite all necessary settings
- RewriteRule accepts numbers but not letters in tag
- Server Move: All pages leading home
- WordPress Permalink 404
- Link to the post displays ID instead of slug
- Avoid WordPress categorizing a permalink request as Not found 404 Page
- Pages not using permalink
- Include Post Format in permalink
- How to make a proper custom post type link
- Redirects after permalink change
- Why I can’t change the permalink of a WP page?
- WordPress permalink setup in Hindi
- remove product-category base but still redirect to page with same permalink
- Process all virtual sub pages on parent page
- Correct permalinks and 404-error
- What would cause a theme to add extra characters to blog post links?
- Getting 404 when Access post which name start with Digit
- Custom permalink with two parameters
- How to check if the current page is the permalink page?
- Some Pemalink problems, probably caused by wrong .htaccess configuration?
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- Custom links in menus not working in multiple environments
- 404 permalink errors on Pages only
- What happens to the permalink that use %postname% if I change the post name
- Issues when changing permalink Structure
- Assigning proper permalink to blog that is part of a website
- What would cause a 500 Server Error with permalinks turned OFF?
- Changing permalinks back to default ( ?p=123 )
- permalinks on title tag
- Non Latin page permalink problem
- How to redirect old permalinks from https://exmaple.com/category/post_id to https://exmaple.com/category/post_id.html
- Double Slash After Media Path (uploads//)
- New posts link to old posts (random)
- Undefined variable: testimonial in D:\Projects\PWP-WP\wp-content\themes\blankslate-child\template-parts\fields\flex\bottom-page-block.php on line 123
- Is it possible to set public to false for the native WordPress blog
- Custom Permalink (with category) for Pages
- 301 redirects after changing permalinks
- Post links broken after migration
- How to change permalink for listings
- WordPress Pages that use Domain URL
- Rename Custom Post Slug using taxonomy
- Link works although page was moved to another location
- wordpress admin panel loop on nginx
- Can’t access new WP install on subdirectory
- Getting current page URL when default permalink is set
- WordPress All pages but home simply read “hello”
- How to change link of an uploaded file to the media library
- On Macbook, my permalinks with post name don’t work. Returning 404 error
- Share on social media created listing after submission
- WordPress pages break with custom permalink settings (theme directory not output)
- Remove /index.php from Permalink
- Difference and usage of uri (e.g. get_directory_uri) and absolute path (e.g. get_directory)
- Fresh wordpress installation in sub-directory not accessible
- Get link from wpe_excerpt “read more” and move it
- WordPress 4.0 beta – how to change the link URL in RSS feeds
- Folder Name and Category Name WordPress
- How to display post permalinks instead of pages?
- Why is there a # and other characters in URL for WordPress site?
- Search points to /search/?s=KEYWORD instead of /search/KEYWORD
- How to change pagination base from slash to query form?
- WP Custom Permalink Filter
- standard post with extra parameter brings permalink problem
- redirect old pages by .htaccess
- wp_get_attachment_url not working
- Siteurl code for links
- Redirect Loops Problems
- Stymied by 500.5 error for WordPress on IIS 8 / Windows Server 2012