Forums

Preventing Image Hotlinking if images stored in month based folders (2 posts)

  1. Noumaan Yaqoob
    Member
    Posted 7 months ago #

    If I have stored images in monthly and year based folders how do I prevent hotlinking? I understand that one needs to put .htaccess file to prevent hotlinking in the folder where images are stored but i have images stored in several fodlers.

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 7 months ago #

    You can apply this http://perishablepress.com/press/2007/11/21/creating-the-ultimate-htaccess-anti-hotlinking-strategy/ to the main .htaccess file in WordPress, and it will block for all subfolders too.

Reply

You must log in to post.

About this Topic