/    Sign up×
Community /Pin to ProfileBookmark

Javascript Password Protection & Search Engines

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: [email][email protected][/email]

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@GollumNov 21.2003 — 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.
×

Success!

Help @Oracle spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...