• Resolved stromboli

    (@stromboli)


    Is there a way to allow BulletProof security to exclude one directory from the rewrite rules and list all of the files in a directory?

    For example, I want to show the files in this folder instead of redirect to a wordpress 404 page: http://mydomain.com/listitemsinthisfolder/

    When I tell bulletproof security to use “Default Mode WP Default htaccess File”, I can add my exclusion and be on my happy way. However, with the secure way, none of my exclusions work.

    What is the best way to go about doing something like this?

    Thanks in advance!

    http://wordpress.org/extend/plugins/bulletproof-security/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AITpro

    (@aitpro)

    Is the folder a physical folder outside of WordPress? If so, then the easiest/simplest way to do what you want to do is to create/add another .htaccess file in that folder. Use Notepad or Notepad++ (Do NOT use Word or WordPad) to create the .htaccess file for this folder. Save this .htaccess file with this name – special.htaccess so that you can save the file on your computer. After you have added the directive you want below to this file and save it you will be uploading the special.htaccess file to your folder and renaming it to just .htaccess.

    If you would actually like to index (show the files in that folder in a list) the files in that directory then you would use the Options directive as shown below.

    # Show files in an indexed list
    Options +Indexes

    If you would like to turn off rewriting in this folder then use the RewriteEngine directive and set it to Off. By adding this one line of code in your special.htaccess file you are turning off security in this folder. The BPS root .htaccess file will no longer apply its rules in this folder.

    # Turn Off Rewriting
    RewriteEngine Off

    Plugin Author AITpro

    (@aitpro)

    Is this issue/problem resolved? If so, please resolve this thread. If not, please post a status update. Thank you.

    Plugin Author AITpro

    (@aitpro)

    Is this issue/problem resolved? If so, please resolve this thread. If not, please post a status update. Thank you.

    Plugin Author AITpro

    (@aitpro)

    Due to lack of response this Thread has been resolved. We still receive email notifications when a new comment is posted so if you still need additional assistance please post a comment. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allow directory listing with Bulletproof mode enabled’ is closed to new replies.