This question already has an answer here:
Here's the deal. Let's say I have a custom post type called "subscriptions". Under this post type there are pages like the following:
The issue is that I actually have a pricing page which allows users to use a widget to select the different subscriptions. I don't want the users to ever be able to access the subscription pages directly, even if they know the URL. My first thought is that I'd like any attempt to access a page of "subscription" type to be redirected to the pricing page. How would I do that?
(If someone has a better idea, I'm open to that as well.)