Using Homepage as Community URL Causes Customizer and Course Routing Issues
Iβm setting the homepage as the FluentCommunity portal by using:
define('FLUENT_COMMUNITY_PORTAL_SLUG', '');
This works in terms of routing, but it introduces a couple of problems:
1. Customizer Becomes Inaccessible
When the homepage is used as the community URL, the FluentCommunity customizer no longer loads. This means I canβt access the customizer to change FluentCommunity colors or other visual settings.
2. Disabled Modules Still Claim URLs (Courses)
If the Course module is disabled and the homepage is set as the community URL:
domain.com/coursescorrectly maps to FluentCommunity courses instead of
domain.com/portal/courses(which is great).- However, when the Course module is disabled, FluentCommunity still tries to load the
/coursesroute.
This causes conflicts when using TutorLMS or another LMS, effectively making /courses unusable.
To fully disable the courses route, I currently have to add this workaround:
add_filter('fluent_community/app_route_paths', function ($paths) {
return array_diff($paths, ['courses', 'course']);
});As for the first issue you mention, I cannot confirm. i have the community in the root and can customize just fine.
J VΒ when you set root as community, did you set any page as homepage in WordPress static homepage, because when I think that's where the conflict is.
Justice AkoredeΒ Oops I stand corrected, You are right. It is broken, it just wasn't before. Instead of FC customize like before I end up going into WP customize. Damn.
Shahjahan JewelΒ important
Justice AkoredeΒ The customizer issue is fixed on dev. We will investigate the courses route. Thank you.
Just delete the static home page on your WordPress, the issue will disappear...
Bryan WilliamΒ Actually the issue is fixed in the latest version.
Raiyan MarzanΒ including the course route?
Justice AkoredeΒ Regarding courses, we intentionally keep the route even after disabling. So users can re-enable it from there. For anyone looking to exclude the course route entirely, the snippet you provided is perfect.