Hello, I had planned on using the simple php include method of protecting individual directories within Wordpress. I'm having problems getting this to work without bugs. It appears that simply using the php include method causes this error when a user is redirected to the login screen: WARNING: array_filter() [function.array-filter]: The first argument should be an array in line 208 of file check.inc.php Any ideas? Brandon
Protecting wordpress directories with htaccesss wont work, they are virtual directories, adding htaccess to the real versions will give an error. I would think with the php include method you would need to check the database for the article to see which category its in, then if it matches, use php include. I do this with my site which is joomla. The hidepost method is simpler to use, but it protects individual articles, not categories etc.. David
Good point. I guess he was not clear about whether he was protecting category based directories or actual directories. I was going along the lines of protecting, for example, wp-admin.. If that is not the case then David is square on, hidepost is a much simpler solution.
Hi Brandon, You can protect category-based directories (virtual directories within Wordpress) using The Bridge. More info over at www.amemberincremental.com Lee