vBulletin Mods

The Official vBulletin Modifications Site

Apache rewrite rule to redirect VBSEO to showthread.php?1234-Thread-Title ?
by postcd
15 Feb 2022 10:31


in vB options i have defined Basic Friendly URLs:

before i had these URLs:

this .htaccess rewrite rule worked to redirect old to new:
RewriteEngine on
RewriteRule [^/]+/([0-9]+)-[^/]+ /showthread.php?t=$1 [L,R=301]

but it means forum is doing additional redirect (showthread.php?t=1234 -> showthread.php?t=1234-Thread-Title)

If anyone knows how to fix that rewrite rule/s, please kindly comment. Thank you

TheLastSuperman 30 Jun 2022 09:57

Sometimes I'm rather fashionably late, but this reply may help others moving forward:

All times are GMT. The time now is 22:01.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.