XF 2.1 Can account upgrades be route filtered?

It won't redirect the existing account/upgrades/ URL if you go directly to it. But it will replace it anywhere it's linked in the navigation, account section menu etc.

You could try a 301 redirect on /account/upgrades/ if you want the existing URL to end up at /merch/ if someone tries an old link.
 
It won't redirect the existing account/upgrades/ URL if you go directly to it. But it will replace it anywhere it's linked in the navigation, account section menu etc.

You could try a 301 redirect on /account/upgrades/ if you want the existing URL to end up at /merch/ if someone tries an old link.
I see what you mean. https://tacoma3g.com/ -- If you click the STICKERS/PATCHES link in the navigation, it doesn't change it, because that navigation is using the original link.

So, by this logic, I have to update the navigation link to https://tacoma3g.com/merch/ -- correct?
 
Yep, you can either hard code the nav link to merch.

Or use {{ link('account/upgrades') }} as the link in the public navigation manager and it will always update to what you define in the route filter
 
Yep, you can either hard code the nav link to merch.

Or use {{ link('account/upgrades') }} as the link in the public navigation manager and it will always update to what you define in the route filter
Thank you! I had no idea about the second option. I love route filters, so it is good to know I can do it that way for everything now.
 
Back
Top Bottom