WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Noumaan Yaqoob
    Member
    Posted 2 years 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. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic