Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am looking at the feasibility of converting a client's site from countless hand-built web pages to a WordPress installation. The challenge is that we have a free area and a members-only area. The members-only area is a folder protected by standard Apache .htaccess / htpasswd authentication. The password folder is externally managed by legacy billing software that we do NOT want to change.

I think the best answer might be to do TWO WordPress installs, one at the domain root and one inside the members folder. That way neither install needs to be aware of the Apache authentication. I have the impression that MultiSite would not serve my purpose, because I need a real physical members area folder. I'm not sure the "virtual" feature would get me what I want - both the url rewriting and triggering the htpasswd authentication.

I've searched the boards and plugin repositories related to members or otherwise private areas. All solutions I can find assume that the members are managed via WordPress. That's not the case for me! I'm intending to use WordPress for the content management, and leave WordPress unaware of the authentication issue.

Does a double install sound feasible and the right approach? Can I just do a double install to a single MySQL database, just specifying a custom table prefix (not wp_) for the second install?

share|improve this question
    
This question is very unclear, what's wrong with having htpasswd authentication in front of WordPress? You can store as many installs into a MySQL DB as you want. –  Wyck Jan 15 '13 at 2:45
    
@Wyck My question is as stated: "Does a double install sound feasible and the right approach?" I'll take that as a yes. Thank you :) –  user26029 Jan 15 '13 at 3:01

1 Answer 1

up vote 2 down vote accepted

Does a double install sound feasible and the right approach?

Given your restrictions, yes...I can't think of any other way to do it with a single install. If there was a way to get the legacy software to control member accounts via any other system (perhaps dumping to a CSV which can then be read into a MySQL table via a script?) then you would be able to take advantage of some techniques to control WordPress users via external database tables or write the users directly to wp_users via script and the wp_create_user() function.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.