Yaaay. This plugin can help you but right now I trying fix some bugs so before i do that you need flush rewrite rules manually after activating it. This plugin will be available on wordpress.org coming soon! 🙂
Looks like I can’t publish something here.
Yaaay. This plugin can help you but right now I trying fix some bugs so before i do that you need flush rewrite rules manually after activating it. This plugin will be available on wordpress org coming soon! 🙂
thanks, i tried to install the plugin, but it failed, i’m using the latest wordpress and bbpress 2.5.6
- Create folder
bbpress-permalinks-with-id
in wp-content/plugins
dir.
- Download 1.0.3 version github . com / korobochkin/bbpress-permalinks-with-id/releases/tag/v1.0.3 (remove spaces bbPress forum doesn’t allow publish links)
- Unpack archive.
- Put
plugin
folder content into the bbpress-permalinks-with-id
.
- Activate plugin.
- Flush rules by visiting
/wp-admin/options-permalink.php
page.
And after this in all bbpress permalinks for topics and forums will be using ID’s instead of slugs.
it works!
BTW,
1. the format is topic/[id]/, is it possible to remove the ending /, and replace it with .html, so it would look like topic/id.html
2. looks like it doesn’t take effect in the forum in a buddypress group.
Hi. The ending /
(trailing slash?) added automaticly if you setup something like /news/%POST_ID%/
on the WordPress permalinks page. And not be added if no slash at the end — /news/%POST_ID%
. This works because I use user_trailingslashit()
inside the code.
BuddyPress group forums not supported yet. Something hardcoded inside and I not find the solution to this issue right now but I keep digging. 🙂
Already publish the plugin on wordpress org. Right now without automatically flushing rewrite rules https://wordpress.org/plugins/bbpress-permalinks-with-id/
@korobochkin do you support buddypress yet?