URL Rewriter
This feature has two major elements to make changes to the structure of the URLs for bbPress powered forums.
Alternative URL hierarchy
Default bbPress URL structure for topics and replies is registered like this to include only topic name and reply id.
Topic URL
Default URL looks like this:
https://example.com/forums/topic/topic-slug/
Parts of the URL, keywords forums and topic can be changed in bbPress Settings, and topic-slug is the name unique of the topic.
With GD bbPress Toolbox Pro, this URL will be replaced with:
https://example.com/forums/forum/main-forum/child-forum/topic/topic-slug/
Main difference is addition of the full forums hierarchy preceding the topic, and this will visually link the topic to actual forum in the forums hierarchy.
Reply URL
Default URL looks like this:
https://example.com/forums/reply/1234/
Parts of the URL, keywords forums and reply can be changed in bbPress Settings, and 1234 is the ID unique of the reply.
With GD bbPress Toolbox Pro, this URL will be replaced with:
https://example.com/forums/forum/main-forum/child-forum/topic/topic-slug/reply/1234/
Main difference is addition of the full forums hierarchy preceding the topic and topic the reply belongs to.
Remove rewrite rules
bbPress registers all the standard permalinks rewrite structures WordPress supports, and many of those rules are useless when it comes to bbPress forums, topics and replies.
For forums, topics and replies, you have rewrite rules for attachments/media, commends and feeds:
- Attachments rules: bbPress templates can’t handle media pages, and these rules are useless.
- Comments rules: bbPress has no comments, this should be removed.
- RSS Feed rules: If you Disable RSS Feeds you should disable rewrite rules too