On May 23, 10:57 am, QUESTIONORCOMMENT wrote:
> I used the code below on my website to stop it from being found by
> search engines, but it doesn't work for me. Is there any easy way to
> do it?
> PS: I want my relatives to see my website, not the public!
> _____________
> User-agent: *
> Disallow: /
Uploading a robots.txt with
User-agent: *
Disallow: /
will work if you do it *before* the robots see your site. Once the
robots arrive it takes them a long time to forget about your site.
A better way is you can always add a web page such as one called
Family Only. You tell your family to go to http://mysite.googlepages.com/familyonly
and to bookmark that. Do NOT link to this from your Google Pages home
page or any other public web page. Tell your friends to NEVER-EVER
post the secret URL any public forum. If you find that unwanted people
are using your private pages then rename the pages and tell people you
trust the new URL.
Unfortunately, Google Pages goes away soon and Google Sites does not
give you the option to create "hidden" way pages like this. All of
your pages are visible in the site map. While you can remove the site
map from your sidebar anyone who knows about Google Sites sitemap
feature will be able to view the site map for your site. It's quite
likely the robots will also get programmed to do this too meaning you
simply can't hide stuff when using Google Sites.
Google Sites also removes the option to use JavaScript which could
also be used to create private pages including ways to password
protect pages.
Marc