Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #252  
Old 08-05-2002, 01:22 AM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
> You need to put an .htaccess file like this in the /forums/archive folder:
> ErrorDocument 404 /forums/archive/index.php
> Change forums to the correct folder name for you board directory. This is
all that's required along with the index.php and the class.mysql.php
files.
thank you so much for trying to help.
this .htaccess file in the "archive" subfolder of the "vb" folder is
something I triple checked.
The file is there, and it is working, and this is why when clicking on any
of those broken links generated on the /vb/archive/index.php page, the page
itself is reloaded, for it is itself the 404 page.
Reply With Quote
  #253  
Old 08-06-2002, 04:32 PM
patvdv's Avatar
patvdv patvdv is offline
 
Join Date: Oct 2001
Location: Belgium
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by mvigod
Has anyone ever witnessed Google going more than one level deep? Since they get the 404 respose code with this hack they don't index those pages or go any deeper. They are not in the habit of indexing "Not Found 404 error" pages or following the links in them. They will follow the first set of links from the index.php but each of those really doesn't exist so the 404 error is the end of the line even though the pages have content.

I think this has to be rewritten with mod rewrite to rewrite the requests for all pages back to index.php so a 200 OK response code is given and it will be archived.

With all these posts didn't anybody realize this?
mvigod, I think you are right about this. Alot of webrippers will also trip over this. I know WebWhacker does handle the 404. Does anybody can give some input as to make this work with mod rewrite?
Reply With Quote
  #254  
Old 08-06-2002, 05:35 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by patvdv, quoting above
...
I think this has to be rewritten with mod rewrite to rewrite the requests for all pages back to index.php so a 200 OK response code is given and it will be archived.
Patvdv and everyone else,

see what overgrow mentioned in the second post of this thread, about updating this..... look at the last of the fixes he mentioned.


Quote:
Originally posted by Overgrow
...

FIXES:

v1.1b release

-Added header("Status: 200 OK"); for the really picky engines
is not that the 200OK response you are talking about ???


__________________________

I am trying to help here...... waiting for some courageous person to step forward and help me and others having problems to make this work.

I described my problem above, please read and try to help.
Reply With Quote
  #255  
Old 08-07-2002, 08:07 PM
Destee's Avatar
Destee Destee is offline
 
Join Date: Oct 2001
Location: destee.com
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh My Gosh Overgrow !!!!! I am using this !!!!!

I have known about this thread for a very long time but never tried it because I thought I'd not be able to do it !!! Just thought that ... no real reason why ... but anyway ... ... I've just installed it ... PAINLESS ... BEAUTIFUL ... THANK YOU !!!!

http://destee.com/forums/archive

Whew ... Wow ... I missed out for a long time ... for no reason!

Thanks Again.

Destee
Reply With Quote
  #256  
Old 08-07-2002, 08:41 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, if you have been that successful, would you kindly help your fellows a
bit ???

Please read me above, I have described my problem in detail.
Reply With Quote
  #257  
Old 08-07-2002, 10:05 PM
Destee's Avatar
Destee Destee is offline
 
Join Date: Oct 2001
Location: destee.com
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Learner29 ... it would be my pleasure to help you ... unfortunately, I don't have any tips to provide. I followed Overgrow's instructions step by step and it worked for me. Well ... as I think about it ... I did chmod 777 .htaccess ... which was not in his instructions. Perhaps this will help? Let us know.

Destee
Reply With Quote
  #258  
Old 08-09-2002, 08:10 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Detsee, that is so kind of you. I really appreciate your help.

well,

I hope overgrow would have a minute to help here.

mode of `.htaccess' changed to 0777 (rwxrwxrwx)

and

mode of `archive' changed to 0777 (rwxrwxrwx)

and

mode of `class.mysql.php' changed to 0777 (rwxrwxrwx)
mode of `index.php' changed to 0777 (rwxrwxrwx)

and still......... I have only index.php and no one single folder there...

I am getting pessimistic about this hack... frankly, I do not have the impression many people do really care to help.
Reply With Quote
  #259  
Old 08-09-2002, 10:42 PM
Destee's Avatar
Destee Destee is offline
 
Join Date: Oct 2001
Location: destee.com
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Learner ... sorry it's not working for you. If it is any consolation, vB3 will have something similiar to this hack included in it. So you won't be without this ability for long.

Don't be too discouraged, I happen to know that this original hack predates vb.org (which means he's probably given a lot of support since its creation), and I don't know if you've visited Overgrow's site before ... but it is humongous ... which I'm sure keeps him pretty busy ... even if he has nothing else to do, which I doubt.

Stay encouraged ... this really is a great community with lots of folk willing to help.

Destee
Reply With Quote
  #260  
Old 08-09-2002, 10:55 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thank you a million my friend for your very kind answer.
I just wish anybody can help me get this to work.
Reply With Quote
  #261  
Old 08-22-2002, 01:36 PM
grooveh grooveh is offline
 
Join Date: Jul 2002
Location: Canada
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am wondering if anyone can help me with this, please? I have seemingly installed everything as per directions, but still have a few errors, and cant figure out why?

Link to Archive.php

Is it me? Please let me know. I'm thoroughly stumped.

TIA
Reply With Quote
Reply

Thread Tools

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 05:39 AM.


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.05147 seconds
  • Memory Usage 2,307KB
  • 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
  • (4)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
  • (1)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
  • (11)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