I am using BuddyPress and developed some plugins based on BuddyPress framework. In BuddyPress, there are some submenus under one main navimenu. In all the submenus, one is default. When you enter the main navimenu, you enter the default submenu directly.
For example, I developed a plugin called SHARE with some submenus, including A(default), B, C. When I enter SHARE(with URL like http://www.test.com/jack/share/), I enter SHARE A directly(with URL like http://www.test.com/jack/share/a/). All the things seems right.
But when A have a list more than one page, something is wrong. With pagenavi plugin, No.2 page of A will be like http://www.test.com/jack/share/a/page/2. But because A is the default submenu of SHARE, URL will made into http://www.test.com/jack/share/page/2 and it will be wrong.
Please tell me how to solve such problem?
Because BuddyPress is too complicated, I hope pagenavi can be configured and the URL can be modified into full code.
Thanks very much.