dotpro Active member Dec 29, 2015 #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.
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 Dec 29, 2015 #2 You would use a route filter, but you need to give a couple example before and afters for us to make a suggestion. Upvote 0 Downvote
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 Dec 29, 2015 #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/ Upvote 0 Downvote
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 Dec 29, 2015 #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. Upvote 0 Downvote
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.
dotpro Active member Dec 29, 2015 #5 Mike said: 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. Click to expand... This is the 2nd route besides the default that comes with the xmg. attaching route setting screenshot Attachments route-filters.webp 34 KB · Views: 10 Upvote 0 Downvote
Mike said: 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. Click to expand... This is the 2nd route besides the default that comes with the xmg. attaching route setting screenshot
Mike XenForo developer Staff member Dec 29, 2015 #6 Ahh oops. Do xengallery/categories/ to media/c/ . Upvote 0 Downvote