vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   What should be in robots.txt? (https://vborg.vbsupport.ru/showthread.php?t=304164)

K4GAP 11-04-2013 07:03 PM

What should be in robots.txt?
 
What should be in robots.txt?

Elite_360_ 11-04-2013 09:01 PM

this is what i have on my site i have it on the root of my site my front end uses joomla

here a link about robots txt


Code:


User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /language/
Disallow: /libraries/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
Disallow: /forum/admincp/
Disallow: /forum/clientscript/
Disallow: /forum/cpstyles/
Disallow: /forum/customavatars/
Disallow: /forum/customprofilepics/
Disallow: /forum/images/
Disallow: /forum/includes
Disallow: /forum/modcp/
Disallow: /forum/ajax.php
Disallow: /forum/attachment.php
Disallow: /forum/calendar.php
Disallow: /forum/cron.php
Disallow: /forum/editpost.php
Disallow: /forum/global.php
Disallow: /forum/image.php
Disallow: /forum/inlinemod.php
Disallow: /forum/joinrequests.php
Disallow: /forum/login.php
Disallow: /forum/member.php
Disallow: /forum/memberlist.php
Disallow: /forum/misc.php
Disallow: /forum/moderator.php
Disallow: /forum/newattachment.php
Disallow: /forum/newreply.php
Disallow: /forum/newthread.php
Disallow: /forum/online.php
Disallow: /forum/poll.php
Disallow: /forum/postings.php
Disallow: /forum/printthread.php
Disallow: /forum/private.php
Disallow: /forum/profile.php
Disallow: /forum/register.php
Disallow: /forum/report.php
Disallow: /forum/reputation.php
Disallow: /forum/search.php
Disallow: /forum/sendmessage.php
Disallow: /forum/showgroups.php
Disallow: /forum/subscription.php
Disallow: /forum/threadrate.php
Disallow: /forum/usercp.php
Disallow: /forum/usernote.php


ForceHSS 11-05-2013 02:27 AM

Quote:

Originally Posted by Elite_360_ (Post 2458236)
this is what i have on my site i have it on the root of my site my front end uses joomla

here a link about robots txt


Code:


User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /language/
Disallow: /libraries/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
Disallow: /forum/admincp/
Disallow: /forum/clientscript/
Disallow: /forum/cpstyles/
Disallow: /forum/customavatars/
Disallow: /forum/customprofilepics/
Disallow: /forum/images/
Disallow: /forum/includes
Disallow: /forum/modcp/
Disallow: /forum/ajax.php
Disallow: /forum/attachment.php
Disallow: /forum/calendar.php
Disallow: /forum/cron.php
Disallow: /forum/editpost.php
Disallow: /forum/global.php
Disallow: /forum/image.php
Disallow: /forum/inlinemod.php
Disallow: /forum/joinrequests.php
Disallow: /forum/login.php
Disallow: /forum/member.php
Disallow: /forum/memberlist.php
Disallow: /forum/misc.php
Disallow: /forum/moderator.php
Disallow: /forum/newattachment.php
Disallow: /forum/newreply.php
Disallow: /forum/newthread.php
Disallow: /forum/online.php
Disallow: /forum/poll.php
Disallow: /forum/postings.php
Disallow: /forum/printthread.php
Disallow: /forum/private.php
Disallow: /forum/profile.php
Disallow: /forum/register.php
Disallow: /forum/report.php
Disallow: /forum/reputation.php
Disallow: /forum/search.php
Disallow: /forum/sendmessage.php
Disallow: /forum/showgroups.php
Disallow: /forum/subscription.php
Disallow: /forum/threadrate.php
Disallow: /forum/usercp.php
Disallow: /forum/usernote.php


I would remove your admincp and modcp from there

K4GAP 11-05-2013 04:04 AM

Quote:

Originally Posted by ForceHSS (Post 2458287)
I would remove your admincp and modcp from there

Just trying to catch on to make sure mine is configured properly. Why would you not list those two items? Not needed or, some specific reason?

Max Taxable 11-05-2013 04:07 AM

Quote:

Originally Posted by GaryT (Post 2458293)
Just trying to catch on to make sure mine is configured properly. Why would you not list those two items? Not needed or, some specific reason?

The robots.txt file is publicly viewable - has to be for the bots to "read." You'll be letting script kiddies know where the backend is located.

K4GAP 11-05-2013 04:19 AM

Quote:

Originally Posted by Max Taxable (Post 2458294)
The robots.txt file is publicly viewable - has to be for the bots to "read." You'll be letting script kiddies know where the backend is located.

Ok so for me to open my forum to badbots or "scripy kiddies" I'm at risk, I got that.

Then here is my headache, restrict the bad guys and lose being found by folks looking for the type of content my site offers or, take a chance so I may gain more members?

I'm going to start Googleing and hopefully there is a sweet spot to go with.

Thanks

Elite_360_ 11-05-2013 04:40 AM

Quote:

Originally Posted by ForceHSS (Post 2458287)
I would remove your admincp and modcp from there

those dir are password protected im not worried so before you can login the back end you have to enter a custom username password for admincp and modcp dir

ForceHSS 11-05-2013 05:10 AM

Quote:

Originally Posted by Elite_360_ (Post 2458303)
those dir are password protected im not worried so before you can login the back end you have to enter a custom username password for admincp and modcp dir

I have mine pass worded as well but a good hacker can still hack any forum no matter what you have in place

Max Taxable 11-05-2013 04:22 PM

Quote:

Originally Posted by GaryT (Post 2458297)
Ok so for me to open my forum to badbots or "scripy kiddies" I'm at risk, I got that.

Then here is my headache, restrict the bad guys and lose being found by folks looking for the type of content my site offers or, take a chance so I may gain more members?

I'm going to start Googleing and hopefully there is a sweet spot to go with.

Thanks

Nah... I would just let the good bots index admincp and modcp, the bad bots don't obey robots.txt anyway.

Robots.txt is alot like gun laws - only the law abiding obey them. The bad bots just flat out ignore it. True story.

EDIT to add: It's far more effective to just block the bad bots, using Simon Lloyd's "Ban Spiders by User Agent." One of the best Mods in the history of Mods.

Videx 11-06-2013 02:35 PM

If we're taking a poll, I have both those files in mine. It never occurred to me that a hacker would need that information for some nefarious purpose. I mean, once they get into the server they're going to know all that stuff anyway.

More important I think is keeping the db backed up locally regularly. Go ahead and hack my site; I'll just reinstall and be right back.


All times are GMT. The time now is 01:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01519 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete