Results 1 to 5 of 5

How to Stop?

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 ...

  1. #1
    Senior Member UnderEstimated's Avatar
    Real Name
    Kaleem
    Join Date
    May 2006
    Location
    NJ
    Posts
    267
    Liked
    10 times

    How to Stop?

    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 ?

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    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

  3. #3
    Senior Member UnderEstimated's Avatar
    Real Name
    Kaleem
    Join Date
    May 2006
    Location
    NJ
    Posts
    267
    Liked
    10 times
    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.
    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
    p://www.msxlabs.org/forum/ [R,NC]

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    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]

  5. #5
    Senior Member UnderEstimated's Avatar
    Real Name
    Kaleem
    Join Date
    May 2006
    Location
    NJ
    Posts
    267
    Liked
    10 times
    Quote Originally Posted by briansol View Post
    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]
    I tried this but this brings me to the image I wanna show to anyone who embed or access the fie directly. Even if I put that file on my site it goes back to that nohotlink.jpg

    Any suggestions?

Similar Threads

  1. I wish Google would stop...
    By woostar in forum Ad Networks
    Replies: 4
    Last Post: 02-20-2009, 12:17 PM
  2. What would stop RR showing?
    By Kaos in forum Relevant Replacements
    Replies: 2
    Last Post: 01-14-2009, 06:44 PM
  3. Please stop PM notifications!
    By I, Brian in forum General Discussion
    Replies: 2
    Last Post: 06-18-2008, 03:34 PM
  4. How do I stop my URL from....
    By newbuck in forum URL Rewrite Settings
    Replies: 3
    Last Post: 05-28-2008, 08:43 PM
  5. when to stop redirect?
    By Julio in forum General Discussion
    Replies: 2
    Last Post: 04-04-2008, 05:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •