Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vRewrite - SEOed URLs for vBulletin Details »»
vRewrite - SEOed URLs for vBulletin
Version: 1.5.1, by Immortal Immortal is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-04-2006 Last Update: 05-15-2006 Installs: 506
Uses Plugins Template Edits
Additional Files  
No support by the author.

About

vRewrite is an advance but simple system to rewrite vB's URLs. The rewrite system uses preg_match_all and str_replace to rewrite the URLs. It will rewrite any URLs that are dynamic ex: showthread.php?t= to /the-forum/title-of-the-forum-id.html. Why? SEs (Search Engines) rate results based on filename. Not only that, but most SEs give a "boost" to static URLs (what we do here) versus dynamic URLs. vRewrite accomplishes both of this, for all URLs that a search engine (or a guest) will see.

Installation

Please download vRewrite.zip and read install.html for more information on how to install it.

Requirements

vRewrite assumes that you are using Apache with the mod_rewrite module enabled, and running vBulletin 3.5.x. However, if you ask for support here on IIS' module or on vBulletin 3.0.x - I will be more then happy to assist you.

Contributions

I would like to thank Chroder and Cole for assisting me release vRewrite. I could not have released it if it wasn't for them.

I would like to thank the following people/boards for helping beta test vRewrite and making it a better product.

Gaming Ultimate, BP Gaming, NBS Designz Cyclez, Hosting-Talk and Forum University.

Copyright

I've spent many hours working and perfecting vRewrite. The only thing I ask you to do is if you use it, please keep the link back. If you wish to put it in your style instead, simply remove or comment out that line. However, if you use vRewrite you MUST link back. That is the only thing I ask.

Known Issues

There are no known issues with the latest release (1.0).

Support / Issues

If you have any problems or discover a bug please post here in this thread. I have also included my email in the install.html email for one-on-one support. The only thing I ask you is please do not post this email address publicly - it is my personal email.

Changelog

1.5 Release - vRewrite 1.5 has become stable, and all users under 1.5 RC3 and 1.0 need to upgrade. Support for 1.0 will no longer be offered, and you will be told simply to upgrade. Please continue to keep all bug and feature suggestions on the bug tracker at:

Code:
http://www.techhelpforum.com/vrewrite
1.1 Release - Several bug fixes, and a few new features. Details here.

03/26/06 - Updated the thread to reflect vRewrite 1.5 Beta links. vRewrite files has NOT changed.

03/11/06 - Updated the thread to take advantage of vB.org's new prefix feature. vRewrite itself has NOT changed.

1.0 Release (02/19/06) - I have released the much awaited 1.0. This is the first stable release of vRewrite. All users now should be safe installing vRewrite. For more information, and how to upgrade, please see here.

1.0 Preview (01/12/06) - I have released a preview version of 1.0. This is the final version before 1.0 is considered stable. I believe everything should work in this new preview, but one bug (see known issues). Please see here for more information and how to upgrade.

01/05/06 - Updated ZIP to include a fix for boards running a table prefix. You do not need to upgrade unless you previously had SQL errors. You can upgrade by importing the product and choose "Allow Overwrite".

Donations

Any donations are very much appreciated! I do this out of my free time and work many hours on it - all for free. Anything to help is always very welcomed

If you use vRewrite, please click Install. This helps you keep track of additional upgrades and shows to me that you care about vRewrite


You may not post vRewrite ZIP or any files contained in the ZIP on any website. You may not also post any support requests/give support on any website other then this one, without my permission. If you do so, you will get a DMCA for copyright infringement. I do not want this spread to pirated users. Please stop piracy and do not share the source outside of this thread and vB.org/com. Thanks.

Support will only be obtained at:
https://vborg.vbsupport.ru/forumdisplay.php?f=182

Supporters / CoAuthors

Show Your Support

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

Comments
  #1202  
Old 05-02-2006, 06:46 AM
girish.r girish.r is offline
 
