vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   What is Perfect robots.txt for vb5? (https://vborg.vbsupport.ru/showthread.php?t=322560)

yarick7 05-06-2016 11:18 PM

What is Perfect robots.txt for vb5?
 
hello guys, im new and like title says my question is what is perfect robots.txt for vb5

i found only for vb4 and not sure if it works for vb5
https://vborg.vbsupport.ru/showthread.php?t=302483

In Omnibus 05-06-2016 11:29 PM

There isn't one. Bad bots ignore robots.txt files.

What are you trying to accomplish?

IggyP 05-07-2016 12:49 AM

didnt they put that functions into the software itself?

thought i read that somewhere...

yarick7 05-07-2016 01:04 AM

Quote:

Originally Posted by ProSportsForums (Post 2570289)
There isn't one. Bad bots ignore robots.txt files.

What are you trying to accomplish?

i thought maybe i should close some areas from indexing for security & seo reasons

IggyP 05-07-2016 01:13 AM

i believe you can do that in admincp settings
i know you can for the site, just not 100% how much you can separate in there offhand

In Omnibus 05-07-2016 02:01 AM

Google doesn't index non-content areas in any case.

The best way to go about blocking bots is by user agent.

If security is your concern you can rename admincp and modcp but don't list them in your robots.txt file. That tells the bots where they are.

Emad ELsayed 03-25-2018 10:01 AM

Quote:

Originally Posted by In Omnibus (Post 2570295)
Google doesn't index non-content areas in any case.

The best way to go about blocking bots is by user agent.

If security is your concern you can rename admincp and modcp but don't list them in your robots.txt file. That tells the bots where they are.

Can you help me how to rename admincp and modcp folder.

Best Regards

final kaoss 03-25-2018 08:12 PM

This is what I use in my robots.txt

Code:

User-agent: *
Disallow: /cgi-bin/
Disallow: /register.php
Disallow: /online.php
Disallow: /admincp/
Disallow: /modcp/
Disallow: /subscription.php


Seven Skins 03-26-2018 08:28 PM

Code:

Disallow: /admincp/
Disallow: /modcp/


If it is me I would remove these lines ... because you are telling hackers where your adminCP is.


.

final kaoss 03-26-2018 08:35 PM

Quote:

Originally Posted by Seven Skins (Post 2593763)
Code:

Disallow: /admincp/
Disallow: /modcp/


If it is me I would remove these lines ... because you are telling hackers where your adminCP is.


.


That's not really too big of a deal because hackers would already know of those folders with a vbulletin exploit lookup which would tell them exactly where the location is anyways. It simply tells spiders, not to index those parts.

Seven Skins 03-26-2018 08:40 PM

Usually my adminCP is name is like "dontlookhere" or something else.
If I am hiding the adminCP why advertise it?
Anyways its your choice.

Emad ELsayed 03-27-2018 12:42 PM

Can you help me how to rename admincp and modcp folder.
Best Regards

final kaoss 03-27-2018 05:09 PM

Rename folder, update config.php

Quote:

Originally Posted by Emad ELsayed (Post 2593784)
Can you help me how to rename admincp and modcp folder.
Best Regards


Emad ELsayed 03-30-2018 11:03 AM

Quote:

Originally Posted by final kaoss (Post 2593792)
Rename folder, update config.php

There is no option to change the folder admincp to file config.php
Can more details
Best Regards

Brandon Sheley 03-30-2018 11:07 AM

I don't block anything in my robots.txt files anymore, there is really no point.

In Omnibus 03-30-2018 12:52 PM

Perfect robots.txt:

User-agent: *
Disallow: /

Then delete your database and files and log off the internet forever.

final kaoss 03-30-2018 01:12 PM

Quote:

Originally Posted by Emad ELsayed (Post 2593833)
There is no option to change the folder admincp to file config.php
Can more details
Best Regards

In the config file you need to edit this part along with manually renaming the folders as well.

Code:

/* #### PATH TO ADMIN & MODERATOR CONTROL PANELS  ####
This setting allows you to change the name of the folders that the admin and
moderator control panels reside in. You may wish to do this for security purposes.
Please note that if you change the name of the directory here, you will still need
to manually change the name of the directory on the server. */
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
/* Prefix that all vBulletin cookies will have
Keep this short and only use numbers and letters, i.e. 1-9 and a-Z */
$config['Misc']['cookieprefix'] = 'vb';


Emad ELsayed 03-30-2018 01:26 PM

Quote:

Originally Posted by final kaoss (Post 2593837)
In the config file you need to edit this part along with manually renaming the folders as well.

Code:

/* #### PATH TO ADMIN & MODERATOR CONTROL PANELS  ####
This setting allows you to change the name of the folders that the admin and
moderator control panels reside in. You may wish to do this for security purposes.
Please note that if you change the name of the directory here, you will still need
to manually change the name of the directory on the server. */
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
/* Prefix that all vBulletin cookies will have
Keep this short and only use numbers and letters, i.e. 1-9 and a-Z */
$config['Misc']['cookieprefix'] = 'vb';


Thank you very much for your cooperation
But unfortunately it does not work vb 5.4.0


All times are GMT. The time now is 05:05 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.01233 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete