Redirect your UBB thread urls to others using a map

UBB Forum post-migration url redirector

Quick and dirty solution to redirect my migrated UBB forum Topics/Forums/Users URLs to NodeBB ids. it can be used to anything other target forum, doesn't have to be NodeBB, but the source forum must be UBB.

You must create/generate a map of the source topics/forums/users ids, each will map to either ids or slugs of the target forum software you will be using. If you decide to migrate to NodeBB, use the migrator linked below, which will make that easy for you, otherwise, I'll let you figure that out, but your map must look like the map.sample.json in structure. Look at the source if you're curious, it's not as bad as you think.

# say your ubb forum is in /var/www/example.com/forums
# cd $HOME
npm install ubb-redirector
cd ubb-redirector
npm install
# I would use 'forever' or 'supervisor' to keep it running
sudo npm install -g forever
forever -o out.log server.js --verbose --map /path/to/map.json --port 3000

if you want to migrate to NodeBB give this nodebb-plugin-ubbmigrator a shot