is there a way to have multiple permalinks for a custom post type post?
For example:
The normal permalink url is called:
https://www.example.com/test-subject/test-title
I also want the post is reachable under the following urls:
https://www.example.com/test-subject/post_id
https://www.example.com/ts/post_id
I know that I can manual add in the .htaccess, but I add the post inside my plugin. So what is the best method to add these urls to a post and make them accessable?
I need some suggestions, not code solution.