Navlink Stay Active When URL Partially Match

Hi,

I’m on node.js and need to create the navlink to stay active after navigating to other pages that have partially matched URLs.

Example:
domain.com/order/
domain.com/order/abc1234567890

Does anybody know how to achieve this? Is there any relation to URL rewriting?

thank you!

Community Page
Last updated: