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
  #582  
Old 03-10-2006, 01:25 PM
erhanerhan_5's Avatar
erhanerhan_5 erhanerhan_5 is offline
 
Join Date: Jan 2006
Location: Turkey
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed this hack. i opened a thread , 404 error.
Reply With Quote
  #583  
Old 03-10-2006, 06:08 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ciscoguy
This is exactly why I chose to use VBRewrite, the active development and quick response. Issue solved.

Thanks again!
I appreciate it

Quote:
Originally Posted by redlabour
Any news when the Update will be released ?

I know it is ready when it is ready but in the next days there is a 30,- ? alternative to vBSEO released at German Hackcommunity. I like to know if it should buy it or wait.
Hopefully very soon. But a word of the wise, is be careful when buying anything "close to vBSEO".

Quote:
Originally Posted by erhanerhan_5
i installed this hack. i opened a thread , 404 error.
Can you post your .htaccess and your forum URL?
Reply With Quote
  #584  
Old 03-10-2006, 07:42 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Immortal
Hopefully very soon. But a word of the wise, is be careful when buying anything "close to vBSEO".
Don?t panic - it?s a complete new Code.
Reply With Quote
  #585  
Old 03-10-2006, 08:02 PM
erhanerhan_5's Avatar
erhanerhan_5 erhanerhan_5 is offline
 
Join Date: Jan 2006
Location: Turkey
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my .htaccess

PHP Code:
<head>
<
meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
</
head>
<
PRE>RewriteEngine On
RewriteBase 
/
RewriteRule ^(.*)/t-(.*)-(.*)/go=(.*) showthread.php?t=$3&amp;goto=$4&amp;is_vrewrite=yes[L]
RewriteRule ^(.*)/p-(.*)-(.*).html showthread.php?p=$3&amp;is_vrewrite=yes[L]
RewriteRule ^f-(.*)-(.*)-page(.*).html forumdisplay.php?f=$2&amp;page=$3&amp;order=desc&amp;is_vrewrite=yes [L]
RewriteRule ^f-(.*)-(.*).html/page(.*)daysprune(.*)-order(.*)-sort(.*) forumdisplay.php?f=$2&amp;page=$3daysprune=$4&amp;order=$5&amp;sort=$6&amp;is_vrewrite=yes [L]
RewriteRule ^f-(.*)-(.*).html/daysprune(.*)-order(.*)-sort(.*) forumdisplay.php?f=$2&amp;daysprune=$3&amp;order=$4&amp;sort=$5&amp;is_vrewrite=yes [L]
RewriteRule ^f-(.*)-(.*).html forumdisplay.php?f=$2&amp;is_vrewrite=yes [L]
RewriteRule ^u-(.*)-(.*).html member.php?u=$2&amp;is_vrewrite=yes [L]
RewriteRule ^(.*)-(.*)-newpost.html showthread.php?goto=newpost&amp;t=$[L]
RewriteRule ^(.*)/t-(.*)-(.*)-page(.*).html showthread.php?t=$3&amp;page=$4&amp;is_vrewrite=yes [L]
RewriteRule ^(.*)/t-(.*)-(.*).html showthread.php?t=$3&amp;is_vrewrite=yes [L]
RewriteRule ^markread.html forumdisplay.php?do=markread [L]
RewriteRule ^(.*)/p-(.*)-(.*).html#(.*) showthread.php?p=$3#post$4 [L]
RewriteRule ^print-(.*)-(.*).html printthread.php?t=$[L]
RewriteRule ^sendtofriend-(.*)-(.*).html sendmessage.php?do=sendtofriend&amp;t=$[L]
RewriteRule ^search-(.*).html search.php?do=$[L]
RewriteRule ^(.*)-(.*)/newthread.php newthread.php?do=newthread&amp;f=$2[L]
RewriteRule ^(.*)/newpostnoquote-(.*).php newreply.php?do=newreply&amp;noquote=1&amp;p=$2[L]
RewriteRule ^(.*)/newpost-(.*).php newreply.php?do=newreply&amp;p=$2[L]
RewriteRule ^p-(.*).html showpost.php?p=$1&amp;postcount=$[L]</PRE
im not edited.

my forum:
Reply With Quote
  #586  
Old 03-10-2006, 09:43 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uhhh...why does your .htaccess have HTML in it?

But change:
RewriteBase /
To:
RewriteBase /forum
Reply With Quote
  #587  
