philippe723

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
in reply to: Protect from url sharing? #7733

philippe723
Member

I think I figured out the solution. The 404 could be caused by the fact that my wordpress core files are in a subdirectory ‘/site/’. The plugin file is calling ‘site_url()’ which returns something like ‘mysite.com/site’. When I replaced ‘site_url()’ with ‘get_bloginfo(‘url’)’, it works like a charm.

By the way, in looking at the plugin code, I feel a little cheated having paid $6 for literally 8 lines of code…. This functionality should be included in wpdmpro, I think, not charged for as an addon… It’s hardly an addon and doesn’t even work for people whose sites are stored in subdirectories without modifying it manually…

My two cents.

in reply to: Protect from url sharing? #7720

philippe723
Member

powerongrfx, thank you. I purchased the Block Hotlink addon and installed it. Now, clicking the download links from my site is throwing a 404 error. Only when Block Hotlink is active though. As soon as I disable it, the download links work.

Is there an activation process I need to do, besides activating this addon plugin?
Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)