By default, the platform does not have this option. You can use the following function code to set a different homepage for logged in and logged out users.

Please follow the steps below:

1. Go to Appearance > Theme Editor.

2. Under “Select theme to edit”, choose (BuddyBoss Child/whatever theme is active), then click “Select”.

3. Below Theme Files, select Theme Functions (functions.php).

4. Append the code just before the closing PHP tag “?>”:

if( is_user_logged_in() ) {
$page = get_page_by_path( 'page slug here');
update_option( 'page_on_front', $page->ID );
update_option( 'show_on_front', 'page' );
else {
$page = get_page_by_path( 'page slug here' );
update_option( 'page_on_front', $page->ID );
update_option( 'show_on_front', 'page' );

You only need to update 'page slug here' and the rest will update automatically. The slug should be the page you want to show for logged-in users.

5. Set the page for logged-out users by navigating to the WP Dashboard > Settings > Reading > Homepage. For reference, please see the image below:

6. Save the changes.

How to find your page slug.

Finding the page slug lets say the page you are looking for is your events page so your url should look something like this -  www.mydomainname/events


Then the slug would be ( events ) without the forward slashes. If you want to clarify a page slug you can find this by editing the Wordpress page in the standard Gutenberg editor and then select in the top right the 'cog icon' this will open up a pane on the right hand side where you can edit the meta data of the page. if you scroll down you will see an input box labeled slug which you can edit if you wish.

Second way to quickly locate the slug is by navigating to your wordpress admin - pages find the page you want the slug from and select quick edit underneath the page title and it will show you the slug and again you can edit the slug from here if you wish.

5. Click “Update File” to save the changes.

Note: Any modifications are considered as custom work already. Know more about our Support Policy here: