Hello how to change the category slug url? So instead of being "mysite.com/category" make it "mysite.com/myname" ?
Do you mean the word "category" or what comes after that? The latter can be changed in the dashboard.
Changing the "category" route is not really possible.
You could try overwriting the CategoryUrl() function:https://github.com/vanilla/vanilla/blob/2.1/library/core/functions.render.php#L195-L205
but I doubt that would target everything.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
some further ideas based on Bleistivt's post if you are not talking about the individual category slug after the word categories in the settings/managecategories feature of dashboard under edit category.
here is an example of rewriting DiscussionUrl, which may give you some ideas how to overwrite CategoryUrl() function.
no idea if it works. I often wonder why the rewriting slugs is that important to people. (rhetorical question)
as Blesitivt said - no sure if it will work in all instances or if it works at at all.
if you just want a different link to the categories page from a link that you add somewhere else
you could add it via routing feature in dashboard.
e.g. http://mysite.com/myname could go to categories main page.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.