PDA

View Full Version : What is Perfect robots.txt for vb5?


yarick7
05-06-2016, 11:18 PM
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
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
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

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
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
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

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

Emad ELsayed
03-30-2018, 11:03 AM
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
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.

/* #### 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
In the config file you need to edit this part along with manually renaming the folders as well.

/* #### 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