• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Route Filter

Dynamic

Well-known member
#1
Hi guys.

So I am getting this strange error. Here is what I have

Page Parent (http://something.com/pages/parent/)
- Page Child (http://something.com/pages/child/)

I have added route filters to rename the pages url.

Page Parent = http://something.com/parent/
Page Child = http://something.com/parent/child/

Everything is working as it should, but here is the problem I am getting;

When I go to http://something.com/parent/child/ it works
When I go to http://something.com/parent/child it fails

Is there something I have done wrong?

Thanks.
 

Chris D

XenForo developer
Staff member
#2
I've just tested this myself and it works fine.

Make sure the find and replace routes all end with a slash.
 

Dynamic

Well-known member
#3
They all end with a slash. No idea what is going on with it...

It may be a server setting. Thanks for the reply though.
 

Dynamic

Well-known member
#5
Can you confirm your exact route filter details?
Hi Mike,

Sure thing.

Find Route: pages/parent/
Replace With: parent/

Find Route: pages/child1/
Replace With: parent/child1/

Find Route: pages/child2/
Replace With: parent/child2/

Find Route: forums/
Replace With: community/

Find Route: account/
Replace With: my/

They are all of the route filters I have in place.

Cheers!