Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › How do I block direct access to pages that are digital streaming URL's?
Tagged: digital products, discount, hide link, WP Affiliate
- This topic has 9 replies, 4 voices, and was last updated 6 years, 6 months ago by admin.
-
AuthorPosts
-
November 8, 2013 at 4:03 am #9986vithefiddlerSpectator
We have a page on our site that has a bunch of child pages where the streaming videos are located. I want to set it so that the only way to access these videos is via the email link that eStore sends out.
I have removed them from the XML sitemap, and set robots.txt to discourage google from visiting those pages, and indexing them.
I found an htaccess trick that is designed to discourage hotlinking to images, and it worked for blocking direct access to the streaming files, but also broke email link. It did work fine for linking from the wordpress admin panel.
RewriteCond %{HTTP_REFERER} !^http://(www.)?testsite.com [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?testsite.com.*$ [NC]
RewriteRule (streaming.*) – [F]
Thanks a bunch!
Vi
November 8, 2013 at 4:39 am #58803adminKeymasterAre you using eStore’s Pay Per View Setup for your streaming video page? Documentation here for your reference:
http://www.tipsandtricks-hq.com/ecommerce/using-wordpress-permalinks-as-digital-products-apr-1217
If you are then it doesn’t matter if someone knows the URL of the page (explanation of why is in the above documentation).
If you are talking about the media files itself, then read this post:
https://support.tipsandtricks-hq.com/forums/topic/download-directory-protection
November 9, 2013 at 11:16 pm #58804vithefiddlerSpectatorI need to protect both digital uploads, and pages. I will check out those pages, and let you know if I have more questions.
Thanks!
Vi
November 10, 2013 at 11:55 pm #58805wzpModeratorFor protection of pages, use the APR protection method (permalinks as digital products).
For files; if the files are hosted on your server, the previously mentioned tips (by @admin) will suffice. For ultimate protection, use the Amazon S3 integration method, which offers the same level of protection that Netflix uses.
November 14, 2013 at 3:13 am #58806vithefiddlerSpectatorI have all of the kinks worked out. Thanks for your help!
May 26, 2018 at 11:48 am #58807doraMemberhi
I need to prevent direct access too
Please clarify : For protection of pages, use the APR protection method (permalinks as digital products).
May 26, 2018 at 11:54 am #58808doraMemberI am using wp affiliate .
I want to give a discount to purchase if this was from affiliate link
May 26, 2018 at 12:04 pm #58809wzpModeratorPlease clarify : For protection of pages, use the APR protection method (permalinks as digital products).
That is correct.
I am using wp affiliate .
I want to give a discount to purchase if this was from affiliate link
Use this Affiliate Platform addon:
May 27, 2018 at 6:26 pm #58810doraMemberI am not using WP eStore plugin ,
I am using a PayPal Button Code.
Is there a way to do this discount ?
May 28, 2018 at 12:35 am #58811adminKeymasterWe don’t have an option to do this with just the paypal button.
-
AuthorPosts
- You must be logged in to reply to this topic.