I have one link that is login-required http://example.com/secret
If user access the page without authentication it will be redirected to http://example.com/login
page.
My question is can Google bot index the /secret
link? (I don't want it to be displayed on the Search results).
I'm confused because as this link it said:
It will show the source page in search results if it's temporary redirect (HTTP code 302)
and this link it said:
If you want to block your page from search results, use another method such as password protection
while /secret
is also both password protection page and redirect source page. I'm not sure it will be indexed or not.