You certainly can, but it's not easy to do, so we don't provide our own guide.
Here's a StackExchange question that should help:
I obviously can in the DB and I did, but now the /users/newvalue goes to 404, and the user is not showing in the search results, even if I search for an exact match.
I tried restarting, editing the nodebbusersearch:{id}, ...I
sweet Thanks ! yea, i used the util.slugify
and changed that too in the db
note to self:
never run:
NODE_END=development
node app.js/debug/reindex
I ended up
cd NodeBB/src/database
node
> var redis = require('./redis');
> redis.searchRemove('user', 12345);
> redis.searchIndex ('user' , 'newusername', 12345);
Search now works, however, accessing via /user/newuserslug
route is still 404ing but /user/olduserslug
works? where is that value in the DB ?