Forum Moderators: open
Anyone knows if Google finds pages protected with .htaccess?
Thanks, Panda
Welcome to WebmasterWorld [webmasterworld.com].
It depends on whether you set a link to those pages. But even if Google found .htaccess protected pages, it doesn't matter. As long as the Google Bot don't know username and password, those pages won't get indexed. And that means as long as you don't set username and password in the link[1] to the protected page, nothing happens.
[1] i.e.: http: //username:password@your-server.com/protected/page.html
NN
Google doesn't list URLs that return 403 or 404 unlesss they are /robots.txt excluded. If they are /robots.txt excluded then the URLs may be listed, but the content won't be indexed.
NameNick, would Googlebot send a username and password if you link to "username:password@your-server.com"? I don't think I've seen that mentioned before.