vRewrite
About
vRewrite is an advance but simple system to rewrite vB's URLs. The rewrite system uses preg_match_all and str_replace. 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.
Requirements
Technically, nothing is required to run vRewrite. However, it does assume that you are running
- Apache with mod_rewrite enabled
- vBulletin 3.5.x
However, vRewrite can work on IIS, just that the .htaccess will be slightly different. vRewrite will also run on vBulletin 3.0.x.
Installation
Pre: Backup backup!
1) Import product-vrewrite.xml as a product using the plugin system.
2) Upload the .htaccess file to your vB's directory.
3) In forumdisplay, showthread, standard_error find:
$headinclude
Add before that:
<base href="$vboptions[bburl]/" />
4) Enjoy!
Note: If you run your vB on a directory from a subdomain or root ex: http:///www.yoursite.com/forum or http://subdomain.site.com/forum you will need to open up the .htacess file and change Rewrite Base / to Rewrite Base /yourdir
Contributions
vRewrite wouldn't be possible without the follow people. Be sure to thank, visit and enjoy their sites! :)
Contact
I am always looking for bugs and new suggestions, please contact me at tyler@cbttechs.com with 'em. I look forward to seeing them!
Enjoy vRewrite!