View Single Post
Old 15 Feb 2022, 11:31
postcd postcd is offline
Join Date: Feb 2012
Apache rewrite rule to redirect VBSEO to showthread.php?1234-Thread-Title ?


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
Reply With Quote