1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Nginx redirect rules

Discussion in 'Server Configuration and Hosting' started by Andy.N, Nov 21, 2012.

  1. Andy.N

    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.

  2. Andy.N

    Andy.N Well-Known Member

    Anyone has any idea/tip?

Share This Page