1. 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?

Discussion in 'Media Gallery Support' started by dotpro, Dec 29, 2015.

  1. dotpro

    dotpro Active Member


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

    I tried this in route filter




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

    Mike XenForo Developer Staff Member

    You would use a route filter, but you need to give a couple example before and afters for us to make a suggestion.
  3. dotpro

    dotpro Active Member


    Thanks. So right now its like this:

    And I would like to change it to this

  4. Mike

    Mike XenForo Developer Staff Member

    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.
  5. dotpro

    dotpro Active Member

    This is the 2nd route besides the default that comes with the xmg.

    attaching route setting screenshot

    Attached Files:

  6. Mike

    Mike XenForo Developer Staff Member

    Ahh oops. Do xengallery/categories/ to media/c/ .
    Chris D and dotpro like this.
  7. dotpro

    dotpro Active Member

    Thank you, that works!

Share This Page