As of December 31, 2011 Kencinnus is no longer in business. 
Plugins are available via support request at aMember.com
For membership site projects please contact Miso or Larry.

aMember htpasswd Protection Fails with WordPress

You may run into a situation where you have WordPress installed in the root of your domain and you want to protect a folder using the htpasswd method in aMember and it doesn’t work. When you try to access the protected folder you just see the WordPress 404 page. This video shows you a solution for that problem.



After you create the .htaccess file in the folder you want to protect using aMember, edit that file and add this line at the very top before everything else:
 

ErrorDocument 401 /401.html

Making sure that you actually also put a file called 401.html on your server at the location you specify at the end of that line. In this case it would be in the root but you could put it in the folder you’re protecting as well. When you create the 401.html file make sure you put a nice informative message in it such as “Login required. If you do not have an account, please sign up to get one and then try again. Thank you!”

About Ken Gary

Ken Gary is a Membership Site Building Expert who helps small businesses create successful membership sites quickly and easily.

Discuss: “aMember htpasswd Protection Fails with WordPress”

  1. January 31, 2011 at 8:10 am #

    Hey Ken,

    Not sure if this is the right place to ask but … on the amember forum you mentioned setup of incremental content as … create a folder and add index.php to redirect wordpress post. What is in the index.php? I get redirect loop errors with what I’ve tried.

    thx,
    mg

    Posted by mgoins33