You would need a custom rewrite rule for that:
http://codex.wordpress.org/Rewrite_API/add_rewrite_rule
I think you might have a hard time though, with it being within an area of the site (single post type) already using a custom rewrite rule!
Related Posts:
- Use a template file for a specific url without creating a page
- Override default url for author pages?
- Using custom/dynamic “slug” for a page
- Multiple endpoints to same page
- Custom slug in front of search URL
- Display posts with author in the url with custom post types
- Clash of the rewrites
- How to prevent redirection to max 2147483647 for larger values of the page query variable?
- Will references to ugly links automatically redirect to their pretty url permalink?
- How to create a specific frontend URL (not a Page) from a theme or plugin?
- how to add prefix to post url structor only
- Appending numbers to url do not break the link
- WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
- Passing & Reading URL Parameters with URL re-writing
- Tricky URL rewrite with custom values in url
- WordPress 404 unless there is a space in url
- Change default URL of image attachment
- Prevent WordPress from automatically correcting URLs
- Taking a value from PHP_URL_PATH won’t work after WordPress 5.5 update
- Display content according to current URL
- Server (WordPress) redirects files that are not supposed to (using htaccess)
- redirect 301 old url to new url
- Add a query string to ALL links on site
- Add rewrite rule for rewrite endpoint
- Migrating a page to be an article
- Allow single quote in URLs
- How to get “extended” path info from URL in a plugin
- How to perform a query at the URL?
- Custom URL rewrite to specific page template
- Is there a way to create alias without using htacess, permalinks or delving into code?
- Alias ‘wp-content’ directory to something shorter (framework?)
- Is there a ‘rake routes’ for wordpress?
- open all .docs in word online
- How to add custom variable in url without redirect?
- Changing RSS feed URL structure
- Creating a dynamic URL structure
- How to change the main site url on a multisite installation (network)?
- Append a query string to the end of every URL
- How to disable URL rewriting for specific URLs?
- Adding special characters to slug?
- How do I display only the parent page in the url
- Rewrite custom post type URL parameters
- Wildcard forward all posts and pages with few exceptions
- Help with Rewrite Rule for Custom Post Type with Query String
- Translate custom post type and taxonomy slug in URL?
- Right url for custom post type
- Preserve old website URL structure after migrating to WordPress
- Change pagination url format
- Why is WordPress rewriting absolute URLs on staging site to include staging prefix when we manually point them at the live site?
- React Router with WordPress
- How to redirect large amount of URLs?
- Changing URL scheme, mod_rewrite not helping
- ngnix Url rewrite doesn’t work
- Understanding the query string after .htaccess rewrite
- Is WordPress API visible from PHP file called in htaccess
- Rewrite /category/cars into /topics/cars
- Adding a query string to only one page url
- wordpress url correction
- custom wordpress rewrite
- Flushing rewrite rules
- Two sets of url one content?
- How to customize sub-URLs in a wordpress website (.htaccess)
- How to use wp rewrite to hide form action url?
- Rewriting a date hierarchy into a ‘yyyy-mm-dd’ slug
- Get logged in username in wordpress url
- URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation
- custom url – add attachment’s id or name after post
- get variable from url?
- remove archive from url :: marketpress
- Make the home page’s slug visible in the browser’s URL bar
- dynamic URL rewrite
- add_rewrite_rule with optional parameters
- WordPress is adding “category” word before my actual category name in url (and this is unsolicited)
- Append a parametter at first or last to a certain URL
- SEF add_rewrite_rule & add_rewrite_tag not working
- Dynamic URL with rewrite rule not working
- Problem building an url with argument
- How to Update / Change URL when Popup Modal Loads?
- Passing a variable to hyperlink text?
- How do I rewrite URL that has custom parameter
- url redirect none www to www
- Rewrite URL to get rid of wp-content etc and change URL
- Root-relative paths being rewritten on ‘Edit Page’ [closed]
- How to remove Base URL Duplication?
- Get parameters and custom page template
- Pagination appearing twice in URL after rewrite
- Direct Dynamic URL in root to a location within template
- taxonomy term in URL slug won’t forward to the correct term for custom post like it does for default categories/normal posts
- How to retrive previous Domain URL in Wp
- URL Rewrite for CPT single posts
- WordPress post-type create url rewriting
- Can I exclude a single URL from a rewrite plugin?
- How can i maintain permalink structure and avoid a 404 error when loading external content?
- How to prevent URL-modification when page title contains digits only?
- How to exclude my home page from url of my internal pages?
- How do I display a friendly URL link in the frontend?
- Please give me the rewrite rules for my ugly urls
- Lost WordPress website access after changing URL [closed]
- Spurious URL structure (Adding extra /0/s)
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?