0
Welcome Guest! Login
0 items Join Now

Handy little "tool" for those, who plan to move from Joomlaboard to Fireboard

    • Chris S's Avatar
    • Chris S
    • Hero Rocketeer
    • Posts: 292
    • Thanks: 0

    Handy little "tool" for those, who plan to move from Joomlaboard to Fireboard

    Posted 17 years 2 months 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:
      <?php
      /**
      * 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);
      ?>

      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.
    • Last Edit: 17 years 2 months ago by Chris S.
    • Terp's Avatar
    • Terp
    • Elite Rocketeer
    • Posts: 1720
    • Thanks: 23

    Re: Handy little "tool" for those, who plan to move from Joomlaboard to Fireboard

    Posted 17 years 2 months ago
    • Very nice, sir!

      I am still on the fence with forums, but after reading that Fireboard creates a *brazillion* db calls when you have a dozen or so forum groups/categories/subs, I didn't put it on my shortlist; you don't find that it's a db killer? Perhaps I'll give it another look. :)

Time to create page: 0.059 seconds