I have a multisite environment where I am switching databases to retrieve data in a custom post type entered on one site to show on the other site.
On the site where the data is not stored (and the post type is not defined), I want a permalink like
/post-type-name/item-slug/ to end up at a page named
/post-type-name/. I can then write code in the page specific template to switch databases, retrieve the data for item-slug, and show it. But I am not sure how to make the permalink work, other than to do it like