Notifications
Clear all

wpForo 1.x.x [Closed] Open subtopic in current page instead of being redirected to "/community/slug-name"

6 Posts
2 Users
0 Likes
1,170 Views
Posts: 4
Topic starter
(@mrnicewatch)
Active Member
Joined: 5 years ago

My site has 8 topics in the forums order/hierarchy. Each topic has a list of subtopics posted by the user(s). When a user clicks on the subtopic to respond, I want it to open the topic in the current location. 

For example, one of the topics I have is "Hydrology" and a subtopic is "Test". When I click on Test, I am currently redirected to "/community/slug-name". I want to be able to stay in the Hydrology page when the prompt is opened. 

Is this possible?

5 Replies
Robert
Posts: 10503
Admin
(@robert)
Support Team
Joined: 8 years ago

Hydrology is not a regular WordPress page so you can't have the same URL slug. Hydrology is a forum component. All forum components are located under the forum root slug /community/ . This is the only way to load forum components. Plugins differs own pages based on the root slug, without his slug all WordPress plugins will not be able to detect own pages and only WordPress posts/pages would be loaded.

Posts: 4
Topic starter
(@mrnicewatch)
Active Member
Joined: 5 years ago

Robert, are you saying that Topics in wpForo behave differently than WordPress pages?

Is it possible to open a subtopic and respond in the current Topics view without being redirected to the root-slug/community/slug path?

Robert
Posts: 10503
Admin
(@robert)
Support Team
Joined: 8 years ago

Yes, they are different. wpForo forums, topics and posts are not WordPress pages and posts. wpForo content is generated based on URL, so the URL root says now is the forum area and all content are forum content.

2 Replies
(@mrnicewatch)
Joined: 5 years ago

Active Member
Posts: 4

So is it possible to open a subtopic and respond in the current Topics view without being redirected to the root-slug/community/slug path? Similar to how in this forum, you can click on reply and type your response without being redirected to a new page.

Robert
Admin
(@robert)
Joined: 8 years ago

Support Team
Posts: 10503

As I explained above no, it's not possible.

BTW, please use forum and sub-forum words. The topic is not forum, topics are discussions in forums. Forums and Sub-forums are like categories for discussions (topics).