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

Reply
 
Thread Tools
Spider Friendly URL's with IIS. Details »»
Spider Friendly URL's with IIS.
Version: 1.00, by cobradude cobradude is offline
Developer Last Online: Mar 2014 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-10-2003 Last Update: Never Installs: 3
Is in Beta Stage  
No support by the author.

This is borrowed heavily from fastforwards spider friendly hack https://vborg.vbsupport.ru/showthrea...hlight=spider.

For those of you using IIS, you'll find that mod_rewrite and .htaccess are not options for you. Well, the same functionality is available for IIS.

First, you'll need to install ISAPI_rewrite from http://www.isapirewrite.com/ (there's a free version). If you don't administer the server, you'll need to ask the admin to install.

After the rewrite dll is installed, it's a piece of cake from there by following the instructions attached.

Additionally, I installed the following hack so that I can have non members (including search engines) view the forums in the friendly fashion, and all members

see the true links. https://vborg.vbsupport.ru/showthrea...ghlight=styles

I'll do what I can to support this, but I am sure a lot of folks here can add to this or modify it to be even better. It has been working great for me. A good site to view is fastforwards site at http://dbforums.com/

Show Your Support

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

Comments
  #2  
Old 01-11-2003, 05:49 PM
AWS's Avatar
AWS AWS is offline
 
Join Date: Nov 2001
Location: Joliet, IL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll be giving this a whirl on my devel box and if it works as well as fastforwards I will migrate to IIS.
Reply With Quote
  #3  
Old 01-11-2003, 08:39 PM
cobradude cobradude is offline
 
Join Date: Nov 2001
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, let me know how it goes.
Reply With Quote
  #4  
Old 01-18-2003, 05:38 PM
cobradude cobradude is offline
 
Join Date: Nov 2001
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have any feedback on this?
Reply With Quote
  #5  
Old 01-19-2003, 05:48 PM
AWS's Avatar
AWS AWS is offline
 
Join Date: Nov 2001
Location: Joliet, IL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't had the time to get this installed. I am in the middle of moving my servers to a new T3 that I just had installed.

I will get this up as soon as the move is done.
Reply With Quote
  #6  
Old 01-19-2003, 06:41 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working fine with IIS6.0.
Reply With Quote
  #7  
Old 01-21-2003, 04:05 AM
cobradude cobradude is offline
 
Join Date: Nov 2001
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks guys.
Reply With Quote
  #8  
Old 02-08-2003, 05:14 AM
cobradude cobradude is offline
 
Join Date: Nov 2001
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Google has been crawling deeply off and on all day long on the two sites I did this to (never crawled passed the index before).....rewriting is cool!
Reply With Quote
  #9  
Old 02-08-2003, 07:16 PM
cobradude cobradude is offline
 
Join Date: Nov 2001
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just included some of the enhancements for multiple page threads and forums found here: https://vborg.vbsupport.ru/showthrea...137#post348137

For me, I added the following two rules for isapirewrite to accommodate the multiple pages...

RewriteRule /t(\d+)--(\d+)\.html$ /forums/showthread.php\?threadid=$1&pagenumber=$3 [I]
RewriteRule /f(\d+)-(\d+)\.html$ /forums/forumdisplay.php\?forumid=$1&daysprune=1000&sortor der=&sortfield=lastpost&perpage=25&pagenumber=$2 [I]
Reply With Quote
  #10  
Old 02-16-2003, 03:43 AM
cobradude cobradude is offline
 
Join Date: Nov 2001
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, here's my current list of rules which also take into account all of the mods in the link above (see my previous post). It seems like every time I turn around there's more rules I must add because someone reports a broken link or something (especially with the modifications for multiple pages, etc), but everything is pretty well sorted, and google has been giving a lot of love to both of my sites over the last couple weeks. Anyone else having success with this?

Quote:
RewriteRule /f(\d+)/s /forums/forumdisplay.php\?forumid=$1 [L]
RewriteRule /t(\d+)/s\.html /forums/showthread.php\?threadid=$1 [L]
RewriteRule /s /forums/index.php
RewriteRule /f(\d+)/forumdisplay.php\?=s&forumid=(\d+) /index.php [L]
RewriteRule /t\d+/(forumdisplay.php.*) /forums/$1 [L]
RewriteRule /t\d+/(attachments.php.*) /forums/$1 [L]
RewriteRule /f\d+/(showthread.php.*) /forums/$1 [L]
RewriteRule /f\d+/(forumdisplay.php.*) /forums/$1 [L]
RewriteRule /f\d+/(attachments.php.*) /forums/$1 [L]
RewriteRule /f\d+/(index.php.*) /forums/$1 [L]

RewriteRule /forumdisplay.php\?=s&forumid=(\d+) /index.php
RewriteRule /(forumdisplay.php.*) /forums/$1 [L]
RewriteRule /(attachments.php.*) /forums/$1 [L]
RewriteRule /(showthread.php.*) /forums/$1 [L]
RewriteRule /(forumdisplay.php.*) /forums/$1 [L]
RewriteRule /(attachments.php.*) /forums/$1 [L]
RewriteRule /(newthread.php.*) /forums/$1 [L]
RewriteRule /(newreply.php.*) /forums/$1 [L]
RewriteRule /(memberlist.php.*) /forums/$1 [L]
RewriteRule /(search.php.*) /forums/$1 [L]
RewriteRule /f(\d+)\.html /forums/forumdisplay.php\?forumid=$1 [L]
RewriteRule /t(\d+)\.html /forums/showthread.php\?threadid=$1 [L]
RewriteRule /forum.html /forums/index.php [L]

RewriteRule /archive.html /archive.php [L]


RewriteRule /t(\d+)--(\d+)\.html$ /forums/showthread.php\?threadid=$1&pagenumber=$3 [L]
RewriteRule /t(\d+)-(\d+)-(\d+)\.html$ /forums/showthread.php\?threadid=$1&pagenumber=$3 [L]
RewriteRule /f(\d+)-(\d+)\.html$ /forums/forumdisplay.php\?forumid=$1&daysprune=1000&sortor der=&sortfield=lastpost&perpage=25&pagenumber=$2 [L]

RewriteRule /forums/t(\d+)-(\d+)&pagenumber=(\d+) /forums/showthread.php\?threadid=$1&pagenumber=$3 [L]
RewriteRule /forums/f(\d+)&pagenumber=(\d+) /forums/forumdisplay.php\?forumid=$1&pagenumber=$2 [L]


RewriteRule /forums/t(\d+)-(\d+)--(\w*)-&pagenumber=(\d+) /forums/showthread.php\?threadid=$1&highlight=$3&pagenumbe r=$4 [L]
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 11:50 AM.


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.05488 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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_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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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