Click to See Complete Forum and Search --> : Javascript Password Protection & Search Engines


Oracle
11-21-2003, 05:23 AM
Hi there,

I'm using one of the simple javascript password protection codes from this site to protect a site I'm working on which doesn't need too high a level of security. When I register with search engines how do I stop the search engine picking up the password protected pages within the site and displaying links to them? At the moment you can only get to the home page where you have to log in to see the rest of the site. Someone has suggested to me not to give these pages proper titles (just put page1, page2 etc). Is there any other way?

Thanks,

Oracle

EMail: josiehock@hotmail.com

Gollum
11-21-2003, 05:30 AM
To avoid being picked up by search engines like Google, you need to make sure there are no links or references to your pages anywhere - that's on your login page or anyone elses page.

What that means is that you are better off performing your login checks on the server and redirecting to your pages only after the login check passes.