Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Since WPForo generates its own SEO meta data, we recommend deactivating the Rank Math functionality from the forum pages by using the following filter.
You should pass the forum page id to the is_page() function like so:
add_action( 'wp_head', function(){
if( is_page('432')) {
remove_all_actions( 'rank_math/head' );
add_action( 'wp_head', '_wp_render_title_tag', 2 );
}
}, 1 );
Looking forward to helping you. Thank you.
​​​​​​​
Thanks for reply, but where do i need to place this code?
Hi,
Please add that code to your theme’s functions.php file towards the very end.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
I put the code with the local page ID but nothing changed
Hello,
Thank you for the reply.
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
now you can check it again
Hi,
It doesn’t look like you had added the code.
I have added this to your functions.php file which means that the Rank Math will not output any SEO tags on your forum page. Your forum plugin will now handle the SEO tags for that page:
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 );
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello Todd,
I visit the forum page and topics but it is showing same title as well. Nothing changed, did you review after adding the code?
Regards
Hi,
The title seems to be working fine now. Have you cleared the cache?
Please share what you are seeing and what you should be seeing instead.
A screenshot would help a lot.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.