Join Date: Mar 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The '_' problem holds true for the post too. If any post has a '_' in its title it will result in a 404 error. Adding a '\_' to relevant line in the .htaccess file will provide a fix for this. Also the 404 error results if the post title start with a non-alphanumeric character.

I hope the creators of this mod will fix these bugs ASAP.
Reply With Quote
  #1203  
Old 05-02-2006, 12:54 PM
sickboy6ths sickboy6ths is offline
 
Join Date: Apr 2005
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Im trying to get this working on IIS 6.0
This is what I have done:

Installed Lite version of isapi_rewrite
Checked if the ISAPI plugin got loaded into IIS main level and it was loaded
Configured the httpd.ini with the data written below
Restarted IIS
Installed the product into vbulletin
Did the template edits

And now nothing is happening... everything looks all the same..no different urls. Could anyone be of assistance (Thanks!!)


My httpd.ini for isapi_rewrite (^ changed to / (read that in this thread)):
Code:
[ISAPI_Rewrite]

RewriteEngine On
RewriteRule /(.*)/(styleid=(.*))$ showthread.php?&%{QUERY_STRING} [L]
RewriteRule /(.*)/(showthread\.php)$ showthread.php?&%{QUERY_STRING} [L]
RewriteRule /(.*)/t-(.*)-(.*)-new.html showthread.php?t=$3&goto=newpost&%{QUERY_STRING} [L]
RewriteRule /(.*)/t-(.*)-(.*)-last.html showthread.php?t=$3&goto=lastpost&%{QUERY_STRING} [L]
RewriteRule /(.*)/t-(.*)-(.*)-print.html/(.*)$ printthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule /(.*)/t-(.*)-(.*)-print.html printthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /(.*)/t-(.*)-(.*)-nextnewest.html showthread.php?t=$3&goto=nextnewest&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /(.*)/t-(.*)-(.*)-nextoldest.html showthread.php?t=$3&goto=nextoldest&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /p-(.*)-post(.*)/postcount(.*).html showpost.php?p=$2&postcount=$3&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /(.*)/t-(.*)-(.*)-page(.*).html showthread.php?t=$3&page=$4&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /(.*)/t-(.*)-(.*)/page(.*).html showthread.php?t=$3&page=$4&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /(.*)/t-(.*)-(.*).html/(.*)$ showthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule /(.*)/t-(.*)-(.*).html showthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /f-(.*)-(.*)/misc\.php$ misc.php?&%{QUERY_STRING}&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /members/(.*)-(.*).html member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /u-(.*)-(.*).html(.*) member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING}$3 [L]
RewriteRule /u-(.*)-(.*).html member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule /f-(.*)-(.*)/page(.*).html/(.*)$ forumdisplay.php?f=$2&&page=$3%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule /f-(.*)-(.*)/(.*)$ forumdisplay.php?f=$2&&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule /f-(.*)-(.*)/$ forumdisplay.php?f=$2&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule /search-(.*).html$ search.php?do=$1 [L]
Reply With Quote
  #1204  
Old 05-02-2006, 10:41 PM
Bhuwan's Avatar
Bhuwan Bhuwan is offline
 
Join Date: Jul 2004
Location: USA
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* Bhuwan is having pains again
[/high]
It will be sometime before im back
Reply With Quote
  #1205  
Old 05-03-2006, 11:51 AM
Danecookie Danecookie is offline
 
Join Date: Oct 2005
Location: France
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, well bhawan, i am having a little problem again, everything is working fine except "NEW POSTS TODAY" .. its giving error this error http://www.slipen.com/forum/search-getdaily.html/

..please advice?
Reply With Quote
  #1206  
Old 05-03-2006, 05:48 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey guys having problems with getting this to write

maybe its my htaccess thing i dont know it just seems not to be writing anything

http://www.extreme-mobile.com/forum

any ideas?

sorry for being such a numpty
Reply With Quote
  #1207  
Old 05-04-2006, 12:35 AM
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you edit the copyright so it matches the style? Where is it located?
Reply With Quote
  #1208  
Old 05-04-2006, 05:31 AM
tanyeri24 tanyeri24 is offline
 
Join Date: Feb 2005
Location: Switzerland
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first of all thanks for this release nice thing I installed it.

But here my question:
on the who is online list I getting this erro "section is undefinied" or like this I have other language.

my htacces file is:

Quote:
RewriteEngine On
RewriteRule ^(.*)/(styleid=(.*))$ showthread.php?&%{QUERY_STRING} [L]
RewriteRule ^(.*)/(showthread\.php)$ showthread.php?&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-new.html showthread.php?t=$3&goto=newpost&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-last.html showthread.php?t=$3&goto=lastpost&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-print.html printthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRIN G} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post(.*).html showthread.php?p=$4&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-page([0-9]+)-([0-9]+).html showthread.php?t=$4&page=$3&is_vrewrite=yes&%{QUER Y_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html/(.*)$ showthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=ye s [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html showthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING } [L]
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+).html/(.*)$ forumdisplay.php?f=$2&&page=$3%{QUERY_STRING}&is_v rewrite=yes [L]
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+).html/$ forumdisplay.php?f=$2&%{QUERY_STRING}&is_vrewrite= yes [L]
RewriteRule ^search-([A-Za-z0-9\-]+).html/$ search.php?do=$1 [L]
Reply With Quote
  #1209  
Old 05-04-2006, 10:51 AM
jlaine jlaine is offline
 
Join Date: Nov 2001
Location: Morris, MN
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Danecookie
Oh, well bhawan, i am having a little problem again, everything is working fine except "NEW POSTS TODAY" .. its giving error this error http://www.slipen.com/forum/search-getdaily.html/

..please advice?
Verify this line is in your .htaccess

Code:
RewriteRule ^search-(.*).html search.php?do=$1
Makes me think you aren't using the most recent version released... I'd suggest you get the newest one for the bugs that have been fixed.

I guess with Bhuwan out for the count, I'm probably going to disable this until he gets better - there are a few things that need to get fixed that happen to cause functional issues on the forums itself. Hope things are going ok Bhuwan!
Reply With Quote
  #1210  
Old 05-04-2006, 03:15 PM
jdingman jdingman is offline
 
Join Date: Jul 2005
Location: Canada
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by girish.r
I fixed the problem with members who have a _ in their name. Just some minor correction to the .htaccess file. See below.....

.htaccess file before.....
RewriteRule ^u-(.*)-(.*).html member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]

or

RewriteRule ^u-([A-Za-z0-9\-]+)-([0-9]+).html member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]

.htaccess file after the correction for _ ....
RewriteRule ^u-([A-Za-z0-9\_\-]+)-([0-9]+).html member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]

you can see it working at www.abcphp.com
Do you know of a fix for this yet? http://www.abcphp.com/u--79.html/

I'm using the same mod you have for the 'latest visitors in the past 24 hours' and it has errors doing the same thing, where it doesn't display the username. If you find a fix for it, PLEASE let me know. Thanks :banana:
Reply With Quote
  #1211  
Old 05-04-2006, 03:18 PM
jdingman jdingman is offline
 
Join Date: Jul 2005
Location: Canada
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Immortal
I developed 1.0 from scratch (with the help of Cole and Chroder). However, Bhuwan is responsible for all the hard work in 1.5. I did very little development in 1.5, I just do the support mostly any more
Ah, gotcha. Now I see why hehe. Any ideas when a better sitemap plugin will be coming out? I have vBsitemap, but it doesn't work properly like it should for some reason and I'm looking for a better alternative still... :banana: :banana: :banana:
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:02 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.11097 seconds
  • Memory Usage 2,336KB
  • Queries Executed 26 (?)
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_code
  • (4)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
  • (5)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