Restrict Direct Access to Certain Pages
-
What I’d like to do is restrict a few of my pages so that they can only be accessed through clicking a link. For example, https://www.yourdomain.com/subscribe/subscribed-url should only be accessed when redirected to by clicking a link on my website. I don’t want people to be able to copy and paste that into their browser and access the page. Is this possible?
I know this is possible for .php files, but I can’t figure out how to do it within WordPress pages. I read some stuff about editing the page template files (I’d create a new template for pages like this) but I couldn’t entirely get the code working properly, all I accomplished was restricting that actual template file from being accessed.
Thanks,
Zach
- The topic ‘Restrict Direct Access to Certain Pages’ is closed to new replies.