Nginx redirect rules

Andy.N

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 www.domain.com/forum/threads/my-thread.123/, it will becomes www.domain.com/threads/my-thread.123/

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.

domain.com/forum/showthread.php?t=4536 to become domain.com/threads/thread-title.2507/

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

Thanks
 
Back
Top Bottom