vbulletin redirects does not redirect /archive/index.php/t-X

Alpha1

Well-known member
Affected version
2.3.9
vbulletin has archive links. i.e. old mobile friendly browsing. These have this format:
/archive/index.php/t-31493.html

The vbulletin redirection script should redirect it in the same way that showthread.php?t=31493 is redirected.
But it fails.
 
use htaccess to redirect archive to showthread or forumdisplay, and then let the xf tool handle the new ids.

Code:
RewriteRule ^/?archive/index\.php/t-([0-9]+)\.html/?$ /showthread.php?t=$1 [R=301,L]
RewriteRule ^/?archive/index\.php/f-([0-9]+)\.html/?$ /forumdisplay.php?t=$1 [R=301,L]
 
Back
Top Bottom