The title may be a little confusing, I don't know how to word it to be short.
Right now my permalink structure is /%post_id%/%postname%
so the final URL is /post_type/%post_id%/%postname%
.
When I go to domain.com/post_id
then it redirects to domain.com/post_type/%post_id%/%postname%
but when I got to domain.com/post_type/post_id
it doesn't redirect but shows the correct post.
I'm not sure how to make it work the way the default redirect works.
register_post_type()
call? If so, what are you setting it to?