Hi All.
I'm trying to get some redirects working for a couple of sites, and I've become quite confused; I'm grateful for any help offered in clearing-up my thinking!
I have one ex-VB3 site which has been moved to XF (Site A).
I have one VB4 site, running vBSEO which is about to be moved to XF (Site B).
Site A doesn't have any redirects in place for old links at the moment; I was hoping to use it as a testbed to make sure I know how to get Site B's links working before we switch front-of-house over to XenForo.
I was thinking that I could configure redirect scripts on Site A with Site B's link structure, then browse to an URL formatted as Site B (but with a valid Site A thread ID), and if all's well I should see an XF thread. To be honest though, if I can be confident I've got the config. right for Site B vB -> Site B xF, the ex-VB3 site can be dealt with separately later.
The rewrite rule format I'm working with is:
Code:
RewriteEngine on
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
Thread and post IDs in our XF install match those in our VB4 install, and we're going from domain.tld/vb/ to domain.tld/xf/ - I'm just not sure quite how to tie it all together. It appears that coming from a VB4 install with vBSEO, I should use these VB 3.x redirects, is that right? Perhaps I should be using the VB4 ones, or a combination of the two?
Sincerely grateful for any and all pointers!
A