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:
- http://mysite.com/subscription/my-first-subscription
- http://mysite.com/subscription/my-second-subscription
- http://mysite.com/subscription/my-third-subscription
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.)
Aucun commentaire:
Enregistrer un commentaire