Question

I'm a complete newbie.

I'm using Latest Wordpress 3.8.1

The issue is the login box(of private membership, located in /member_area) is appearing on home page .. which is just a landing page.. and I don't want this box to appear there.

I have a sub directory called member_area which is having all html files.. and in this sub-directory the following .htaccess is present:

########### AMEMBER START #####################
AuthType Basic
AuthName "Members Only"
AuthUserFile /home2/rtvouche/public_html/ph/amember/data/.htpasswd
AuthGroupFile /home2/rtvouche/public_html/ph/amember/data/.htgroup
Require  group  PRODUCT_1
########### AMEMBER FINISH ####################

Whereas in my root WP directory, the following .htaccess is present:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

So what I want is ... in only /member_area the login box should come... but it should not appear on homepage.

Thanks in advance...

Pas de solution correcte

Autres conseils

For membership use plugin wp member this plugin used to arrage member

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top