Solved

Can robots see content I don't want them to?

Posted on 2008-06-26
3
223 Views
Last Modified: 2008-06-28
I have a site built in PHP / MySQL.  On any given page, some content is displayed, while the rest remains hidden until the user logs in.  Right now, I have a meta tag with noindex set, but I don't think that's really what I want.  I don't want search engines and robots to be able to "find" the content that should only be displayed after logging in.  If I remove this meta tag, will the robots only see the free content?
0
Comment
Question by:n00b0101
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 24

Accepted Solution

by:
glcummins earned 500 total points
ID: 21874657
Robots are constrained by the same security model that prevents unauthorized users from viewing your paid content. If you have built your security model correctly, robots will not be able to access it.

Please note, however, that if your content is accessible without authorization, robots may do as they wish, regardless of the contents of your exclusions listed in your meta tags or robots.txt. Those tags are merely suggestions, not law. Improperly-written robots can ignore them entirely, if they wish.

The best possible conclusion is to simply ensure that your security is tight, and only your authorized users will be able to see your paid content.
0
 
LVL 3

Expert Comment

by:darkmooink
ID: 21874668
spiders can only see what you send to them so if you have a php if statement around some code and the if says no then the spider cant see it because you are not sending it to them
so in other words, go to the page, not logged in, right click it and view source and that is what the spider will see.
by spiders i mean robots
0
 
LVL 1

Expert Comment

by:jsteenkist
ID: 21874782
you can make use of robots.txt, but some will ingnore this.

robots.txt should be localed in the root of your website.

A "robots.txt" file is a text file placed on your server which contains a list of robots and "disallows" for those robots. Each disallow will prevent any address that starts with the disallowed string from being accessed.

ere's an example:

   user-agent: FreeFind
   disallow: /mysite/test/
   disallow: /mysite/cgi-bin/post.cgi?action=reply
   disallow: /a

In this example the following addresses would be ignored by the spider:

   http://adomain.com/mysite/test/index.html
   http://adomain.com/mysite/cgi-bin/post.cgi?action=reply&id=1
   http://adomain.com/mysite/cgi-bin/post.cgi?action=replytome
   http://adomain.com/abc.html

and the following ones would be allowed:

   http://adomain.com/mysite/test.html
   http://adomain.com/mysite/cgi-bin/post.cgi?action=edit
   http://adomain.com/mysite/cgi-bin/post.cgi
   http://adomain.com/bbc.html

It is also possible to use an "allow" in addition to disallows. For example:

   user-agent: FreeFind
   disallow: /cgi-bin/
   allow: /cgi-bin/Ultimate.cgi
   allow: /cgi-bin/forumdisplay.cgi
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

737 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