This is the page source when a user is not logged in. Then I can see noindex set up by the WPForo. Ok, now it is clear what is causing the problem. I hope this can be helpful to your team as well.
For example, I run RankMath to make front-page indexable and although it is under the login Google still indexes the page with all the meta tags set up by the Rank Math. If you search for the page it will be displayed in the search results and you can open it in a browser and enter it if you have credentials. It is good for a promotion to be able to index pages that are under the login.
Maybe you can add a menu option with index/noindex topic/forum pages.
Thank you
This is the page source when the user is not logged in.
This code removes RankMath from the page with a specific ID.
add_action( 'wp_head', function(){ if( is_page('41944')) { remove_all_actions( 'rank_math/head' ); add_action( 'wp_head', '_wp_render_title_tag', 2 ); } }, 1 );
Is there any way to make it work on all pages produced by WPForo so that other pages are RankMath SEO processed?
I did a test by using PHP snippet to remove RankMath from WPForo pages. It works.
This is the WPForo SEO when RankMath is enabled.
<!-- wpForo SEO -->
<meta name="robots" content="noindex" />
<link rel="canonical" href="https://forum.biotherapy.asia/community/biotherapy-procedures/multiple-somatic-disorders-conversion-disorder/?foro=signin" />
<meta name="description" content="Q & A" />
<meta property="og:title" content="Biotherapy students & practicioners forum" />
<meta property="og:description" content="Q & A" />
<meta property="og:url" content="https://forum.biotherapy.asia/community/biotherapy-procedures/multiple-somatic-disorders-conversion-disorder/?foro=signin" />
<meta property="og:site_name" content="Biotherapy Asia Students & Practitioners Forum" />
<meta property="og:type" content="website" />
<meta name="twitter:description" content="Q & A" />
<meta name="twitter:title" content="Biotherapy students & practicioners forum" />
<meta property="twitter:card" content="summary_large_image" />
<!-- wpForo SEO End -->
This is WPForo SEO when RankMath is disabled.
<!-- wpForo SEO -->
<meta name="robots" content="noindex" />
<link rel="canonical" href="https://forum.biotherapy.asia/community/biotherapy-procedures/multiple-somatic-disorders-conversion-disorder/?foro=signin" />
<meta name="description" content="Q & A" />
<meta property="og:title" content="Biotherapy students & practicioners forum" />
<meta property="og:description" content="Q & A" />
<meta property="og:url" content="https://forum.biotherapy.asia/community/biotherapy-procedures/multiple-somatic-disorders-conversion-disorder/?foro=signin" />
<meta property="og:site_name" content="Biotherapy Asia Students & Practitioners Forum" />
<meta property="og:type" content="website" />
<meta name="twitter:description" content="Q & A" />
<meta name="twitter:title" content="Biotherapy students & practicioners forum" />
<meta property="twitter:card" content="summary_large_image" />
<!-- wpForo SEO End -->
This is WPForo SEO when RankMath is disabled and the snippet that removes RankMath from WPForo pages is disabled too.
Only forum sitemap is created but can't open it. There is no topic sitemap created by WPForo.
I noticed that only if I'm logged in I can see the sitemaps created by the WPForo.
<!-- wpForo SEO -->
<meta name="robots" content="noindex" />
<link rel="canonical" href="https://forum.biotherapy.asia/community/biotherapy-certification/module-a-video-practice-for-certification/?foro=signin" />
<meta name="description" content="Q & A" />
<meta property="og:title" content="Biotherapy students & practicioners forum" />
<meta property="og:description" content="Q & A" />
<meta property="og:url" content="https://forum.biotherapy.asia/community/biotherapy-certification/module-a-video-practice-for-certification/?foro=signin" />
<meta property="og:site_name" content="Biotherapy Asia Students & Practitioners Forum" />
<meta property="og:type" content="website" />
<meta name="twitter:description" content="Q & A" />
<meta name="twitter:title" content="Biotherapy students & practicioners forum" />
<meta property="twitter:card" content="summary_large_image" />
<!-- wpForo SEO End -->
Please check with your team RankMath and WPForo compatibility because something is not right. Name and description meta is not right. NAME should be the name of the post and DESCRIPTION should be topis content.
Would be great if the integration with a RankMath is simeless because it is very popular and good SEO plugin.
Thanks.
May I ask what produces ?foro=signin ? What is the condition that WPForo adds that to a URL? I'd like to understand so that I can proceed.