Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Nice little Script to cleanly move from JB to FB (1 viewing) (1) Guest
TOPIC: Nice little Script to cleanly move from JB to FB
#44189
Nice little Script to cleanly move from JB to FB 10 Months, 4 Weeks ago  
While re-vamping my Site, I decided to move from Joomlaboard to Fireboard. However - the old Forum generated a good amount of Hits & Pagerank from Google, so I didn't want to dump that all, but rather redirect Joomlaboard-Hits to Fireboard.

To do so, first off install FireBoard and import your Joomlaboard-Stuff (!). Now you can safely uninstall the Joomlaboard-Component and then create a directory called "/components/com_joomlaboard". In This directory, create a File called "joomlaboard.php" and here's the code for this File:

[code:1]
/**
* joomlaboard to fireboard redirector
* (c) Chris Schafflinger
**/

$newItemID = "52"; // Insert Fireboard's ItemID here

// Dont allow direct linking
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

$reloc = str_replace("joomlaboard","fireboard",$_SERVER['REQUEST_URI']);
$reloc = str_replace("41",$newItemID,$reloc);

##### Uncomment the next 3 Lines to make the Redirect Joomla-SEF-Compliant
//$reloc = str_replace("index.php?","component/",$reloc);
//$reloc = str_replace("=",",",$reloc);
//$reloc = str_replace("&","/",$reloc);

header("Location: ".$reloc,TRUE,301);
[/code:1]


Done - all Requests for Joomlaboard will be redirected to the same Threads/Forums etc. in Fireboard (of cause only if you imported everything from JB to FB and kept the structure) and - best of all - since it's a 301 redirect, Google et al will even transfer the Pagerank from your old Joomlaboard-Entries to Fireboard.

Hope, this helps some of you ;)
pAnd0rA (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/02/15 05:43 By pAnd0rA.
 
 
#44190
Re:Nice little Script to cleanly move from JB to FB 10 Months, 4 Weeks ago  
Probably wrong forum tho
pAnd0rA (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top