Info
- 8 posts
- 4 voices
- Started 4 years ago by Mirce
- Latest reply from Mirce
- This topic is not resolved
Paid Help, custom permalinks structure
-
- Posted 4 years ago #
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.htmlPlease let me know if anyone can help me.
Thanx. -
- Posted 4 years ago #
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 4 years ago #
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 4 years ago #
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 4 years ago #
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 4 years ago #
Are you talking on doing a 302 from domain.com/about*.html to domain.com/bbpres_slugs?
How can this be done? -
- Posted 4 years ago #
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 4 years ago #
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. -
You must log in to post.