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 fastforward fastforward is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-24-2001 Last Update: Never Installs: 35
 
No support by the author.

For vB 2.0

This little hackette is a quick fix to allow search engine bots to spider your threads.

Although this will allow the bots to index every thread on your site, it will not make the threads 'search engine optimized'. They will see exactly what you see when you visit your site. It simply removes the CGI bits from the URL's which prevents most search engine bots from spidering more than one level deep.

If you want a hack that allows to fully customize how the thread will look to the search engine bot, you should look at Overgrows more complete hack here.

The advantage of this hack over Overgrows is that it does not require htaccess support which can have performance issues. This could also be seen as a disadvantage though as my hack requires that you have mod_rewrite enabled on your Apache Server, whereas Overgrows method should work with just about any web host out there.

Take yer pick

Show Your Support

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

Comments
  #202  
Old 12-06-2002, 02:05 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to edit your postings.php - there is a post in this thread on how to do this already.
Reply With Quote
  #203  
Old 12-06-2002, 09:47 AM
The Piper's Avatar
The Piper The Piper is offline
 
Join Date: Apr 2002
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
You need to edit your postings.php - there is a post in this thread on how to do this already.
I installed this fix, and although I haven't even tested it, it only works for merging threads. I still get the same problem when trying to move threads, the forumjump doesn't show up, so all I get is a link to "Please select forum:", and no forum shows up. That is, I can't move threads at all. Any help would be greatly appreciated.
Reply With Quote
  #204  
Old 12-06-2002, 11:01 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack doesn't affect forumjump, so I don't know why your forumjump is like that to be honest.
Reply With Quote
  #205  
Old 12-07-2002, 01:36 AM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by The Piper

the forumjump doesn't show up, so all I get is a link to "Please select forum:", and no forum shows up. That is, I can't move threads at all. Any help would be greatly appreciated.
Have you set <base href="http://yoursite.com/forum/">
in the header?

If that still doesn't work, you may have to edit the window.location() javascript functions in the templates and prefix them with a forward slash or the forum url.
Reply With Quote
  #206  
Old 12-10-2002, 05:53 AM
fello9 fello9 is offline
 
Join Date: Jul 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone knows what I need to code the "page navigation" numbers to be Search Engine Friendly?

I know it can be done, because I saw these guys have done it at: http://www.techimo.com/forum/f3/index.html . This links look
like this:
http://www.techimo.com/forum/fid3/dp1000/so/sflastpost/pp50/pn2/index.html .
Reply With Quote
  #207  
Old 12-23-2002, 06:31 PM
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Location: PA
Posts: 1,014
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran into a new problem. I recently changed servers and it seems as though mod_rewrite isn't working at all. Every page comes up with a 404.

Take a look: http://board.midibuddy.net

No links work!! AHH!!

mod_rewrite is enabled on the server. Everything should work fine, right? This is what my .htaccess file looks like:
PHP Code:
RewriteEngine on 
RewriteRule 
^f([0-9]+)/?$ forumdisplay.php?forumid=$1&s=$[L
RewriteRule ^t([0-9]+)\.htmlshowthread.php?threadid=$[L]
RewriteRule ^t([0-9]+)-([0-9]+)\.htmlshowthread.php?threadid=$1&perpage=15&pagenumber=$[L]
RewriteRule ^f([0-9]+)-([0-9]+)/$ forumdisplay.php?forumid=$1&daysprune=1000&sortorder=&sortfield=lastpost&perpage=40&pagenumber=$[L]
RewriteRule ^[ft]([0-9]+)/s([^/]*)/(.+)$ /$[L

HELP!!!
Reply With Quote
  #208  
Old 01-05-2003, 02:39 PM
codewebs codewebs is offline
 
Join Date: Dec 2002
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i know this is a old post, but when i use the fix for whos online it says viewing thread without the link to the thread and the same as viewing forum
Reply With Quote
  #209  
Old 01-16-2003, 08:00 AM
cyc cyc is offline
 
Join Date: Nov 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys

Geat hack.....its the sole reason why i converted from yabbse to vbulletin yesterday

I've installed it but i think its still using sessions http://www.cyclingforums.com/f48/s isnt this a problem for google?

It would be good to be able to get rid of sessions unless they were required

great hack btw

cheers!
Reply With Quote
  #210  
Old 01-16-2003, 12:36 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by cyc
Hi guys

Geat hack.....its the sole reason why i converted from yabbse to vbulletin yesterday

I've installed it but i think its still using sessions http://www.cyclingforums.com/f48/s isnt this a problem for google?

It would be good to be able to get rid of sessions unless they were required

great hack btw

cheers!
You probably don't want to rely on the file in the first post. Use the following rewrite rules and make sure you change all the templates to remove any passing of the sessionhash. Obviously you will also need to force everybody to use cookies on your board.
Code:
RewriteEngine on
RewriteRule ^/f([0-9]+)/?$ /forumdisplay.php?forumid=$1 [L]
RewriteRule ^/f([0-9]+)/s?$ /forumdisplay.php?forumid=$1 [L]
RewriteRule ^/t([0-9]+)\.html$ /showthread.php?threadid=$1 [L]
RewriteRule ^/t([0-9]+)/s([^/]?)\.html$ /showthread.php?threadid=$1&s=$2 [L]
RewriteRule ^/s([^/\?]0-9)+/$ /index.php?s=$1 [L]
Reply With Quote
  #211  
Old 01-16-2003, 02:07 PM
Haakon Haakon is offline
 
Join Date: Nov 2001
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is even better than you think cyc, my small board gets about 1000 uniques a day because of this genious hack (got to have some page rank though, which you have)

But I really want to second fello9`s question about the secret to enable this hack for page navigation. Do you have an idea fastforward, or anyone?

Thanks,
Haakon
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 04:04 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.05139 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)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
  • (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