For some very unknown reason enabling a plugin (Custom Post Type Permalinks) is causing bbPress topics permalinks to break. But it’s actually quite weird.
With the plugin disabled this is the permalink for the topics
When the plugin is enabled this is the permalink for the topics
That’s right, there is no change in the structure of the permalink or the permalink it self.
If I were to copy and paste the link when the plugin is turned on, it’ll point me to the post perfectly fine.
The problem is when I try to click on the topic through the forum navigation, it returns a 404 page not found error. The reason is because of the following.
Through the forum it’s trying to point to the following url for the topic …
For some awkward reason when the plugin is turned on, it doesn’t actually modify the permalinks of the topics at all. I don’t even know what it does, but it causes bbpress to go beserk and some how come up with that link. When I click on that link when the plugin is turned on it comes up with a 404 error.
When the plugin is turned off, the navigation through the forums provide the following permalink to the topic
Exactly the same as it’s actual permalink so no 404 errors are generated.
If anyone can help me debug this annoying and awkward issue it would be great.
Once again, it’s the link for the topic in the forum that’s being changed for some reason when the plugin is active.
I need this plugin for other custom post types.