Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Migration from Joomlaboard: (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Migration from Joomlaboard:
#17280
Migration from Joomlaboard: 1 Year, 2 Months ago  
Hi there!

I'm publishing here a solution to propagate a migration from Joomlaboard successfully.
This solution allows:

  • Google to trace SW Replacement

  • Users to reach new forum under old links


And therefor solves the most problematic issues with migration.

Lets expect you're having:

  • Fireboard published under NEWITEMID (Menu)

  • Joomlaboard INSTALLED, PUBLISHED, set to OFFLINE in config



First allow joomlaboard again to be accessed via old links:

  • Create a hidden Menu, unpublished

  • Move previous forum link menu entri into this menu - DO NOT DELETE! RESTORE FROM TRASH TO PRESERVE Itemid WHICH IS THE MOST IMPORTANT

  • Previous Itemid is OLDITEMID



Then enter the code for redirect within joomlaboard.php:
/components/com_joomlaboard/joomlaboard.php @Line14

//HACK START: REDIRECT TO FIREBOARD
$ItemidNEW = '470'; // NEWITEMID

$origto = $_SERVER['REQUEST_URI'];
echo 'ORIG: '.$origto."n";
$origto = str_replace('com_joomlaboard', 'com_fireboard', $origto);
$origto = str_replace('&Itemid=48', '&Itemid='.$ItemidNEW, $origto);
$origto = str_replace('Itemid,48', 'Itemid,'.$ItemidNEW, $origto);

header('HTTP/1.1 301 Moved Permanently';
header('Location: '.$origto);
die('Forum has been migrated to Fireboard!';
//HACK END: REDIRECT TO FIREBOARD

REPLACE 470 with your new Itemid
REPLACE 48 with your old Itemid
Copy replacement lines if you have multiple Itemids pointing to forum!
Correct the replacement according to your SEF scheme...

Enjoy FB, persisting SE contents without kickoff and lucky users!
Miro Dietiker (User)
Senior Boarder
Posts: 155
graphgraph
User Offline Click here to see the profile of this user
Gender: Male miro_dietiker MD Systems miro.dietiker@md-systems.ch Location: Zurich, Switzerland Birthdate: 1980-10-30
Logged Logged
 
Boarding with FIRE .-) -- Professional OpenSource developer
 
The administrator has disabled public write access.  
Go to top