Skip to main content

portal as home page for website

I'd like to make my fcommunity page as the default homepage for my website.
Is it possible?
I created an empty "portal" page and designated portal as static home page in wp setup, but it doesn't workbut it

Alabri

Sure it is possible

Add this code πŸ‘‡πŸ» in Config.php

define('FLUENT_COMMUNITY_PORTAL_SLUG', '');

Alabri Wonderful, thank you! ❀️

Mat β€Ž

Adding related link

thanks for this quick answer.
In fact it is the way to change "portal" by anything else like "portail" for ex, as in:
define('FLUENT_COMMUNITY_PORTAL_SLUG', 'portail');

is it right?

Mat β€Ž

Christian VanhentenΒ you can change the Slug to your custom word in wp-admin settings > Fluent Community

domain.com/wp-admin/admin.php?page=fluent-community

Currently no other code is required (like define... in wp-config - this entry might be needed if you want to get rid of the slug completely AFAIR) to change the Slug for any other name

Fadel RM

I'm using this with fluent snippet
function redirect_to_portal() {
if (!is_admin() && $_SERVER['REQUEST_URI'] === '/') {
wp_redirect('/portal/');
exit;
}
}
add_action('template_redirect', 'redirect_to_portal');