Major sites using WordPress do it, I guess to seem more professional: http://icanhascheezburger.com/wp-login http://mashable.com/wp-login So does anyone know how to do this? Thanks.
The cheezeburger one is there, you forgot to add .php to the url http://icanhascheezburger.com/wp-login.php Not sure what mashable is doing, probably something .htaccess related. http://mashable.com/wp-login.php
webtarded, you're right. I forgot that without the php extention is doesn't show. Although in my blog even if I miss the .php it still brings me to the login page. Icanhascheezburger is hosted at wordpress.com (not self hosted) so I guess they can't do anything about that. But it seems like mashable just put a htpassword that's needed before the login can be accessed. Now the question is, how did mashable do that. Don't you need to put a htpassword file in it's own directory (wp-login.php is found at the root). To put it there would cause the entire site to be password protected and not just that page. Yet that's not the case with mashable. Does anyone know how to htpassword a single file while keeping all other files in the same directory not password protected?