Solved

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

Posted on 2008-06-26
3
206 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
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

705 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

20 Experts available now in Live!

Get 1:1 Help Now