Reply To: Single reply redirect to topic
OK, still trying to figure this one out…
From what I can tell, the problem we are encountering is that the URL is defined as:
https://site.com/forums/reply/12345
when it needs to be:
https://site.com/forums/topic/[topic_title]/#post-12345
In the first case, the redirect goes to the single reply post. In the second, the redirect goes to the post within the topic thread, which is what I believe we are each trying to achieve here.
Also, it seems to work correctly in the bbpress Recent Replies widget — meaning the widget utilizes the URL in the second case (above) and redirects correctly to the parent forum/topic. I’ve looked through the widgets.php file but can’t figure out where it’s pulling the reply_url from and why it’s different from the reply post permalink.
Does anyone know where the permalinks or URLs for the reply custom post type are defined in the bbpress plugin files? Perhaps that could be a place to start…
And, any suggestions or assistance would be appreciated!