Oprano Front Page


Go Back   Oprano Adult Industry Forums > The Business Of Porn - Closed For Posting > Legacy Archived Main Board

Notices

Legacy Archived Main Board Business chat and general industry chat. All participation is welcome. Dont post your fucking spam here.





Check Out YnotMail

The Original Oprano Flat Board (Thanks To Sarettah!)---
Oprano Swag Shop
"History Of Porn Timeline
Reply
 
Thread Tools Display Modes
Old 02-17-2005   #1
Titan
Members
 
Titan's Avatar
 
Join Date: Jan 2005
Posts: 492
Default

When optimizing your web site most webmasters don’t consider using the robot.txt file.

This is a very important file for your site. It let the spiders and crawlers know what they can and can not index. This is helpful in keeping them out of folders that you do not want index like the admin or stats folder. The robot.txt file goes in the root directory.

Here is a list of variables that you can include in a robot.txt file and there meaning:

1) User-agent: In this field you can specify a specific robot to describe access policy
for or a “*” for all robots more explained in example.

2) Disallow: In the field you specify the files and folders not to include in the crawl.

3) The # is to represent comments

Here are some examples of a robot.txt file

User-agent: *
Disallow:

The above would let all spiders index all content.

Here another

User-agent: *
Disallow: /cgi-bin/

The above would block all spiders from indexing the cgi-bin directory.

User-agent: googlebot
Disallow:

User-agent: *
Disallow: /admin.php
Disallow: /cgi-bin/
Disallow: /admin/
Disallow: /stats/

In the above example googlebot can index everything while all other spiders can not index admin.php, cgi-bin, admin, and stats directory. Notice that you can block single files like admin.php.
Titan is offline   Reply With Quote
Old 02-17-2005   #2
NickPapageorgio
Members
 
NickPapageorgio's Avatar
 
Join Date: Jul 2004
Posts: 843
Default

Ok in the last example, that would be two commands, both included in the same robots.txt file? Like you're saying first and foremost that google has access to everything, and secondly, any other agent cannot access the specified files?

Thanks. Always wondered exactly what robots.txt was for. Any other good uses?
__________________
www.lotzadollars.com
NickPapageorgio is offline   Reply With Quote
Old 02-17-2005   #3
Titan
Members
 
Titan's Avatar
 
Join Date: Jan 2005
Posts: 492
Default

i think u can use the comman [makecoffee] aswell
Titan is offline   Reply With Quote
Old 03-18-2005   #4
iknowalttl
Members
 
Join Date: Mar 2005
Location: Florida
Posts: 215
Default

Would there be any reason to allow spiders to crawl any folders other than the html and ftp public folders? Would I be hurting myself in anyway to disallow all folders except these?
__________________
Got Lifeforce?
iknowalttl is offline   Reply With Quote
Old 03-20-2005   #5
Titan
Members
 
Titan's Avatar
 
Join Date: Jan 2005
Posts: 492
Default

unless u want to keep something unlisted in the se's then i dont see why you would - everything they crawl is a potential listing somewhere in the se's
Titan is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -4. The time now is 04:22 PM..


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright Evil Empire Inc. 2006-2022