Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DC SEO vB URL Rewrite Details »»
DC SEO vB URL Rewrite
Version: 1.00, by Dean C Dean C is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 3.5.0 Beta 3 Rating:
Released: 06-28-2005 Last Update: Never Installs: 264
Uses Plugins
Is in Beta Stage  
No support by the author.

[high]Removed until further notice[/high]

[DC Seo vB URL Rewrite]

Information
  • [high]vBulletin Version:[/high] 3.5.x
  • [high]Author:[/high] Dean Clatworthy
  • [high]Copyright:[/high] You may use this modification at your own risk. I cannot and will not be held responsible for any damage you may cause to your forums during installation or thereafter. You may not distribute this modification in whole or parts and anyone found doing so faces risk of prosecution. All my modifications are released at vBulletin.org and anyone found releasing them elsewhere also faces risk of prosecution. You may not translate this modification without my prior permission.
  • [high]Donations:[/high] I release my modifications for free. If you wish to donate please contact me and I will give you my details. All donations are graciously appreciated.
What does this modification do?
This modification will allow you to automatically have more search engine friendly URLs in your vBulletin. A forum which would normally display as forumdisplay?f=1 will now appear as f1-forumtitle.html and the same with threads. Having keywords in your URL can be of an advantage in search-engine ranking.

Requirements:
  • You must have mod_rewrite apache module enabled on your server. Contact your host for more information.
  • This will not work well for non-english boards as it strips most non-alpha numeric characters. E.g. ? would be stripped on french boards etc

Installation

1/

Please read the readme.txt file included in the zip for details on how to install this modification.


Please Click Install!
If you installed this modifcation please click the install button. It'll help you keep up to date with future releases and important bugfixes, security updates.

Show Your Support

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

Comments
  #352  
Old 11-13-2005, 01:11 PM
openmind openmind is offline
 
Join Date: Feb 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack but I'm having a little trouble using it on Windows 2003 IIS6 and using the ISAP Rewrite dll (http://www.isapirewrite.com/)

Basicaly it does the same job as the Apache equivalent through a ini file in the web root.

This is my httpd.ini file:
PHP Code:
[ISAPI_Rewrite]

RewriteRule /forums/archive/([^/.?]+\.html) /forums/archive/index.php\?$[I,L]
RewriteRule /forums/(^f([0-9]+)-([A-Za-z0-9\-]+)\.html) /forums/forumdisplay.php?f=$[I,L]
RewriteRule /forums/(^t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html) /forums/showthread.php?t=$1&page=$5&pp=10 

[I,L
The archive works perfectly but I'm getting 404's when I try to activate your plug in. I "think" its got something to do with the rule as I have had to add /forums/ to the condition as my config file is in the web root...

Can you help at all?
Reply With Quote
  #353  
Old 11-13-2005, 01:34 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you post the htacces file for this hack at the isapirewrite forums they should be able to help you convert it to there syntax.

[high]* JTyson anxiously awaits an update on this hack [/high]
Reply With Quote
  #354  
Old 11-13-2005, 01:42 PM
Zhen-Xjell's Avatar
Zhen-Xjell Zhen-Xjell is offline
 
Join Date: Oct 2005
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dean C
After a quick browse around google and reading up, it seems as it's a work-in-progress and not yet fully implemented/supported in the development world?
http://www.w3.org/Addressing/
Reply With Quote
  #355  
Old 11-13-2005, 02:05 PM
openmind openmind is offline
 
Join Date: Feb 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
If you post the htacces file for this hack at the isapirewrite forums they should be able to help you convert it to there syntax.

[high]* JTyson anxiously awaits an update on this hack [/high]
Sorted. The amended rules are below:
PHP Code:
RewriteRule /forums/f([0-9]+)-([A-Za-z0-9\-]+)\.html$ /forums/forumdisplay.php\?f=$[I,L]
RewriteRule /forums/t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html$ /forums/showthread.php\?t=$1&page=$5&pp=10 

[I,L
Clicks install

Just realised that \ is not showing up in the code block above so for example /forums/forumdisplay.php?f=$1 should be /forums/forumdisplay.php\?f=$1
Reply With Quote
  #356  
Old 11-13-2005, 02:22 PM
TruthElixirX's Avatar
TruthElixirX TruthElixirX is offline
 
Join Date: Sep 2004
Location: Oklahoma
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if this has been mentioned but I am having a problem choosing styles in IE.

Whenever I try to change the style while viewing the thread I get the same style because the static URLs don't allow &styleid=# on the end.

I am very glad you are updating this! Thanks very much.
Reply With Quote
  #357  
Old 11-13-2005, 02:56 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by openmind
Great hack but I'm having a little trouble using it on Windows 2003 IIS6 and using the ISAP Rewrite dll (http://www.isapirewrite.com/)

Basicaly it does the same job as the Apache equivalent through a ini file in the web root.

This is my httpd.ini file:
PHP Code:
[ISAPI_Rewrite]

RewriteRule /forums/archive/([^/.?]+\.html) /forums/archive/index.php\?$[I,L]
RewriteRule /forums/(^f([0-9]+)-([A-Za-z0-9\-]+)\.html) /forums/forumdisplay.php?f=$[I,L]
RewriteRule /forums/(^t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html) /forums/showthread.php?t=$1&page=$5&pp=10 

[I,L
The archive works perfectly but I'm getting 404's when I try to activate your plug in. I "think" its got something to do with the rule as I have had to add /forums/ to the condition as my config file is in the web root...

Can you help at all?
I've never used an IIS module in my life, so I have no plans on supporting it. You're on your own I'm afraid
Reply With Quote
  #358  
Old 11-13-2005, 02:59 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TruthElixirX
I don't know if this has been mentioned but I am having a problem choosing styles in IE.

Whenever I try to change the style while viewing the thread I get the same style because the static URLs don't allow &styleid=# on the end.



I am very glad you are updating this! Thanks very much.
Yeah that's an unfortunate consequence I'm afraid Change it via your UserCP.
Reply With Quote
  #359  
Old 11-13-2005, 03:11 PM
jayhawk785 jayhawk785 is offline
 
Join Date: Feb 2005
Location: Orlando
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dean,

Does your latest version address URLs using "showthread.php?goto=newpost&t=2384" - or is that just not possible? I always use those to see new posts....
Reply With Quote
  #360  
Old 11-13-2005, 03:29 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jayhawk785
Dean,

Does your latest version address URLs using "showthread.php?goto=newpost&t=2384" - or is that just not possible? I always use those to see new posts....
There is no issue here. That URL serves a function. It redirects to a page with an anchor on with the most recent post. There is no reason whatsoever to rewrite this URL.
Reply With Quote
  #361  
Old 11-13-2005, 06:30 PM
mcleodc mcleodc is offline
 
Join Date: Jul 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

posted in error sorry
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 12:33 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.08418 seconds
  • Memory Usage 2,341KB
  • 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
  • (3)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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