A new "default homepage" site setting

yeah that’s an interesting case, but it’s not possible with site settings at the moment

a couple alternatives come to mind:

  • build a custom homepage for both, and branch on the user check (obviously a little more maintenance required rather than just using something out of the box)

  • the user interface preference for “default home page” will override the custom theme homepage, so a little customization to utilize that could work… something like

    import { setDefaultHomepage } from "discourse/lib/utilities";
    
    export default {
     name: "force-homepage",
     after: "url-redirects",
    
     initialize(container) {
       if (container.lookup("service:current-user")) {
         setDefaultHomepage("latest");
       }
     },
    };
    

    you could then just hide that user preference with CSS

1 Like