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

dotpro

Active member
Licensed customer
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.
 
You would use a route filter, but you need to give a couple example before and afters for us to make a suggestion.
 
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/
 
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.
 
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.
This is the 2nd route besides the default that comes with the xmg.

attaching route setting screenshot
 

Attachments

  • route-filters.webp
    route-filters.webp
    34 KB · Views: 10
Back
Top Bottom