Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Making a 'child page' password protected when it holds a forum

Old Mar 31, 2009, 08:27 AM
9 posts · Jan 2009
A unique problem for sure...I have installed a plugin called XDForum. It's almost exactly like this forum...it's cool because it intergrated right into a blog should you have a need for both types of interaction/communication etc.

Herre's my problem/question:

I want my blog to have a totally private bulletin board forum "hiding" in my blog. The public can see a link on the menu/page bar or perhaps a link embeded in a side-bar test widget but if you click on it all you should see is a "password required" message and a box (perhaps some explanitory text). And then you put in a pass word and it takes you to the "secret forum".

I have tried to do this with a simple password protected page but strangly it does not hide the forum...I have also tried a child page but it makes a menu drop down item and I do not want that either.

How could I accomplish this design goal?

My site is:

www.NutritionWire.org and if you or anyone would like to see the forum (before I figure this out and you need a password to see it) just click on the menu bar item that says DACBN Forum.

Thanks Flynn...the checks in the mail!

Last edited by Steven; Mar 31, 2009 at 08:30 AM. Reason: bad punctuation
Old Mar 31, 2009, 06:39 PM
9 posts · Jan 2009
By the way...I don't have to use a "Parent and Child" page to do what I want (Hide the page unless you have the secret password to open it)...I just thought that that would be one way to do it.

The forum with in this theme looks so good I can't take how happy I am.

Anyone have any advice on the best way to list a bunch of recipies? I thought it would be cool if I could have a way for my readers to print each one separatly...right now I am just putting them all on one page...take a look at the page called BREAKFASTS...any advice is GREATLY appreciated!

LOOK Here -----> http://nutritionwire.org/healthy-recipies/breakfasts/

There has to be a better way to do this...I didn't want to make each recipie its own page...that dumb, right?

Last edited by Steven; Mar 31, 2009 at 06:41 PM.
Old Mar 31, 2009, 07:11 PM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
The following may not work.

The problem is we're going to protect a directory that does not even exist in reality (its just a WP permalink redirection). Protecting a real directory would have been easier.

It may be required to edit the plugin and include a PHP based authentication there, instead of this Apache based directory authentication below:

1.) Create one or several username/password combinations, i.e. here http://www.htaccesstools.com/htpasswd-generator/
paul:mypass123 will become something like

2.) Copy the result, i.e.:


and save it in a file named ".htpasswd"

3.) Upload this file to somewhere OUTSIDE the web accessible area on your web hosting account
(although the passwords are encrypted, but to be sure)


/var/www/html/clients/paul/nutritionwire.com/_public_html/wordpress installation here
/var/www/html/clients/paul/.htpasswd <-- .htpasswd file outside (= above) _public_html folder

4.) Create a directory "forum" in the Wordpress installation directory

5.) Create a file named .htaccess with this content (Edit the path in the first line to match the actual location of your .htpasswd file)

AuthUserFile /var/www/html/clients/paul/.htpasswd
AuthName "Any Title, user will see this on Login Form"
AuthType Basic
require valid-user
# Repeating the Wordpress permalinks htaccess here for the forum directory
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

6.) Upload this new .htaccess file to


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove parent slug from child page's permalink? Tarzanna77 Page & Category Menu Bars 9 Aug 21, 2010 02:45 PM
Making a page invisible to public and only accessible though email link animalcommunicator Page & Category Menu Bars 5 May 25, 2010 07:12 AM
[SOLVED] Making Link descriptions appear on page (instead of on hover)? machepap Sidebars & Widgets 1 May 7, 2009 09:31 AM
Trying to convert my page menu bar to the format on my simple machines forum page.. Joelb53 Page & Category Menu Bars 1 Apr 5, 2009 04:01 PM
Page Menu Drop Down Only Showing First 6 Child Pages LabbyRoad Page & Category Menu Bars 4 Mar 11, 2009 12:40 PM

All times are GMT -6. The time now is 05:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.