• Hello,

    With htaccess, I have added the “options -indexes”. So it’s not possible to list my folders.
    However, it’s still possible to access to some files media directly with the address.
    For example: https://creativinn.com/wp-content/uploads/2014/12/10902868.jpg
    I would like to forbid this kind of access or redirect the visitor to the homepage of the website.

    How can I do that? Do I have to add an index file in each media folder?

    Thank you for your help.
    Bzoum

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to restrict access to my media files’ is closed to new replies.