How do I redirect ALL users to the root website after logout ?


When users logout on my WPMU/Buddypress community, they are redirected to their own homage page instead of the root home page of the network (user of “” is redirected to “” instead of “”:wink:

I can’t use the plugin “Logout Redirect” since it’s not compatible with buddypress, so what would be the best way so that everyusers, when they logout, are all redirected to the main website of my community ?

I’m not good enough to create the whole plugin, but with code instructions I can create a plugin from the function and activate it on my site no problems.

Thanks in advance and best regards,