Is that Any Plugins to change nodebb's slug?
-
@lin so I'm guessing you want all URLs to look like this?
https://community.nodebb.org/topic/1471
https://community.nodebb.org/category/2Without any slug at all? You would probably need to start here, find any function that calls it (except for user creation) and then make sure it returns empty string. There's probably a lot more work involved but I'm not sure you could achieve this easily as a plugin (yet)
-
@psychobunny Thank you sooooooooo much! I think I can try it.
-
@psychobunny
Fail... I try many ways but fail.
Yes, I don't want to any non-english words in url.
I prefer the url like this:
https://community.nodebb.org/topic/1471
https://community.nodebb.org/category/2Can you teach me how to do?
-
I'm actually not too sure, I would imagine it would be a bit of an undertaking to achieve. What happened when you changed the slugify function?
-
@psychobunny
Nothing happen.
This url of the link was with slug also, when I removed the english slug in brower, it was ok, but if the slug is Chinese and I removed, I got error.
I run it on parallels with ubuntu server for my macbook.
It's a repo that git clone forked from nodebb.