XF 2.2 threads pages use route_prefix && sub_name under route_prefix

4mhf

New member
Hi everybody

I am a new in xenforo
Is there a way to make threads pages route
like
example.com/threads/{id}/page-{id}

to
example.com/threads/{id}-{id}?
 
what I am ask about its not there i am asking about change route structure

as sample this the structure:
(route_type) / (route_prefix) / (sub_name)

each level stops with /

what i want is remove the sub_name level and merged with the prefix level :
(route_type) / (route_prefix)-(sub_name)

first issue if we use the route_filter like this

threads/{id}-{id} it will repeats the thread id twice and ignore the page as sub_name level.
 
Back
Top Bottom