Previous Thread
Next Thread
Print Thread
Rate Thread
#200798 09/12/2003 10:00 AM
Joined: Jan 2002
Posts: 88
Member
Member
Offline
Joined: Jan 2002
Posts: 88
if you have installed this hack and you like it, but you dont want some sections of your UBB to be crawled then you can use the :

Robots.txt

When a Robot visits a Web site, say https://ubbdev.com/, it firsts checks for https://ubbdev.com/robots.txt. If it can find this document, it will analyze its contents to see if it is allowed to retrieve the document. You can customize the robots.txt file to apply only to specific robots, and to disallow access to specific directories or files.

Here is a sample robots.txt file that prevents all robots from visiting the entire site

Code
          User-agent: *    # applies to all robots
Disallow: / # disallow indexing of all pages
The Robot will simply look for a "/robots.txt" URI on your server, where a site is defined as a HTTP server running on a particular host and port number. Here are some sample locations for robots.txt:

Site URL for robots.txt https://ubbdev.com/
URL for robots.txt https://ubbdev.com/robots.txt
Site URL for robots.txt https://ubbdev.com:80/
Site URL for robots.txt https://ubbdev.com:80/robots.txt


There can only be a single "/robots.txt" on a site. Specifically, you should not put "robots.txt" files in user directories, because a robot will never look at them. If you want your users to be able to create their own "robots.txt", you will need to merge them all into a single "/robots.txt". If you don't want to do this your users might want to use the Robots META Tag instead.

Some tips: URL's are case-sensitive, and "/robots.txt" string must be all lower-case. Blank lines are not permitted within a single record in the "robots.txt" file.

There must be exactly one "User-agent" field per record. The robot should be liberal in interpreting this field. A case-insensitive substring match of the name without version information is recommended.

If the value is "*", the record describes the default access policy for any robot that has not matched any of the other records. It is not allowed to have multiple such records in the "/robots.txt" file.

The "Disallow" field specifies a partial URI that is not to be visited. This can be a full path, or a partial path; any URI that starts with this value will not be retrieved. For example,

Code
      Disallow: /help disallows both /help.html and /help/index.html, whereas
Disallow: /help/ would disallow /help/index.html but allow /help.html.
An empty value for "Disallow", indicates that all URIs can be retrieved. At least one "Disallow" field must be present in the robots.txt file.

A good example of a robot.txt file is:
Code
  #
# robots.txt for http://www.djwebpages.com/
#
# $Id: robots.txt,v 1.22 2003/09/11 20:23:04 ted Exp $
#

# For use by search.w3.org
User-agent: W3Crobot/1
Disallow: /Out-Of-Date

# AltaVista Search
User-agent: AltaVista Intranet V2.0 W3C Webreq
Disallow: /Out-Of-Date

# exclude some access-controlled areas
User-agent: *
Disallow: /Images
Disallow: /Privat
Disallow: /cgi-bin/linkexchange/
Disallow: /Web
Disallow: /History
Disallow: /Out-Of-Date
Disallow: /2003/09/mid
Disallow: /People/all/
To create your own fast and secure robots.txt you can use Robotpack
" [Linked Image]

  • 100% Freeware, No Spyware, No Sponsorware and No Adware
  • Create robot-exclusion files by selecting documents and directories.
  • Log into FTP servers and upload ROBOTS.TXT from RobotPack.
  • Manage Projects for multiple web site.
  • RobotPack come with the Open Robots.txt Directory (ORD).
  • Ability to edit the robot database and add additional user-agents.

Download Robotpack

Note: This is not tested yet at UBB but i am almost 100% sure that it will work.

