Nginx redirect rules


Well-known member
I moved my site from VB 3.8 years ago and everything works fine using XF stock redirection script (301config.php, showthread.php, etc).

I then recently move the forum from /forum/ directory to the root and use Xenporta so instead, it will becomes

The result is that XF redirection no longer works. I can see that the mapping in the archived-import-log table has the correct records for VB threads to XF threads ID.

I'm looking for help in getting nginx to map correctly or modify the XF redirection to get to the new links. to become

Thread id 4536 maps to 2507 in the archived-import-log table.