* fix territory selector when in top/cowboys * redirect /~sub/top/cowboys to /top/cowboys * check if pathname ends with /top/cowboys Co-authored-by: ekzyis <ek@stacker.news> * fix territory selector in top/stackers and top/territories * better routing logic --------- Co-authored-by: ekzyis <ek@stacker.news>