vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Kill Google Spider! (https://vborg.vbsupport.ru/showthread.php?t=184443)

carmichael1973 07-05-2008 03:36 PM

Kill Google Spider!
 
I've read tons of posts and founds hacks that increase spider activity. Unfortunately I need to ABSOLUTELY KILL all spider activity on my site. We created our new site about 1 month ago. It is a PRIVATE site that it is used for company employees only. None of the information contained within should ever be viewed by the general public. The problem we face now is that in the short time this site has been active, google spiders have been working their A** off. Our content is all over the search engines. The good news is that we have not populated the site with any confidential info just yet.

Does anyone know of a way to completely block spiders from exploring our site?

Dismounted 07-05-2008 03:44 PM

Search Google for a robots.txt "guide".

If it is a private site, why not just disable all guest viewing, or add a .htaccess/.htpasswd protection and send the username/password to all the employees?

Jase2 07-05-2008 03:45 PM

You could add an authentication to the site, however, that would require everyone to know the username and password to access the site. You're best just closing the forums to guests, which means bots cannot index your content. :)

Dismounted 07-05-2008 03:48 PM

You could even put the username/password combo on the description for the password prompt, that would stop bots too :p.

carmichael1973 07-05-2008 04:08 PM

Quote:

Originally Posted by Dismounted (Post 1567434)
Search Google for a robots.txt "guide".

If it is a private site, why not just disable all guest viewing, or add a .htaccess/.htpasswd protection and send the username/password to all the employees?

I was actually thinking of something just like that. We create the user accounts and then send them their login info via email. It's been a few years since I've used VB and the code has changed alot. For the better that is.

Quote:

Originally Posted by Jase2 (Post 1567436)
You could add an authentication to the site, however, that would require everyone to know the username and password to access the site. You're best just closing the forums to guests, which means bots cannot index your content. :)

I've considered that option as well.

Quote:

Originally Posted by Dismounted (Post 1567443)
You could even put the username/password combo on the description for the password prompt, that would stop bots too :p.


I'm also running VBPORTAL which is installed in my root directory. My forums is installed in ROOT/FORUMS. What I'd like to do is have an .htaccess/.htpaasword script run and require a VALID MEMBER login before displaying anything. If login fails redirect to a custom error page.

My propblem is I'm not familiar with the current VB code to do that. Then making it work on a non-vb page as well.

Basically, I need to establish a login verification that will be global to my site before displaying any requested pages.

Jase2 07-05-2008 04:49 PM

A .htaccess/.htpasswd protection would be global and is not strictly pointed to vBulletin itself.

carmichael1973 07-05-2008 05:27 PM

Quote:

Originally Posted by Jase2 (Post 1567512)
A .htaccess/.htpasswd protection would be global and is not strictly pointed to vBulletin itself.

Is there anything already available to use the users VB information for authentication?

Jase2 07-05-2008 05:48 PM

Not that I'm aware of. It's just a global username and password for accessing the site.

carmichael1973 07-05-2008 06:00 PM

Yea, I've been reading a few hundred posts and I don't find any existing solution. I brought myself up to speed on the login code for 3.7.0. I've managed to get a successful login using htaccess and redirect on failed login working.

Upon successful login it displays the requested page fine. However you are still required to login using the forum login. I'm working on making it log you in to the forums at the same time. I know that I should be happy with what I have now, but unfortunately the employees who will be using this complain about every little thing.

badboyz 07-05-2008 07:15 PM

bro just ban google.com ips in .htaccess


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.01080 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)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