Folder w/ mod_rewrite (Recommended)

Setting up protection on any number of folders within your website is a simple process.

Requirements: mod_rewrite enabled on server (Normally standard on hosted accounts)

Login to the PHP Membership Manager administration program. Click on the [Protect Site] menu link and choose [Protect Folder]

If you are looking to protect a folder on your site any valid user account can access simply click [Generate Code]

You will then be provided with the contents to place in a file named .htaccess Note: Not htaccess, htaccess.txt -

Simply create a new file using any text editor. Paste the provided contents provided into the file and save the file. When saving name the file .htaccess. If the file auto saves with a .txt extension simply rename it to ".htaccess" from ".htaccess.txt".


Upload the .htaccess file to any folder that requires logging in before accessing. When you access this folder on your site you will be directed to the control panel to login. Once logged in successfully you will be taken to the page / folder you originally requested.


To limit protection on the folder to sub/user groups repeat the process above but select the checkboxes next to the user/sub groups you allow to access the folder.