preventing hotlinking quick question

Discussion in 'HTML & Website Design' started by twistedspikes, Dec 13, 2007.

  1. #1
    So i'm wanting to prevent people hotlinking files from a certain directory on my site by using .htaccess

    I found this and would like to ask how I make it only target a specific directory on my site, for example if I have a directory called images would I just change the mydomain.com/ to mydomain.com/images/ or is there something else I have to do?

    Thanks in advance,
    TS
     
    twistedspikes, Dec 13, 2007 IP
  2. Browning

    Browning Banned

    Messages:
    1,928
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #2
    should be it unless I'm forgetting something. You could always re-edit it if it doesn't work
     
    Browning, Dec 13, 2007 IP