The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vRewrite - SEOed URLs for vBulletin Details »» | |||||||||||||||||||||||||
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 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
|
Comments |
#392
|
||||
|
||||
found it now, because im on a Mac, it doesn't show the .htaccess file. Although most mac owners probably know this it may be an idea to put this down in the install guide or in the first post incase newbies (like myself) think there is a problem with the download.
Also is there anyway i can remove the copyright? through donation etc? |
#393
|
|||
|
|||
Quote:
Quote:
Quote:
|
#394
|
|||
|
|||
Quote:
|
#395
|
|||
|
|||
I've looked at the various free SEO stuff for vBulletin, and have wondered this: why do the rewrite urls have .html on them? It looks ugly. It'd be awesome to have no extentions so vBulletin matches the rest of my site.
|
#396
|
|||
|
|||
Quote:
|
#397
|
|||
|
|||
Does anybody have a working htaccess.ini for the isapi_rewrite module(ISS)?
|
#399
|
||||
|
||||
Quote:
|
#400
|
||||
|
||||
not quite sure if this is working for anybody else but i cant seem to use any of the thread tools, i just get an error message saying it cant find the url, anyone know about this?
|
#401
|
||||
|
||||
Hi, I think that I have made a lot of progress with the problems that I was having earlier (ie. only the first 'last thread' on forum page would be rewritten and also if multi page thread, page 1 worked but others directed to wrong threads).
What I did was use the updated code from Immortal found here: https://vborg.vbsupport.ru/showpost....&postcount=316 I updated the code but also received the parse error that another member had mentioned. I saw that it looks like a previous } was no longer needed. So I found: Code:
#------------------------------ # misc pages #------------------------------ $output = str_replace("search.php?do=getnew","search-getnew.html",$output); $output = str_replace("search.php?do=getdaily","search-getdaily.html",$output); $output = str_replace("forumdisplay.php?do=markread","markread.html",$output); } ------------------------------------------------ Now everything is rewritten appropriately except multi pages aren't working. If you click on a page 2 link I get a page cannot be displayed message. I think it has something to do with my .htaccess file although I DO see the line that should take care of this. Here are the links to a 1st and 2nd page of a multi page thread. Before using vRewrite: Page 1 link: http://www.420boards.com/showthread.php?t=385 Page 2 link: http://www.420boards.com/showthread.php?t=385&page=2 After vRewrite (multi page thread) Page1 link: http://www.420boards.com/smokers-lou...rbowl-385.html Page2 link: (page cannot be displayed but same link as before rewrite) http://www.420boards.com/showthread.php?t=385&page=2 Here is the htaccess file that I am using Code:
RewriteEngine On RewriteBase / # Default RewriteRule ^f-(.*)-page-(.*)-(.*).html forumdisplay.php?f=$1&page=$2&order=$3 RewriteRule ^f-(.*)-(.*).html forumdisplay.php?f=$2 [L] RewriteRule ^u-(.*)-(.*).html member.php?u=$2 [L] RewriteRule ^memberlist-(.*)-(.*)-(.*)-(.*).html memberlist.php?ltr=$1&pp=$2&sort=$3&order=$4 [L] RewriteRule ^(.*)/t-(.*)-(.*).html showthread.php?t=$3&is_vrewrite [L] RewriteRule ^(.*)-(.*)-lastpost.html showthread.php?goto=lastpost&t=$2 [L] RewriteRule ^(.*)-(.*)-newpost.html showthread.php?goto=newpost&t=$2 [L] RewriteRule ^(.*)-(.*)-lastpost.html showthread.php?goto=lastpost&t=$2 [L] RewriteRule ^(.*)-(.*)-(.*).html showthread.php?goto=$3&t=$2 [L] RewriteRule ^(.*)/t-(.*)-(.*)-page-(.*).html showthread.php?t=$3&page=$4 [L] RewriteRule ^markread.html forumdisplay.php?do=markread [L] RewriteRule ^(.*)/p-(.*)-(.*).html showthread.php?p=$3 [L] RewriteRule ^print-(.*)-(.*).html printthread.php?t=$2 [L] RewriteRule ^sendtofriend-(.*)-(.*).html sendmessage.php?do=sendtofriend&t=$2 [L] RewriteRule ^search-(.*).html search.php?do=$1 [L] RewriteRule ^(.*)-(.*)/newthread.php newthread.php?do=newthread&f=$2[L] RewriteRule ^(.*)/newpostnoquote-(.*).php newreply.php?do=newreply&noquote=1&p=$2[L] RewriteRule ^(.*)/newpost-(.*).php newreply.php?do=newreply&p=$2[L] RewriteRule ^p-(.*).html showpost.php?p=$1&postcount=$1 [L] # Other options RewriteRule ^siteforums/(.*)-(.*).html forumdisplay.php?f=$2 [L] RewriteRule ^members/(.*)-(.*).html member.php?u=$2 [L] RewriteRule ^(.*)/(.*)-(.*).html showthread.php?t=$3 [L] # Sitemap RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|