You can use Ambrosite Next/Previous Post Link Plus plugin for doing this.
Related Posts:
- Categories’ hierarchy in URL
- Hierarchical permalink structure for posts showing categories and sub-categories
- Most efficient use of custom taxonomies, categories, and pages
- Change next_post and previous_link to navigate throught parent categories only
- Custom permalink structure leads to be 404 on pagination
- How to get permalinks with category base working with sub-categories
- Category archive by year with permalink support /category/YYYY
- Filtering categories in the permalink structure
- Allow duplicate permalink slugs for posts in different categories
- How do I use the same post slug for different Categories?
- Multiple post categories – single permalink
- How to exclude uncategorized from permalink structure /%category%/%postname%/
- 404 error on subcategory pages
- Category links suddenly started giving 404 errors
- Best and Cleanest way to remove /category/ from category permalinks? [duplicate]
- How to display only the parent category in the permalink
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- custom permalinks for category archive ( custom base and no parent slug )
- Categories lose hierarchy order once assigned to post
- Duplicate Category and Page URL loads Category instead of the Page
- Category tree is flattened inside admin upon saving
- Default category link for a custom category is a broken link
- Allow dot in wordpress permalinks (only for categories)
- wordpress wp_list_categories
- How to get category URL with the slug?
- Categories vs. Page Site Organization
- Possible to make a subdirectory that loops through a single category?
- WordPress subcategories return 404 in custom template
- force category base – archive pages work WITH & WITHOUT category base slug in url?
- How get permalink for the current category or tag?
- Exclude Posts From Specific Category from Next and Previous post links
- Categories showing page not found
- Get Prevous/Next Post Specific Category Without Excludes
- How to disable default category linkbuilding?
- Show category from “Next post” and “Previous post” [edited]
- Read GET parameters in APACHE Mod Rewrite rules for WordPress categories in Posts
- How to categorize posts under Category 1 and Category 2 which are separate lists of categories, and display them as separate lists in widgets
- Show parent category in URL of subcategory archive page
- Previous/next post links displaying wrong category than is desired
- Mod_Rewrite to show only last subcategory in URL
- Give a page priority over a category that has the same name?
- Sub Categories Keep Redirecting to Pages With Same Slugs
- How to rewrite the post URL according to the category?
- Add child category to parent on post creation and save
- Removing subcategories from permalinks [duplicate]
- A single category with a specific permalink structure differing from the standard set for the rest of the site
- Older entries link within category page
- How can you change the permalink for pages?
- Remove the parent name from permalink
- Link to the next/prev posts in index loop in same category?
- Redirect single article permalink to paginated category page
- Hide the word ‘category’ from my permalinks
- Use the category name instead of category slug in permalinks
- Function to automatically rename the base category permalink
- Category url generate 404 error
- How to remove one specific category (uncategorized) from post permalinks
- Custom Permalink with child categories creating 404
- Get next post in same category not working WP 4.7.4
- How do I retrieve the category ID (ugly permalinks) in my sub-navigation menu?
- Display only subcategories of a category and not sub-subcategories
- Redirect year month day postname permalink structure to category postname structure
- category link not working for a specific slug, works for others
- url for posts for a date within a category
- How to load several hierarchical categories from functions.php
- Check is category parent with ids from the childs – get_term_children
- Posts not listing out sub category in hierarchy
- prefix to post permalinks without affecting category permas
- Category URL Management
- list all child categories that apply to current post even if those cats are empty?
- Need help with major category and permalink re-organization
- How to use category slug with a regular page
- Using custom structure prefix showing 404 for sub-categories
- How to add tags under categories
- How to remove category name for only one category?
- Subcategories randomly not working after page/post/category edit in wordpress. Fix: saving permalinks twice
- Category URL’s 404 after setting category base to ‘.’
- Subcategory Page 404ing
- outputting taxonomy hierarchy
- Remove “category” from permalink with add_rewrite_rule
- Change Category Base For Custom Post Type or Posts Page
- When category name and title are the same … WP will select archive.php instead of single.php
- Different template for subcategories
- Accessible Subcategory URL’s pages without using .php hack
- same permalink for parent category and child category
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Group Posts by First Letter of Title categories
- Create monthly archive for parent category
- hierarchical taxonomy in permalinks? using same slug
- Change category base based on category
- Allow duplicate permalink slugs for posts in different categories
- Removing short versions of category archive URL
- Post in multiple categories do not include in previous / next post if one category in excluded
- How to include first assigned category in the post URL?
- how wordpress generates permalinks as /%category%/%post%/
- Custom permalinks structure
- Category archive page has two URLs even when default theme is active with no active plugins
- List the category tree of all the product_cat categories
- Is there a function to modify existing previous/next post link without modifying theme files?
- WordPress how to remove parent slug from category URLs