Old 03-11-2006, 07:44 PM
erhanerhan_5's Avatar
erhanerhan_5 erhanerhan_5 is offline
 
Join Date: Jan 2006
Location: Turkey
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this?

PHP Code:
<head>
<
meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
</
head>
<
PRE>RewriteEngine On
RewriteBase 
/forum
RewriteRule 
^(.*)/t-(.*)-(.*)/go=(.*) showthread.php?t=$3&amp;goto=$4&amp;is_vrewrite=yes[L]
RewriteRule ^(.*)/p-(.*)-(.*).html showthread.php?p=$3&amp;is_vrewrite=yes[L]
RewriteRule ^f-(.*)-(.*)-page(.*).html forumdisplay.php?f=$2&amp;page=$3&amp;order=desc&amp;is_vrewrite=yes [L]
RewriteRule ^f-(.*)-(.*).html/page(.*)daysprune(.*)-order(.*)-sort(.*) forumdisplay.php?f=$2&amp;page=$3daysprune=$4&amp;order=$5&amp;sort=$6&amp;is_vrewrite=yes [L]
RewriteRule ^f-(.*)-(.*).html/daysprune(.*)-order(.*)-sort(.*) forumdisplay.php?f=$2&amp;daysprune=$3&amp;order=$4&amp;sort=$5&amp;is_vrewrite=yes [L]
RewriteRule ^f-(.*)-(.*).html forumdisplay.php?f=$2&amp;is_vrewrite=yes [L]
RewriteRule ^u-(.*)-(.*).html member.php?u=$2&amp;is_vrewrite=yes [L]
RewriteRule ^(.*)-(.*)-newpost.html showthread.php?goto=newpost&amp;t=$[L]
RewriteRule ^(.*)/t-(.*)-(.*)-page(.*).html showthread.php?t=$3&amp;page=$4&amp;is_vrewrite=yes [L]
RewriteRule ^(.*)/t-(.*)-(.*).html showthread.php?t=$3&amp;is_vrewrite=yes [L]
RewriteRule ^markread.html forumdisplay.php?do=markread [L]
RewriteRule ^(.*)/p-(.*)-(.*).html#(.*) showthread.php?p=$3#post$4 [L]
RewriteRule ^print-(.*)-(.*).html printthread.php?t=$[L]
RewriteRule ^sendtofriend-(.*)-(.*).html sendmessage.php?do=sendtofriend&amp;t=$[L]
RewriteRule ^search-(.*).html search.php?do=$[L]
RewriteRule ^(.*)-(.*)/newthread.php newthread.php?do=newthread&amp;f=$2[L]
RewriteRule ^(.*)/newpostnoquote-(.*).php newreply.php?do=newreply&amp;noquote=1&amp;p=$2[L]
RewriteRule ^(.*)/newpost-(.*).php newreply.php?do=newreply&amp;p=$2[L]
RewriteRule ^p-(.*).html showpost.php?p=$1&amp;postcount=$[L]</PRE



But again 404 error.

This is my forum dir
http://www.xxxxx.com/forum/index.php
Reply With Quote
  #588  
Old 03-11-2006, 07:45 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is not the original .htaccess. Download it again, and open it in Notepad and then make the necessary change.
Reply With Quote
  #589  
Old 03-11-2006, 09:07 PM
jlaine jlaine is offline
 
Join Date: Nov 2001
Location: Morris, MN
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks install...

I have one minor issue - I have the vBa gallery, which uses native vB templates - the line "<if condition="THIS_SCRIPT != 'index'"> <base href="$vboptions[bburl]/" /> </if>" is conflicting and screwing up the data because the actual base href is not the bburl...

Is there any other place I can inject this, or a way I can exclude it or limit it to the forum. subdomain that the forum proper is on?
Reply With Quote
  #590  
Old 03-11-2006, 09:17 PM
jlaine jlaine is offline
 
Join Date: Nov 2001
Location: Morris, MN
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And now that I've spent 10 seconds thinking about it... I'll move the few hundred megs of data into my subdomain and make it work as I think it will if I put it there, there is no reason you should need to come up with work arounds to integrate with 3rd party software.
Reply With Quote
  #591  
Old 03-11-2006, 09:20 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is a lot of work Josh! You can add:
Code:
<base href="$vboptions[bburl]/" />
To the following templates, and then remove that part in headerinclude:
FORMDISPLAY, SHOWTHREAD, & STANDARD_ERROR
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 05:30 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.08506 seconds
  • Memory Usage 2,396KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (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