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
  #242  
Old 08-04-2002, 01:33 PM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All the links are supposed to link to non-existent folders, that's how this hack works.

Read carefully the bit about .htaccess
Reply With Quote
  #243  
Old 08-04-2002, 03:12 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

James,

first thank you for your reply. I really appreciate that you are trying to help.


second, this hack supposed to generate an index.html file, something like a site map with links towards every week of every month of every year.... see this example http://www.overgrow.com/edge/archive/2/index.html

in my case, the directory "2" and all other same level directories do NOT exist...

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

James,

At the end of the day, the script or the hack is supposed to generate TEXT ONLY versions of your forums and your threads.

see this example and look well at the subfolders of the "archive" folder

http://www.overgrow.com/edge/archive/2/1999/08/1/2274



N.B. : Overgrow has put a "adult only" mark for his site.
Reply With Quote
  #245  
Old 08-04-2002, 03:50 PM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Again: the pages are not supposed to exist.

The .htaccess thing catches the "this page doesn't exist" error, and runs this script instead. If the .htaccess thing doesn't work on your server, then you need to ask your ISP nicely for a custom 404 error page.
Reply With Quote
  #246  
Old 08-04-2002, 07:36 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thank you very much. I will check and tell you if it works.
Reply With Quote
  #247  
Old 08-04-2002, 10:13 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by James Cridland
Again: the pages are not supposed to exist.

The .htaccess thing catches the "this page doesn't exist" error, and runs this script instead. If the .htaccess thing doesn't work on your server, then you need to ask your ISP nicely for a custom 404 error page.
I have placed a .htaccess on the root, and another .htaccess in the public_html folder, and another .htacess in its subfolder "vb".

Should I make them all the same .htaccess file with that custom 404 line

ErrorDocument 404 http://www.mydomain.com/vb/archive/index.php

or should I simply delete those .htaccess files in the subfolders

I have SSH / Telnet access to my server, and can delete eventual .htaccess files.
Reply With Quote
  #248  
Old 08-04-2002, 10:27 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I have asked and got an answer about .htaccess files.

finally, I deleted ALL of my .htaccess files, except for the one on the root.

that one, holds this ErrorDocument 404 http://www.mydomain.com/vb/archive/index.php correctly.

it should work then now....

I tried, it does not
Reply With Quote
  #249  
Old 08-05-2002, 12:39 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #250  
Old 08-05-2002, 12:56 AM
mvigod mvigod is offline
 
Join Date: Dec 2001
Location: Jersey
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

People...I guess you missed my earlier post in this thread...the 404 not found error WILL NOT WORK! Yes you will get the content page but the engines receive a 404 header thus thinking the page they are getting is an error page and thus is NOT indexed nor are links followed within it. Don't waste your time on this with the hack as is...
Reply With Quote
  #251  
Old 08-05-2002, 01:16 AM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
People...I guess you missed my earlier post in this thread...the 404
not found error WILL NOT WORK! Yes you will get the content page but the
engines receive a 404 header thus thinking the page they are getting is an
error page and thus is NOT indexed nor are links followed within it. Don't
waste your time on this with the hack as is...
my friend this hack is one of the best hacks about search engine
friendliness. I have searched well on vbulletin.org, and did not find any
serious as competitive alternative.

Plus, this hack worked VERY fine for sooooo many people, why not us then ???
I would highly appreciate any help.....
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 07:44 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.02804 seconds
  • Memory Usage 2,303KB
  • Queries Executed 27 (?)
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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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