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

MG 1.1 How to replace "categories" in URL with something else?

dotpro

Active member
#1
Hi,

I would like to know how do you replace "categories" in XMG urls to something else?

I tried this in route filter

categories/

to

cat/

But it did not work. I also tried "media/categories/" without any result.
 

Mike

XenForo developer
Staff member
#2
You would use a route filter, but you need to give a couple example before and afters for us to make a suggestion.
 

dotpro

Active member
#3
Mike,

Thanks. So right now its like this:

Code:
media/categories/category-name.1/
And I would like to change it to this

Code:
media/c/category-name.1/
 

Mike

XenForo developer
Staff member
#4
There isn't a reason for media/categories/ -> media/c/ to not work, unless you already have another route filter that is matching the URL in question.