vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=329154

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

Hello,

in vB options i have defined Basic Friendly URLs:
showthread.php?1234-Thread-Title

before i had these URLs:
forum-name/1234-Thread-Title

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:
https://web.archive.org/web/20130122...all-vbseo-238/


All times are GMT. The time now is 19:37.

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.