Trying to figure out how to give access to a certain page, lets say
http://mypage.com/page and not letting people access the main index via
http://mypage.com. Or just simply disallow access to
http://mypage.com and let people be able to input whatever subdirectory they want and let through if the page do exist. Is this possible to achieve with Wordpress?
/page is created by Wordpress and not some HTML page I want to give access to.
Tried this but with no luck
AuthUserFile path/to/.htpasswd AuthName "Gone fishin', come back soon" AuthType Basic <Files "index.php"> require valid-user </Files>