How to properly use route filter wild cards?

Status
This content is read-only, or is not open for further replies.

electrogypsy

Guest
offline
Hey there, I'm trying to figure out how to use wild cards in XF's route filters. The documentation doesn't really give a good example so I'm hoping some users can post some?

I'm toying around with wildcards to see if 'discourse style' urls are possible for threads. For example, changing:

mysite.com/threads/thread-title.1234

to

mysite.com/t/thread-title/1234

it seems like searching for:

threads/{name}.{name.digit}

and replacing with:

t/{name}/{name.digit}

might logically do the...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom