htaccess and protected option
-
Hi there,
for security reasons I use htaccess to protect my wp-login.php.
Now I’d like to protect a single page by using the WordPress password protected option (https://wordpress.tv/2009/01/14/setting-your-posts-or-entire-blog-to-private/)
Unfortunately the /wp-login.php?action=postpass is needed by this option. In the consequence I have do give my wp-login protecting password to others. Otherwise they can’t enter my protected page ??
As an alternative I tried to protect the single page via htaccess. Therefore I added a new template to the theme, let’s call it new.php and used it for my single page. Then I protected new.php via htaccess. But this did not work at all. Probably because the new.php will not show up in the URL but the name of the single page.
Any ideas for a solution?
Cheers
yu
- The topic ‘htaccess and protected option’ is closed to new replies.