bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

Paid Help, custom permalinks structure

(8 posts)
  • Started 1 year ago by Mirce
  • Latest reply from Mirce
  • This topic is not resolved

No tags yet.

  1. Hello,
    I do not know if I can ask for paid help in here but I am really having a hard time to switch my forum from pHpBB to bbPress and I do not know who can help me.

    My forum http://www.weight-loss-forums.com/ is on pHpBB. I really can not manage the spam I get. I wan to switch to bbPress but also keep the actual link structure:

    Topic: http://www.weight-loss-forums.com/about2364.html
    Forum: http://www.weight-loss-forums.com/forum-25.html

    Please let me know if anyone can help me.
    Thanx.

    Posted 1 year ago #
  2. No official rules, but going by what I remember from the WP forums: no.

    What have you tried? Got a phpBB -> bb converter? Does it work?

    The link structure shouldn't be a problem, you just need some custom rules in your .htaccess which someone can probably help with.

    Posted 1 year ago #
  3. Asking for paid support in a support forum is a no-no. I can suggest that you leave your contact information and then I can close the thread and/or drop a line over at the paid support list at:

    http://codex.wordpress.org/Mailing_Lists#Professional

    I know that is WP list, but there are people that might help there as well.

    Trent

    Posted 1 year ago #
  4. Sorry about this but I really want to use bbPress.
    I can convert the DB but only changing the .htaccess rules will not help.

    I need a modification to function get_topic_link from bb-includes/template-functions.php and function bb_repermalink() from bb-includes/functions.php

    Hacking the template-functions.php and creating the link is easy but bb_repermalink is always 301 redirect me to the root because the link function is not created right.

    Posted 1 year ago #
  5. I imagine the only obstacle to changing your link structure is existing links in the forums. Perhaps you should consider using mod_rewrite rules to simply convert the existing link structure to standard bbpress format, then going forward you can just use standard bbpress style permalinks.

    All this would/should take is a few lines on a .htaccess file.

    Posted 1 year ago #
  6. Are you talking on doing a 302 from domain.com/about*.html to domain.com/bbpres_slugs?
    How can this be done?

    Posted 1 year ago #
  7. No guarantees about this one....

    Add this to an .htaccess file in the base of your bbPress installlation.

    You will need to modify where specified.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase <<Insert real path to your installation>>
    
    RewriteRule ^about([0-9]+)\.html(.*)$ <<Insert real path to your installation>>topic.php?id=$1 [L,QSA]
    RewriteRule ^forum\-([0-9]+)\.html(.*)$ <<Insert real path to your installation>>forum.php?id=$1 [L,QSA]
    </IfModule>
    Posted 1 year ago #
  8. Thanx,
    I'll try this and see how it works.

    So basically this should transform the about*.html links to topic.php?id=$1.
    Might work...
    Thanx.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.