I understand why you might want to change the permalinks to “clean” your url. However, this helps distinguish forums from topics from replys. For example somesite.com/forums/forum/some-forum
or somesite.com/forums/topic/some-topic
.
You can remove the “forums” part of the permalink in admin settings under forum and Forum Root Slug–Forum Prefix select off. And you can rename the slug for single forum/topic/reply under same menu and Single Forum Slugs. These built-in adjustments are usually harmless and can be changed as needed.
There are also a few bbPress/WordPress permalink plugins that might help–but they could also make things worse.
Above all, you want a clean url that both makes sense and remains functional. And I’ve found that messing around too much with permalink settings can often break more than fix.
And regarding that “Private” issue: Does it display that when you’re not logged in? That’s a curious quirk.
Chad
Hi @chadschulz
When I’m not logged in, the forum link goes to an error page. I’ve set forum visibility to “Private” because I only want course members for a specific online course I host on my site to have access to the forum. So the “private” issue doesn’t show up when not logged in because nothing shows up.
Here, take a look: https://satdecoded.com/forums/forum/support-clinic/
It leads to an error page (which I don’t know why it does) when not logged in. Any way to NOT make it lead to error page, but a custom page that just says you must be a course member to see the private forum?
I’m confused what you mean by renaming the slug for the single forum/topic/reply. I see the settings for single forum, but what I’d really like is this:
http://www.somesite.com/forums/name-of-specific-forum/some-topic/
I plan to have different forums for different online classes. Thanks!
When I say single forum/topic/reply slug I actually meant for the single post-type slugs of forum/topic/reply. As the /forums/ slug is just a wrapper for all those bbPress custom post-types. So you could effectively remove the /forums/ wrapper and end up with just http://wwww.somesite.com/forum/name-of-specific-forum/
. If you rename the single /forum/ slug to /forums/ it would become http://wwww.somesite.com/forums/name-of-specific-forum/
or something similar with topics like http://wwww.somesite.com/topics/name-of-specific-topic/
And adding the topic slug after the forum slug is not intuitive as the topics don’t actually exist inside the forums, they are simply linked to it–similar to a shortcut. This is something that can be done with breadcrumbs, however.
Again, permalinks can be rather tricky. In fact I’m fairly certain they’re the reason the “Private” forums are leading not-logged in visitors to a 404 page. I’d try putting everything back to the default settings and seeing if that fixes the error. Also, look at any customizing, plugins you might have that could interfere with bbPress defaults.
BTW, bbPress has a default error message for not-authorized users and “private” forums that should display. Again, something must be off in the settings/configuration.
My forum has no “private” forums, so I have little experience with this particular issue. Sorry.
Best of luck,
Chad