Have you tried this plugin?
WP Permastructure
Adds the ability to configure permalinks for custom post types using rewrite tags like %post_id% and %author%.

Download this plugin https://wordpress.org/plugins/wp-permastructure/screenshots/
Related Posts:
- How to call a plugin function from index.php
- Rewriting every url
- Passing URL parameters to WordPress pages and pretty url
- Publish Post After Click On A Link
- How to get the custom page get_permalink?
- Custom url structure for custom template
- Add a Custom Permalink option in the Permalink Admin Screen?
- How to get the permalink of a page when loading my plugin
- How do I add a custom sub menu menu under Woo-commerce marketing?
- Modifying Author Link to add Author Meta in URL
- Perform internal redirect in WordPress?
- How to get the permanent link in a plugin?
- flush_rewrite_rules() not working with update_option_{$option}
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- How to embed a new string in url?
- Make get_permalink() work outside the Loop using filters
- help intercepting save_post through plugin
- WordPress Frontend Page using Plugin
- Child theme modifications not showing up
- Create new page in wordpress plugin which doesn’t exist
- Getting Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() when linking to another file within my wordpress plugin
- Changing author slug for a custom role without using plugin
- Custom author page for custom role
- Custom role not listed
- Is it possible to change plugin’s Admin Panel Url?
- Coming soon pages with rest of site in maintenance mode
- claim a permalink and all sublinks in plugin
- Pass PHP variable to javascript
- Namespaces in WordPress – How do I initiate the main class?
- wordpress get meta value by meta key
- What areas to Unit test while building a plugin?
- Errors while using ajax from external wordpress page
- WP get_permalink Return Wrong URL
- Pass A Value From Outside To A Plugin Variable
- How to handle autoloading with composer by keeping the WordPress naming conventions?
- Current user in plugin returns NULL
- What are the benefit in adding hook in the init() hook?
- How can I implement a notification system in wordpress?
- Minimum PHP Required for WordPress
- Building an email signup form. Where should the information be saved in the DB?
- Input with spaces in Shortcode attributes overwritten by defaults
- switched from query_posts to WP_query, not working now?
- How to find the origin of a file upload from within wp_handle_upload?
- Ajax contact form widget plugin data not insert in database
- Install Plugin via Code
- How to output CMB2 select options from repeated groups select elements?
- SEO Friendly URL on dynamic product page produced via shortcode
- Homemade plugin while using Themify Ultra
- How to deal with WordPress and Pocket API to automate content curation on my hosted wordpress blog? [closed]
- WP All Import – Execute Imports
- How to set taxonomy in custom plugin?
- do_action() hook into load-(page)
- Display custom content using page.php from theme
- WordPress error: Options page Setting_ not found in the allowed options list
- What is wordpress way to access a plugin’s classes/models to load custom post type data?
- This WordPress plugin isn’t creating links correctly
- Translations for my plugin don’t show up
- How to ignore extra whitespaces in translation functions like _e?
- How does translation (gettext) work for translating config file of plugin?
- Is there a better way of handling AJAX requests in WordPress?
- how to add a comment button to be displayed only for the posts in the home page [closed]
- The “Child Pages Shortcode” plugin, block template
- using wp_footer hook in a plugin
- How to get a custom page through plugin?
- How to data add to table when update post wordpress? when we clicked!
- can’t unzip file
- WooCommerce – I want to add functionality of one plugin to another plugin — best approach?
- Want to create custom design of progress indicator in wpforms
- Check if theme supports sidebar
- Change plugin descriptions
- How to display the custom post related blog by category?
- WP Forms not displaying,becomming an fatal error
- How to create a page with the selected template after activating the plugin
- one url for all pages
- I enabled debugging but I still get the same message: There has been a critical error on your website
- wp_mail function not working in WordPress Plugin Boilerplate
- When/where would want to attach other classes to the base class in a WordPress plugin?
- Using foreach loop for `$instance` of form and update array widget iteration
- Use Case: Multiple Shipping Methods per Order
- Showing how many times is plugin activated or deactivated
- Could someone maybe point me in the direction of a decent tutorial on how to create a wordpress plugin that is compatible with another plugin please?
- Custom plugin which downloads updates from custom endpoint, extracts new version zip into a new name
- How to setup same post slug for different categories?
- wp meta_query meta_value compare =REGEXP delimited by space
- Create shared actions for admin and users with plugin bolierplate
- How to insert variable which contain array value in wp_options table?
- How to Insert images in WordPress using code
- shortcode which is introduced into entry the blog, and appears in side bar
- Multiselect value in wp_query
- How to Overwrite validate_plugin function
- how to load a file from a plugin when a url is passed
- Is it possible to cancel a post status transition?
- Form data to wordpress DB
- Register additional wp plugin directory
- How to include a custom thumbnail with my WordPress plugin?
- How to display blog posts only authored by the administrator
- Send email notification when meet the condition
- Cannot edit Sidebar in any theme in wordpress
- how to update wordpress plugin programmatically using plugin path
- Testing Plugin – Install plugin dependencies in testing enviroment