Sponsored Links
Entire Thread
Subject Posted By Posted
[6.6] Spider Bait LK 09/05/2003 10:57 PM
Re: [6.6] Spider Bait Stilgar 09/06/2003 1:06 AM
Re: [6.6] Spider Bait AllenAyres 09/06/2003 1:12 AM
Re: [6.6] Spider Bait messagedj 09/06/2003 12:43 PM
Re: [6.6] Spider Bait messagedj 09/06/2003 1:33 PM
Re: [6.6] Spider Bait Ian Spence 09/06/2003 4:55 PM
Re: [6.6] Spider Bait messagedj 09/07/2003 11:44 PM
Re: [6.6] Spider Bait Ian Spence 09/07/2003 11:51 PM
Re: [6.6] Spider Bait LK 09/07/2003 11:55 PM
Re: [6.6] Spider Bait messagedj 09/08/2003 3:00 AM
Re: [6.6] Spider Bait Brett 09/08/2003 2:24 PM
Re: [6.6] Spider Bait LK 09/08/2003 3:04 PM
Re: [6.6] Spider Bait messagedj 09/08/2003 5:49 PM
Re: [6.6] Spider Bait LK 09/08/2003 10:52 PM
Re: [6.6] Spider Bait usr bin geek 09/09/2003 1:34 AM
Re: [6.6] Spider Bait Brett 09/09/2003 2:31 AM
Re: [6.6] Spider Bait Gizmo 09/09/2003 4:16 AM
Re: [6.6] Spider Bait LK 09/09/2003 2:01 PM
Re: [6.6] Spider Bait Charles 09/09/2003 2:23 PM
Re: [6.6] Spider Bait LK 09/09/2003 2:25 PM
Re: [6.6] Spider Bait Charles 09/09/2003 2:26 PM
Re: [6.6] Spider Bait Charles Capps 09/09/2003 6:51 PM
Re: [6.6] Spider Bait Gizmo 09/09/2003 9:19 PM
Re: [6.6] Spider Bait Charles 09/09/2003 9:41 PM
Re: [6.6] Spider Bait Charles Capps 09/09/2003 9:59 PM
Re: [6.6] Spider Bait catcherman 09/10/2003 3:14 AM
Re: [6.6] Spider Bait catcherman 09/10/2003 3:38 AM
Re: [6.6] Spider Bait Charles Capps 09/10/2003 5:05 AM
Re: [6.6] Spider Bait catcherman 09/10/2003 8:20 AM
Re: [6.6] Spider Bait Charles Capps 09/10/2003 9:09 AM
Re: [6.6] Spider Bait messagedj 09/10/2003 2:32 PM
Re: [6.6] Spider Bait Gizmo 09/10/2003 4:38 PM
Re: [6.6] Spider Bait messagedj 09/12/2003 5:00 PM
Re: [6.6] Spider Bait messagedj 09/12/2003 5:12 PM
Re: [6.6] Spider Bait catcherman 09/12/2003 8:45 PM
Re: [6.6] Spider Bait Charles Capps 09/12/2003 9:27 PM
Re: [6.6] Spider Bait catcherman 09/12/2003 11:51 PM
Re: [6.6] Spider Bait Charles Capps 09/12/2003 11:56 PM
Re: [6.6] Spider Bait catcherman 09/13/2003 12:19 AM
Re: [6.6] Spider Bait catcherman 09/13/2003 12:28 AM
Re: [6.6] Spider Bait Charles Capps 09/13/2003 12:33 AM
Re: [6.6] Spider Bait Gizmo 09/13/2003 7:30 PM
Re: [6.6] Spider Bait LK 09/13/2003 7:40 PM
Re: [6.6] Spider Bait AllenAyres 09/13/2003 7:42 PM
Re: [6.6] Spider Bait LK 09/13/2003 8:28 PM
Re: [6.6] Spider Bait AllenAyres 09/13/2003 8:34 PM
Re: [6.6] Spider Bait AllenAyres 09/13/2003 8:36 PM
Re: [6.6] Spider Bait Burak 09/13/2003 10:16 PM
Re: [6.6] Spider Bait Charles 09/13/2003 11:06 PM
Re: [6.6] Spider Bait Mark Schonfeld 09/14/2003 9:10 AM
Re: [6.6] Spider Bait Ian Spence 09/14/2003 9:18 AM
Re: [6.6] Spider Bait Mark Schonfeld 09/14/2003 11:28 PM
Re: [6.6] Spider Bait RandyM 09/15/2003 1:04 AM
Re: [6.6] Spider Bait Gizmo 09/16/2003 9:35 PM
Re: [6.6] Spider Bait RandyM 09/24/2003 7:15 AM
Re: [6.6] Spider Bait Charles Capps 09/24/2003 7:43 AM
Re: [6.6] Spider Bait RandyM 09/24/2003 7:56 AM
Re: [6.6] Spider Bait Charles Capps 09/24/2003 8:09 AM
Re: [6.6] Spider Bait RandyM 09/24/2003 2:56 PM
Re: [6.6] Spider Bait Autocrosser 09/24/2003 10:57 PM
Re: [6.6] Spider Bait med 09/24/2003 11:01 PM
Re: [6.6] Spider Bait Autocrosser 09/24/2003 11:47 PM
Re: [6.6] Spider Bait Autocrosser 09/24/2003 11:56 PM
Re: [6.6] Spider Bait LK 09/24/2003 11:59 PM
Re: [6.6] Spider Bait Autocrosser 09/25/2003 12:06 AM
Re: [6.6] Spider Bait Autocrosser 09/25/2003 12:11 AM
Re: [6.6] Spider Bait Autocrosser 09/25/2003 12:35 AM
Re: [6.6] Spider Bait Charles Capps 09/25/2003 1:39 AM
Re: [6.6] Spider Bait Autocrosser 09/25/2003 7:24 AM
Re: [6.6] Spider Bait Autocrosser 09/25/2003 7:41 AM
Re: [6.6] Spider Bait Charles Capps 09/25/2003 8:18 AM
Re: [6.6] Spider Bait Autocrosser 09/25/2003 3:33 PM
Re: [6.6] Spider Bait Gizmo 09/25/2003 11:57 PM
Re: [6.6] Spider Bait med 09/26/2003 1:19 AM
Re: [6.6] Spider Bait Autocrosser 09/26/2003 6:34 AM
Re: [6.6] Spider Bait Charles Capps 09/26/2003 8:37 AM
Re: [6.6] Spider Bait RandyM 09/27/2003 2:20 AM
Re: [6.6] Spider Bait AllenAyres 09/27/2003 4:17 AM
Re: [6.6] Spider Bait RandyM 09/27/2003 5:15 AM
Re: [6.6] Spider Bait med 10/04/2003 5:00 PM
Re: [6.6] Spider Bait Autocrosser 10/14/2003 6:17 AM
Re: [6.6] Spider Bait Charles Capps 10/14/2003 6:53 AM
Re: [6.6] Spider Bait Ron M 10/14/2003 8:54 PM
Re: [6.6] Spider Bait Ian Spence 10/14/2003 9:13 PM
Re: [6.6] Spider Bait Ron M 10/14/2003 9:16 PM
Re: [6.6] Spider Bait med 10/14/2003 9:22 PM
Re: [6.6] Spider Bait [email protected] 10/19/2003 9:30 AM
Re: [6.6] Spider Bait RandyM 10/22/2003 8:54 PM
Re: [6.6] Spider Bait Charles Capps 10/22/2003 9:10 PM
Re: [6.6] Spider Bait RandyM 10/23/2003 3:05 AM
Re: [6.6] Spider Bait Gizmo 10/23/2003 4:22 AM
Re: [6.6] Spider Bait RandyM 10/23/2003 7:00 AM
Re: [6.6] Spider Bait Ian Spence 10/23/2003 6:50 PM
Re: [6.6] Spider Bait AllenAyres 10/24/2003 5:12 PM
Re: [6.6] Spider Bait Ian Spence 11/03/2003 12:03 AM
Re: [6.6] Spider Bait Gizmo 11/03/2003 10:35 PM
Re: [6.6] Spider Bait Mark Schonfeld 11/09/2003 1:08 PM
Re: [6.6] Spider Bait Ian Spence 11/09/2003 3:27 PM
Re: [6.6] Spider Bait Charles Capps 11/09/2003 9:43 PM
Re: [6.6] Spider Bait Mark Schonfeld 11/09/2003 10:44 PM
Re: [6.6] Spider Bait RandyM 11/09/2003 11:23 PM
Re: [6.6] Spider Bait Mark Schonfeld 11/10/2003 12:09 AM
Re: [6.6] Spider Bait RandyM 11/10/2003 1:03 AM
Re: [6.6] Spider Bait Mark Schonfeld 11/10/2003 3:04 AM
Re: [6.6] Spider Bait Autocrosser 11/10/2003 10:22 PM
Re: [6.6] Spider Bait autostream 11/29/2003 6:43 AM
Re: [6.6] Spider Bait LK 11/29/2003 12:03 PM
Re: [6.6] Spider Bait autostream 11/29/2003 10:54 PM
Re: [6.6] Spider Bait autostream 12/16/2003 1:47 AM
Re: [6.6] Spider Bait Ian Spence 12/16/2003 2:13 AM
Re: [6.6] Spider Bait autostream 12/16/2003 3:56 AM
Re: [6.6] Spider Bait Ian Spence 12/16/2003 4:27 AM
Re: [6.6] Spider Bait autostream 01/23/2004 6:37 AM
Re: [6.6] Spider Bait Ian Spence 01/23/2004 6:47 AM
Re: [6.6] Spider Bait Poopy Pants 02/20/2004 3:18 AM
Re: [6.6] Spider Bait Ian Spence 02/20/2004 3:31 AM
Re: [6.6] Spider Bait Charles Capps 02/20/2004 3:48 AM
Re: [6.6] Spider Bait Poopy Pants 02/20/2004 3:50 AM
Re: [6.6] Spider Bait Poopy Pants 02/20/2004 3:51 AM
Re: [6.6] Spider Bait Poopy Pants 02/20/2004 8:33 AM
Re: [6.6] Spider Bait Charles Capps 02/20/2004 10:02 AM
Re: [6.6] Spider Bait Gizmo 02/20/2004 8:10 PM
Re: [6.6] Spider Bait Poopy Pants 02/21/2004 1:22 AM
Re: [6.6] Spider Bait eXtremeTim 05/10/2004 10:29 PM
Re: [6.6] Spider Bait Charles Capps 05/10/2004 11:46 PM
Re: [6.6] Spider Bait eXtremeTim 05/10/2004 11:53 PM
Re: [6.6] Spider Bait Ian Spence 05/11/2004 3:25 AM
Re: [6.6] Spider Bait eXtremeTim 05/11/2004 4:18 AM
Re: [6.6] Spider Bait Charles Capps 05/11/2004 5:07 AM
Re: [6.6] Spider Bait eXtremeTim 05/11/2004 5:41 PM
Re: [6.6] Spider Bait Charles Capps 05/11/2004 9:36 PM
Re: [6.6] Spider Bait eXtremeTim 05/11/2004 9:56 PM
Re: [6.6] Spider Bait eXtremeTim 05/13/2004 7:50 AM
Re: [6.6] Spider Bait Gizmo 05/13/2004 8:03 AM
Re: [6.6] Spider Bait eXtremeTim 05/13/2004 8:16 AM
Re: [6.6] Spider Bait Gizmo 05/13/2004 8:46 AM
Re: [6.6] Spider Bait Vogs 08/07/2004 6:49 PM
Re: [6.6] Spider Bait Ian Spence 08/07/2004 7:13 PM
Re: [6.6] Spider Bait Vogs 08/07/2004 7:21 PM
Re: [6.6] Spider Bait Vogs 08/07/2004 7:26 PM
Re: [6.6] Spider Bait Ian Spence 08/07/2004 7:26 PM
Re: [6.6] Spider Bait Vogs 08/07/2004 8:22 PM
Re: [6.6] Spider Bait Ian Spence 08/07/2004 9:00 PM
Re: [6.6] Spider Bait Vogs 08/07/2004 9:38 PM
Re: [6.6] Spider Bait Ian Spence 08/08/2004 4:43 AM
Re: [6.6] Spider Bait Gizmo 08/08/2004 6:03 AM
Re: [6.6] Spider Bait Felix 10 11/26/2004 8:02 AM
Re: [6.6] Spider Bait Gizmo 11/26/2004 10:48 AM
Re: [6.6] Spider Bait Ian Spence 11/26/2004 7:54 PM
Re: [6.6] Spider Bait Gizmo 11/27/2004 2:25 AM
Re: [6.6] Spider Bait Ian Spence 11/27/2004 2:29 AM
Re: [6.6] Spider Bait Felix 10 11/29/2004 6:06 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)