I have a pdf i posted in a blog post. I now see that lots of people have hotlinked to the article. This is not a marketing issue, it is not a blog I make money on but I want people to download from my link not a hotlink. How can I make the pdf available but not allow folks to hotlink within a worpress blog? I don't want to require email signup or anything like that.
If you are using a cpanel hosting then go to the hotlink menu in cpanel, and activate it. After activating it simply add pdf to the list beside the default jpg gif blah blah default list. And people who hotlinks to you wont steal your content
RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://domain.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com$ [NC] RewriteRule .*\.(pdf)$ [F] Code (markup): This will result a 403 forbidden request if the user is not from your blog post. You can also redirect the user using the following code: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://domain.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com$ [NC] RewriteRule .*\.(pdf)$ http://redirecturl.com [R,NC] Code (markup):