Idea: Different homepage for authenticated users

  • It would be useful to be able to set a different homepage for logged-in users.

    So for example, might display the category list for users who are logged-out and for users who are logged-in, will display the list of recent topics.

  • Admin

    This can be easily done with a plugin.

    Use the static:app.preload hook and add a middleware to the express object. Something like below.

    myPlugin.onPreLoad = function(data, callback) {, res, next) { 
        if (req.path.startsWith('/') || req.path.startsWith('/api')) {
           if (req.uid) { 
              helpers.redirect(res, '/recent');
           } else {  
              helpers.redirect(res, '/categories');
        } else {



Looks like your connection to NodeBB was lost, please wait while we try to reconnect.