Rank Math and Wpforo forum

#30505
  • Resolved DF
    Rank Math free

    I started to use wpforo as a forum plugin on my site but there is no settings for title, desc, etc. How can i set seo needs for the plugin?

    • This topic was modified 4 years, 2 months ago by DF. Reason: data input
Viewing 10 replies - 1 through 10 (of 10 total)
  • 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.

    ​​​​​​​

    DF
    Rank Math free

    Thanks for reply, but where do i need to place this code?

    Todd
    Rank Math free

    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.

    DF
    Rank Math free

    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.
    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.

    DF
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    DF
    Rank Math free

    now you can check it again

    Todd
    Rank Math free

    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.

    DF
    Rank Math free

    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

    Todd
    Rank Math free

    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.

Viewing 10 replies - 1 through 10 (of 10 total)

The ticket ‘Rank Math and Wpforo forum’ is closed to new replies.