Solved : FluentCommunity posts Seo
we use this code to fix seo in post
i hope you support team take alok about seo for this plugin
this change i made in this file
fluent-community/app/Views/portal_page.php
\
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="<?php echo esc_url(get_site_icon_url()); ?>"/>
<!-- Open Graph -->
<meta property="og:type" content="article">
<meta property="og:title" content="<?php echo esc_attr($title); ?>">
<meta property="og:description" content="<?php echo esc_attr($description); ?>">
<meta property="og:url" content="<?php echo esc_url($url); ?>">
<meta property="og:site_name" content="<?php bloginfo('name'); ?>">
<?php if ($featured_image): ?>
<meta property="og:image" content="<?php echo esc_url($featured_image); ?>"/>
<?php endif; ?>
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="<?php echo esc_attr($title); ?>">
<meta name="twitter:description" content="<?php echo esc_attr($description); ?>">
<?php if ($featured_image): ?>
<meta name="twitter:image" content="<?php echo esc_url($featured_image); ?>">
<?php endif; ?>
<!-- JSON-LD Schema -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"headline": "<?php echo esc_attr($title); ?>",
"description": "<?php echo esc_attr($description); ?>",
"url": "<?php echo esc_url($url); ?>",
"datePublished": "<?php echo get_the_date('c'); ?>",
"dateModified": "<?php echo get_the_modified_date('c'); ?>",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "<?php echo esc_url($url); ?>"
},
"publisher": {
"@type": "Organization",
"name": "<?php bloginfo('name'); ?>",
"logo": {
"@type": "ImageObject",
"url": "<?php echo esc_url(get_site_icon_url()); ?>"
}
},
<?php if ($featured_image): ?>
"image": {
"@type": "ImageObject",
"url": "<?php echo esc_url($featured_image); ?>"
},
<?php endif; ?>
"author": {
"@type": "Person",
"name": "<?php echo get_the_author(); ?>"
}
}
</script>
<?php endif; ?>
<?php if (\FluentCommunity\App\Services\Helper::isRtl()): ?>
<style>
body {
direction: rtl;
}
</style>
<?php endif; ?>
<?php do_action('fluent_community/portal_head'); ?>
<style id="fcom_css_vars">
<?php echo \FluentCommunity\App\Functions\Utility::getColorCssVariables(); ?>
.dark body .el-dialog {
--el-dialog-bg-color: #2B2E33;
}
</style>
Are you able to provide more information about what the SEO issue is?
Hello FluentCommunity Team,
Iβve noticed a major SEO issue with FluentCommunity: currently, all new posts published within the community lack proper schema data and basic SEO metadata such as dynamic <title> and <meta description> tags.
Each post is rendered with the same generic page title (typically the site title), rather than using the actual post title. Additionally, there is no automatic generation of meta descriptions pulled from the post content.
This means:
- Individual posts do not have unique titles or descriptions in search engines.
- Posts are unlikely to appear properly indexed or ranked on Google and other search engines.
- The entire FluentCommunity section becomes SEO-invisible, as all posts appear identical to crawlers.
This makes FluentCommunity unusable for any serious content-based community platform that relies on visibility through organic search.
Suggested Solution:
Please consider updating the page headers to dynamically include variables such as the post title ($title) and a snippet or excerpt from the content ($description) in the head section for each post page. Proper schema markup would also be beneficial.
Let me know if there are any workarounds in the meantime or if this improvement is planned in the near future.
Best regards,
Ω Ψ―ΩΨ± Ω ΩΨ΅Ψ© ΩΩΨ±Ψ©Β Thank you for the feedback. I've passed in onto the devs