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
  #322  
Old 04-22-2004, 01:21 AM
lierduh lierduh is offline
 
Join Date: Jan 2003
Location: Sydney, Australia
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DenzoForums
My archives are not working.. not vbulletin problem, but apparently the sever i am hosted on doesn;t support some feature for that to work. Is there anything else i can do?
The Archive needs to have:

AcceptPathInfo On

You can try this setting in .htaccess

Google for "AcceptPathInfo" and ".htaccess" may come back with more details.
Reply With Quote
  #323  
Old 04-23-2004, 04:37 PM
DenzoForums DenzoForums is offline
 
Join Date: Apr 2004
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where does that go? anywhere in the .htaccess file?
What does it do?

When i click on the archive link, i get re-directed to my forumhome page. Is this to fix that?

Sorry.. I'm a bit confused..

Thanks
Dave
Reply With Quote
  #324  
Old 04-24-2004, 03:35 PM
DenzoForums DenzoForums is offline
 
Join Date: Apr 2004
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lierduh
The Archive needs to have:

AcceptPathInfo On

You can try this setting in .htaccess

Google for "AcceptPathInfo" and ".htaccess" may come back with more details.
That didn't work..
anybody else have any suggestions?
Reply With Quote
  #325  
Old 04-25-2004, 12:31 AM
lierduh lierduh is offline
 
Join Date: Jan 2003
Location: Sydney, Australia
Posts: 459
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DenzoForums
That didn't work..
anybody else have any suggestions?
That directive should work in .htaccess according to:

http://httpd.apache.org/docs-2.0/mod/core.html

Have you checked google as I suggested? What have you tried? What problem you have had? what sort of error you have encountered?

Actually have you done a search at the forums of vbulletin.com? regarding archive or perhaps AcceptPathInfo.

Also read my post in this thread might help you to use .htaccess:

https://vborg.vbsupport.ru/showpost....&postcount=223

Others can only help you if you try for yourself and come back with more details.
Reply With Quote
  #326  
Old 04-25-2004, 01:01 AM
DenzoForums DenzoForums is offline
 
Join Date: Apr 2004
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually, i have been looking into this.. I read in a few threads that acceptpathinfo will not work if your httpd.conf file is not allowing it.

I have posted here, and in vbulletin.com asking for some instruction on that file.
I do not see it in ftp, or SSH - although I am not handy with SSH and don't know where or how to look.

Quote:
After some reading it seems I need to allow vB to override my apache settings in httpd.conf or this will not work. Unfortunately that is where I am stuck.

Does anyone know what needs to be changed in my httpd.conf to allow the AcceptPathInfo option to work?
This quote is from this thread from another person having same problem as me.
http://www.vbulletin.com/forum/showthread.php?t=90456


So what i need now is to find out how to edit that httpd.conf file, so it will allow the changes in .htaccess

Like I said before.. I have no idea where that file is, and if I can even get to it. My host does allow SSH access, but i do not know any commands. Dos commands not working :-)

Thanks
DAve
Reply With Quote
  #327  
Old 04-26-2004, 09:50 AM
Haakon Haakon is offline
 
Join Date: Nov 2001
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Denzo, the server httpd.conf file is probably in /etc/httpd/conf, and you can probably reach it with ssh (not ftp). You are not able to edit it though, but you can check if it is configed propperly

Concerning this hack and vB3. I`ve managed to add the rewrites to the forums, but not to the threads. I can`t find the clean
<a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]">$thread[title]</a>

I only find those with $highlight and $lastpost.
And pagenav url seems to be linked to a $address variable I can`t find.
I appreciate some help, as allways
Reply With Quote
  #328  
Old 04-26-2004, 01:23 PM
DenzoForums DenzoForums is offline
 
Join Date: Apr 2004
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Haakon
Denzo, the server httpd.conf file is probably in /etc/httpd/conf, and you can probably reach it with ssh (not ftp). You are not able to edit it though, but you can check if it is configed propperly

Concerning this hack and vB3. I`ve managed to add the rewrites to the forums, but not to the threads. I can`t find the clean
<a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]">$thread[title]</a>

I only find those with $highlight and $lastpost.
And pagenav url seems to be linked to a $address variable I can`t find.
I appreciate some help, as allways
I found this
Quote:
<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span>
in the newreply template.. but that's about it..

As far as me finding the httpd.conf file..No good. I am sure it's not onfigured right, becasue it's not working for me.. but so far I am unable to verify that..

Thanks
Dave
Reply With Quote
  #329  
Old 07-01-2004, 10:34 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone made this hack work for vb3.0.1?
Reply With Quote
  #330  
Old 07-04-2004, 04:04 PM
Haakon Haakon is offline
 
Join Date: Nov 2001
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

RewriteEngine On
RewriteRule ^musicforum([0-9]+)\.html$ forumdisplay.php?f=$1 [L]
RewriteRule ^musicforum([0-9]+)-([0-9]+)\.html$ forumdisplay.php?f=$1&page=$2&sort=lastpost&order= &pp=20&daysprune=45 [L]
RewriteRule ^musicthread([0-9]+)\.html$ showthread.php?t=$1 [L]
RewriteRule ^musicthread([0-9]+)-([0-9]+)\.html$ showthread.php?t=$1&page=$2&pp=10 [L]

I`ve got these working (exchange musicforum and musicthread with your topics of course).

And basically just try the find the corresponding things in vb3 from what is described in lierduh`s post :
https://vborg.vbsupport.ru/showpost....&postcount=223
Try it, and if something specific comes up, I will try to help.

PS. Try one rule at a time.
Reply With Quote
  #331  
Old 08-23-2004, 11:26 PM
cscgal's Avatar
cscgal cscgal is offline
 
Join Date: Aug 2003
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys! I've written a detailed tutorial how to mod_rewrite vBulletin 3.

http://www.daniweb.com/techtalkforums/thread9379.html
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 10:52 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.05518 seconds
  • Memory Usage 2,311KB
  • 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
  • (6)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
  • (2)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