문제

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...

올바른 솔루션이 없습니다

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top