XF 1.4 Help with redirecting vBulletin URLs to XenForo

Can anyone please help me with an .htaccess rule to rewrite URLs similar to:


and redirect them to:


As you can see, the first URL is dynamic and used to reside in a subdomain and the destination is a static URL at the main domain. I don't need the old vBulletin threads redirected to their equivalents on the new site, because most of the threads have been deleted, so I just want them to go to the index.

Really struggling with this!
Last edited: