0.0.3 • Published 11 years ago

ubb-redirect v0.0.3

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

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.

Map

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.

Install

# 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

UBB Version

7.5.7

Migrator?

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

0.0.3

11 years ago

0.0.21

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago