XF 2.0 vB4 URL Redirection for XF 2?

PJK

Active member
I recently upgraded from XF 1.5 to 2. For XF 1.5, I used this addon which worked great for URL redirection:
https://xenforo.com/community/resources/vbulletin-4-x-url-redirection.120/

But now that I'm on XF 2, many links are now broken since the addon isn't working anymore. For example, this URL:
http://www.domain.com/forum/showthread.php?44470-Beginner-s-Guide

Redirects to:
http://www.domain.com/forum/install/index.php?upgrade/

Which makes tons of links not redirect. Is there a fix for this for XF 2? Any suggestions for this? Thanks.
 
I've posted in that addon with no reply (yet). So today I renamed showthread.php which was in the forum root (and apparently wasn't supposed to be - not sure how/why it was there), and now the redirect doesn't go to the upgrade page, it goes to:
Oops! We ran into some problems.
MySQL statement prepare error [1146]: Table 'name_xdb.import_table_name' doesn't exist
Why is this happening? A strange issue and perhaps one that you guys may know how to solve. I'm looking to solve this issue ASAP as tons of links aren't working. Will pay if need be. Suggestions, tips, advice is much appreciated.

Thanks!
 
I ended up opening a ticket and Xenforo support helped solve it. Here was the suggestion for others in the same spot:
The easiest fix would be to upload these new redirect scripts for XF2, replacing the old files (e.g. showthread.php):

https://xenforo.com/community/resources/redirection-scripts-for-vbulletin-3-x.5949/

Simply replacing the old files with the new ones (while keeping the same 301config.php settings) should get redirects working again under XF2.

The other option is to use that new addon you linked:

https://xenforo.com/community/resources/xenforo-redirects-for-vbulletin.6123/

This add-on should also work out-of-the-box assuming:

1) You specify the import_log table in the options.

2) vB was in the same directory as XF.
 
Top Bottom