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

Importing Multiple vBulletin 3.8 Forums to One XenForo Installation

Mike Fara

Active member
#23
Merge tables? Should have over written. Did you keep IDs for the first import?
Yes. Unfortunately I did not fully comprehend how the system worked. Because of this I thought 2 tables would be utilized by 301config.php and the associated scripts. I did keep the IDs for the first log file (thus the first forum), but not for the 2nd.
 

Jeremy

Well-known member
#24
The import you have should be for the second one, which is what you'll need for the second import. However, you will be able to write direct redirects for the first import.
 

Mike Fara

Active member
#25
I don't get it. What 2nd import is taking place? I cannot rewrite everything again or I'll lose all of the progress on the XF site that has been made.

The thing is the first log had the first forum, which is much larger, and yes, it redirects everything properly from that forum. If I try to bring the 2nd log table into the first, eventually there is a conflict. Maybe if I create a new column thats a unique ID to combine both?
 

Mike Fara

Active member
#26
The import you have should be for the second one, which is what you'll need for the second import. However, you will be able to write direct redirects for the first import.
Sorry... I figured it out!

Here's what I did.

For .htaccess for site 1. If you have 2 import logs, but kept the IDs from import1, replace the first import log/site with VBSEO Hierarchy 001 and vBulletin 4.*:

Code:
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html http://hostname/showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html http://hostname/showthread.php?t=$1 [NC,L]
with:

Code:
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html http://hostname/threads/$1/page-$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html http://hostname/threads/$1 [NC,L]
This directly redirects VBSEO threads without going through 301config.php.

301config.php should list the 2nd log and the 2nd site should have the first set of rules (going to showthread.php).

I hope this is useful if anyone makes the same mistake I have.