If I were to use Password Protect URL action for a client site, how would I then ensure that the page or folder I use it for is not indexed by Google and other search engines?
Is there another action I would need to apply as well?
This Action will not keep out Google. And it’s very easy to see a case
where they would pick up on it from a referer tag. You can try adding
a robots.txt file to your site’s root folder, excluding this folder,
and Google will respect that. Other people might come along and read
that file and decide that since you don’t want Google in there,
maybe they should see what the fuss is about.
If you really want to protect a folder, use a server-side
configuration setting (use your cPanel or whatever control system your
hosting provider likes) to set Basic Authentication on the folder.
That will keep everyone out who doesn’t have the actual username and
password. Which means Google and all other search engines for that
matter.
Walter
On Apr 22, 2010, at 5:22 PM, LauraB wrote:
If I were to use Password Protect URL action for a client site, how
would I then ensure that the page or folder I use it for is not
indexed by Google and other search engines?
Is there another action I would need to apply as well?
Sigh. Thanks, Walter. That’s what I was afraid of. I’ve never set anything like this up before, so if you’re aware of a step-by-step tutorial for this kind of situation, I would be most grateful.
That’s what I was afraid of. I’ve never set anything like this up before, so if you’re aware of a step-by-step tutorial for this kind of situation, I would be most grateful.
Password Protect Directories is what you are looking for.
Once you have a folder on your server that you want to protect go into PPD and you will be able to select that folder and assign a username and password to it.
Then whenever there is a link to a page within that folder the viewer will be asked to enter their username/password before they are granted access.
One last question, Dave. Is it through that password protect directory that I somehow set up the user names and password? Or does that require something else?