Hi,
Lets say I have videos and images on my site but I want peope to just access it on my site. I do not want anyone to embed anything out of my domain.
How can I do that ?
This is a discussion on How to Stop? within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Hi, Lets say I have videos and images on my site but I want peope to just access it on ...
Hi,
Lets say I have videos and images on my site but I want peope to just access it on my site. I do not want anyone to embed anything out of my domain.
How can I do that ?
Hello Kaleem ,
You can do that easily with .htaccess protection
Hotlink Protection Tutorial (Apache Server - .htaccess files)
Mert Gökçeimam / Crawlability Inc.
vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!
Twitter:@Depkac
Personal Blog : Mert Gökçeimam
If I post there I would be bumping the thread. So, the one he has will block all the sites to hotlink those.
But what about If i want one site or two sites to access it.
p://www.msxlabs.org/forum/ [R,NC]RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.msxlabs.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.msxlabs.org$ [NC]
RewriteRule .*\.(mp3|mpeg|mpg|ram|rm|wma|wav|asx|wmv|avi|mov|z ip|rar|exe)$ MsXLabs MK - MaviKaranlik.com: “Karanl???n Mavi Yüzü...” [R,NC]
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.msxlabs.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.msxlabs.org$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|swf)$ htt
you could something like this:
Code:RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?goodsite1\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} !^http://(.+\.)?goodsite2\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} !^http://(.+\.)?yoursite\.com/ [NC] RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L]