Support » Plugin: Force Login » not working for html content

Viewing 1 replies (of 1 total)
  • Plugin Author Kevin Vess


    Hi, thanks for using Force Login!

    My response to the following support thread applies here as well:

    The plugin can’t force a redirect from static files (.pdf, .doc, .jpg, .html…etc). No PHP or WordPress script runs prior to loading static files; the server just loads the file.

    If you want to restrict access to the uploaded media files, you’ll have to configure your server to pass or “proxy” all requests to the uploads folder through a php script that can check if the user is logged-in.

    Check out the following URL for an example of how to do this:

Viewing 1 replies (of 1 total)
  • The topic ‘not working for html content’ is closed to new replies.