Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Overgrow Overgrow is offline
Developer Last Online: Jun 2004 Show Printable Version Email this Page

Version: 2.0.x Rating:
Released: 04-29-2001 Last Update: Never Installs: 53
 
No support by the author.

I am tired of my 200,000 posts not being listed in Google. I was inspired by phpbuilder.com this morning and I wrote:

vbSpiderFriend - the search engine indexer for all of your posts

Purpose: Allow search engine spiders to crawl a linked list of all of your posts.

Project Requirements:

-Friendly URLs (no query strings)
-Good dynamic meta tags
-Never have to touch the script again.. It is Y3K compliant, simply re-submit to the engines to update your listings

Install Requirements:

-vBulletin 1.x or 2.x
-about 10 minutes


1) Download the attached Zip.

2) Open class.mysql.php and put your database login info at the top.

3) Create a new directory called archive under your forum, like /forum/archive

4) Open the included .htaccess and change the Error 404 to your new archive path.

5) Open index.php and change the self-explanatory variables at the top of the file.

6) Upload all 3 files to your archive directory.

7) Submit /forum/archive/index.php to search engines and watch em crawl


DISCLAIMER: I don't use 2.x but I checked the schema and this should work fine.

NOTES: This uses ErrorDocument and query string parsing to get the variables needed. I do not have the time or energy to troubleshoot this if it does not work on your server. Sorry!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 10-07-2001, 12:00 AM
Razzie
Guest
 
Posts: n/a
Default

Quote:
Originally posted by CoolaShacka
Yes.
my .htaccess is
Code:
ErrorDocument 404 /home/csbvu/public_html/archive/index.php
I am hosted by VO
The redirect should be an absolute web address not a unix path!

Replace with:
Code:
ErrorDocument 404 /archive/index.php
Reply With Quote
  #163  
Old 10-07-2001, 12:03 AM
Razzie
Guest
 
Posts: n/a
Default

Quote:
Originally posted by JohnL
Is there any way to get this to work on a W2K server with IIS?

I did the redirect for the 404 error but it just reloads the index page. Here is an example http://www.reefcentral.com/vbulletin/archive/index.php
This is probably occuring because the PHP file isn't able to get the original URL that was requested.

Create a new index.php and add <? phpinfo(); ?> in it. Now try to cause a 404 and look at the enviromental variables that hold the requested URL. Use that enviromental variable inside the original index.php file.
Reply With Quote
  #164  
Old 10-07-2001, 01:09 AM
JohnL
Guest
 
Posts: n/a
Default

THANK YOU...THANK YOU...THANK YOU

OK all you IIS guys. Thanks to Razzie...

Do a search for REQUEST_URI and replace it with QUERY_STRING and you are good to go!

Quote:
Originally posted by Razzie
This is probably occuring because the PHP file isn't able to get the original URL that was requested.
Thanks again Razzie
Reply With Quote
  #165  
Old 10-07-2001, 02:33 AM
JohnL
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Razzie
Small Bug with displaying private forums:
Excellent catch! Razzie, you da man, grandma!
Reply With Quote
  #166  
Old 10-07-2001, 09:55 PM
CoolaShacka CoolaShacka is offline
 
Join Date: Dec 2001
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Razzie


The redirect should be an absolute web address not a unix path!

Replace with:
Code:
ErrorDocument 404 /archive/index.php
Thank you Man.
All works fine now.
Reply With Quote
  #167  
Old 10-21-2001, 01:49 PM
Pk
Guest
 
Posts: n/a
Default

Quote:
Originally posted by CoolaShacka

Thank you Man.
All works fine now.

My god, so many pages, anyway is this hack done now?
If so could someone just post it on the hack release forum? :]
Reply With Quote
  #168  
Old 10-25-2001, 05:15 PM
OmniSlash31
Guest
 
Posts: n/a
Default

I just started my forum, but when i go to for exaple: vbb/archive/2 it goes to my error404 page
Reply With Quote
  #169  
Old 10-25-2001, 05:24 PM
JohnL
Guest
 
Posts: n/a
Default

Quote:
Originally posted by OmniSlash31
I just started my forum, but when i go to for exaple: vbb/archive/2 it goes to my error404 page
You need to redirect 404 errors to the /archive/index.php file as has been discussed in this thread.
Reply With Quote
  #170  
Old 10-25-2001, 06:03 PM
OmniSlash31
Guest
 
Posts: n/a
Default

Ok, i have a folder called "vbb" on my server for the forum.
So, .htaccess should be
ErrorDocument 404 /vbb/archive/index.php, right?
Reply With Quote
  #171  
Old 10-25-2001, 06:08 PM
CoolaShacka CoolaShacka is offline
 
Join Date: Dec 2001
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No.
.htaccess should be
ErrorDocument 404 /archive/index.php, but you have to put the .htaccess in your vbb folder
Reply With Quote
Reply


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 Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05597 seconds
  • Memory Usage 2,292KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete