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
  #362  
Old 02-04-2006, 05:44 AM
logical.angel logical.angel is offline
 
Join Date: Jul 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by caislander
[Immortal,

Thanks for the response but when i apply the code change as is outlined in post 300 it fixes everything except the page 2 of a thread being sent to some other thread. So I over wrote that with the chance in post 316 and that gives me an error of
Code:
Parse error: parse error, unexpected '}' in..../www/html/forums/includes/functions.php(4320) : eval()'d code on line 606
What have I done wrong?
Uhmm, it's a parse error, maybe you've wrongly paste the codes, maybe lack a single quotes somewhere or needs an additional ) added or remove, try posting the codes around line 606.

Heh Immortal, I must say a great thanks to you, i've not used vRewrite yet, just heard of it today, but i've followed this thread, you really must be having a great patience to keep up working with vRewrite and additionally help with support issues.
Anyways, i'll try to get my whole hackers.mu crew to work with that bug in vRewrite maybe someone might figure out what's wrong.
Anywayz, great job.

+[logical.angel]out
logical [AT] hackers.mu
Reply With Quote
  #363  
Old 02-04-2006, 08:20 AM
sysop2 sysop2 is offline
 
Join Date: Feb 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello all, i'm new here.

what am i doing wrong?
I took a clean vbulletin and installed that product.

Forum rewriting works.

Thread rewriting doesnt:
Only the 1st Thread in a forum hast se-friendly urls.
Only the 1st and the last page of threads with more than one page are rewritten:

example(3 pages) :
.../forumname/t-threadtitle-28.html
.../showthread.php?t=28&page=2
.../forumname/t-threadtitle-28-page-3.html

--

Immortal, i really appreciate your work and would say THX thousand times, but this thing is unuseable and doesnt work correctly(if I didnt do an error... but where?!).

Greetz - sysop2
Reply With Quote
  #364  
Old 02-04-2006, 01:05 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by caislander
[Immortal,

Thanks for the response but when i apply the code change as is outlined in post 300 it fixes everything except the page 2 of a thread being sent to some other thread. So I over wrote that with the chance in post 316 and that gives me an error of
Code:
Parse error: parse error, unexpected '}' in..../www/html/forums/includes/functions.php(4320) : eval()'d code on line 606
What have I done wrong?
Double check that make sure you did it correctly. If you can wait until later today, I'll have a new release with these fixes builtin plus the merge fix.

Quote:
Originally Posted by logical.angel
Heh Immortal, I must say a great thanks to you, i've not used vRewrite yet, just heard of it today, but i've followed this thread, you really must be having a great patience to keep up working with vRewrite and additionally help with support issues.
Anyways, i'll try to get my whole hackers.mu crew to work with that bug in vRewrite maybe someone might figure out what's wrong.
Anywayz, great job.
Thanks, that's very kind of you

Quote:
Originally Posted by sysop2
Hello all, i'm new here.

what am i doing wrong?
I took a clean vbulletin and installed that product.

Forum rewriting works.

Thread rewriting doesnt:
Only the 1st Thread in a forum hast se-friendly urls.
Only the 1st and the last page of threads with more than one page are rewritten:

example(3 pages) :
.../forumname/t-threadtitle-28.html
.../showthread.php?t=28&page=2
.../forumname/t-threadtitle-28-page-3.html

--

Immortal, i really appreciate your work and would say THX thousand times, but this thing is unuseable and doesnt work correctly(if I didnt do an error... but where?!).

Greetz - sysop2
The fix was issued a bit ago. A new release should be released today with this fix builtin.
Reply With Quote
  #365  
Old 02-04-2006, 05:25 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oooo I can't wait...
Reply With Quote
  #366  
Old 02-04-2006, 06:18 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have fixed all known errors. We are currently testing it out on my live board before I release to y'all
Reply With Quote
  #367  
Old 02-04-2006, 09:22 PM
sysop2 sysop2 is offline
 
Join Date: Feb 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:surprised: great news mate, keep up the good work
hope you release it soon
Reply With Quote
  #368  
Old 02-04-2006, 11:33 PM
caislander caislander is offline
 
Join Date: Oct 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Immortal
I have fixed all known errors. We are currently testing it out on my live board before I release to y'all
Awesome
Reply With Quote
  #369  
Old 02-05-2006, 12:10 AM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vRewrite - v3arcade Rewrite

Just something I just whipped up.

Styles & Templates->v3 arcade->arcade_game_bit

Find:
Code:
<div style="padding-bottom: 4px"><a href="arcade.php?do=play&gameid=$game[gameid]"><strong>$game[title]</strong></a></div>
Replace with:
Code:
<div style="padding-bottom: 4px"><a href="arcade/games/$game[gameid].html"><strong>$game[title]</strong></a></div>
Find:
Code:
      <a href="arcade.php?do=play&gameid=$game[gameid]">$vbphrase[play_now]</a> </td>
Replace with:
Code:
<a href="arcade/games/$game[gameid].html">$vbphrase[play_now]</a>
[code]
Open up v3 arcade->arcade_headinclude at to the very end:
Code:
<base href="$vboptions[bburl]/" />
Add this to your .htaccess with the other RewriteRules:
Code:
RewriteRule ^arcade/games/(.*) arcade.php?do=play&gameid=$1 [L]

I may add other rules if I get unlazy in the future
Reply With Quote
  #370  
Old 02-05-2006, 01:43 AM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just an update..no way am I going to get done with this tonight.

1) Merge is still not working. Thanks preg_match.
2) Forumdisplay pages is not working. Thanks preg_match_all.
3) Showthread pages is not working. Thanks preg_match_all.
4) Archive links are not redirected yet.

Urgghh...
Reply With Quote
  #371  
Old 02-05-2006, 09:18 AM
sysop2 sysop2 is offline
 
Join Date: Feb 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awww
ok i see theres no reason to be euphoric... i'll check this thread later in a few days... awww again.

Greetz
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 03:06 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.07002 seconds
  • Memory Usage 2,333KB
  • 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
  • (9)bbcode_code
  • (5)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
  • (4)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