What is the htaccess code that combines a Wordpress permalink and a password protected directory?
right now /members is a password protected directory via the hosting control panel using htaccess
When I create a Wordpress page with /members as the Permalink, then login using the standard grey popup login screen, it does not 开发者_运维技巧display the /members content I just created in Wordpress.
Why is that?
Why is that?
Because you're password protecting the physical directory members
, but not the Wordpress permalink. Your browser's request never gets through to the physical directory.
I don't think it's possible to protect specific WordPress URLs this way - you may need to find a way to do this within Wordpress (like a Plugin).
精彩评论