Solved

Keeping a page away from Google

Posted on 2011-03-06
4
263 Views
Last Modified: 2012-05-11
I like to put up a page I'm working on with a client so they can see the progress and we can have something to talk about.  I usually build the site initially in some obscure subfolder that no one is likely to stumble onto it by chance by entering www.mysite/theobscuresitefoldername and see it. But I know search engines crawl over everything on the web so it's possible, it seems, that the site in progress could still be found by Google and get indexed.  Is there something I can put on the site that Google, and othe rsearch engines will respect, and leave the site alone?  I know about nofollow but I t hink that's just something you can put on a link to keep Google from following it.  I need something that keeps Google out of the whole page.

Thanks.  
0
Comment
Question by:steva
4 Comments
 
LVL 4

Accepted Solution

by:
florjan earned 167 total points
ID: 35047308
www.mysite place a file robots.txt and put in
User-agent: *
Disallow: /theobscuresitefoldername

Open in new window

0
 
LVL 11

Assisted Solution

by:MajorBigDeal
MajorBigDeal earned 167 total points
ID: 35047672
Even if you tell search engines not to include something, they might still make a copy of it.  Also, there are search engines that provide the "feature" of allowing searches on things that are specially marked as disallow.   So when I want to keep something out of of a web page, I  use  a server side script that will not serve the page unless the user has provided a correct password.  
0
 
LVL 2

Assisted Solution

by:jaxbrian
jaxbrian earned 166 total points
ID: 35047677
you could also do this in the head of your page that you do not want to be indexed.
<meta name="robots" content="noindex">

if it is a folder you are trying to block with robots.txt then you need to have a
User-agent: *
Disallow: /theobscuresitefoldername/       //// the trailing slash is important to have
0
 

Author Closing Comment

by:steva
ID: 35048452
You guys all gave great information.  i split the points.

Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now