The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Redirecting mod_write URLs to standard vbulletin URLs
I have been using zoints for a while, but I'm not sure I want to continue and I would like to 301 redirect all my keyword-here-t-XXX.html urls back to showthread.php?t=xxxx. I've been trying to figure this out with my .htaccess file but my changes have mostly created 404 and 500 errors. Anyone have any ideas?
--------------- Added [DATE]1232348457[/DATE] at [TIME]1232348457[/TIME] --------------- Well I figured out the answer. In case anyone else needs this just include the following in your .htaccess file. You will need to remove or comment out the zoints redirects. Code:
RewriteRule ^[^/]*-f([0-9]+)\.html$ /forumdisplay.php?f=$1 [R=301,L] RewriteRule ^[^/]*-t([0-9]+)\.html$ /showthread.php?t=$1 [R=301,L] |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|