The only thing I can think of is Nicer Permalinks https://bbpress.org/plugins/topic/nicer-permalinks/ its not exactly what you are looking for but its the next best thing
@Anthony
thnx for the suggestion. I am more after a simple function that I can apply to the theme and modify to my hearts desire. At the moment I have little experience with rewrites sad….
Hi there anointed. I assume that you are using bbPress 1.*. Let’s see what we got:
In bbPress the topic permalink is builded against site and not forum.
If I have a topic named ‘foo’ in forum ‘bar’ and then I create another ‘foo’ topic in forum ‘pub’ then the permalink will be automagically named foo-2 by the bb_slug_increment
function.
You want:
/forum-name/sub-forum-name/post-name.html
You can’t achieve this behaviour with just an .htaccess tweaking. You need also to intercept the get_topic_link
filter and change the link. Maybe also you will need to do something in the bb_repermalink
function.
It can be quite challenging.
@zaerl
thnx for info
No I am using the new plugin.
I do realize that I am going to have to work with some functions to intercept and change the permalinks as well as htaccess work.
Mostly I was just checking to see if any other gurus here had tackled this task yet.
You can try making topics hierarchical, but that might make things goofy in other places.
You might need to buckle down and write your own custom rules to overload the ones that WordPress generates with the custom post type.