wpForo & Rank Math Seo Settings

#49122
  • Resolved Toygar Niron
    Rank Math pro

    Hello Michael,

    First of all, we thank you for your continued support, despite the world’s general conditions and the covid epidemic. I also wish everyone a healthy day.

    I use wpForo, a forum plugin on my website. RM works for the home page of this plugin and allows me to make the necessary snippet settings.

    However, wpForo creates additional pages on the same page, and RM stops support after this point.

    Examples; nakvaryum.com/forum/su-kimyasi-ve-katkilar/akvaryumlarda-su-degisimi/

    1.Support RM nakvaryum.com/forum
    2.Not Support RM nakvaryum/forum/category/
    3.Not Support RM nakvaryum/forum/category/topic

    The topic part I want to show here. Sample snippet code; %sitename% %sep% %wpForo_topic%

    Thank you

    • This topic was modified 3 years, 11 months ago by Toygar Niron. Reason: sensitive data update
    • This topic was modified 3 years, 11 months ago by Toygar Niron.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Thank you for contacting Rank Math today.

    I am unable to access your site, I keep getting a 404 error: https://i.rankmath.com/mmtoxk. Would you please check and let us know.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello Michael

    I’m sorry for that. My fault 🙁 I updated sensitive data

    Thank you.

    • This reply was modified 3 years, 11 months ago by Toygar Niron.

    Hello,

    Thank you for contacting Rank Math today.

    Since WPForo comes with its own SEO options, I can suggest that you disable the Rank Math SEO meta on those pages that are not working correctly by using the following snippet on your theme’s functions.php file:

    add_action( 'wp_head', function(){
            // pass the page ids to the function below
    	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.

    ​​​​​​

    Hello Michael,

    There is no SEO option for wpForo. There is only meta description. No arrangements can be made. nevertheless, with the code you provided, I disabled RM for wpForo and sent it to the wpForo team. I will inform you when the answer comes.

    Thank you

    Hi Toygar,

    Thanks for the reply.

    We will be looking forward to your response. Thank you.

    Todd
    Rank Math free

    Hello,

    We have taken a closer look at this and it appears that the WPForo team has changed the priority of the WP hook in their plugin. The priority of wp hook should be 11, now it is 10. It basically means that Rank Math’s meta is NOT taking priority over wpForo’s meta.

    Please contact wpForo team and ask them to change the priority back to 10. Here is a code can provide the wpForo team which will fix this issue immediately:

    add_action( 'wp', function() {
    	if ( ! wpforo_feature( 'seo-meta' ) ) return;
    	if ( is_wpforo_page() ) {
    		if ( defined('RANK_MATH_FILE') ) { // Rank Math SEO
    			add_filter( 'rank_math/frontend/remove_credit_notice', '__return_true' );
    			remove_all_actions( 'rank_math/head' );
    			remove_all_filters( 'pre_get_document_title', 15 );
    			add_action( 'wp_head', '_wp_render_title_tag', 1 );
    		}
    	}
    }, 11 );

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello Todd,

    I discussed Michael’s code with the wpForo team and got an answer. They said that the code you gave me was wrong and it would be enough to use the following code for wpForo to use its own settings.

    add_action( 'wp_head', function() {
       if( function_exists('is_wpforo_page') && is_wpforo_page() ){
          remove_all_filters( 'pre_get_document_title', 15 );
       }
    }, 1 );

    But I see that there is a new development and a new code. Todd, I will discuss this new code with the wpForo team and write the result or answer here.

    Thanks.

    Hello,

    Thank you for your feedback.

    We are glad there is progress. Please contact them with the code update provided and let us know how it goes.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello Michael,

    The WpForo team reviewed the code and said they would fix it in the next release. This discussion will be a good thing for future wpForo users.

    Thanks for support. Now I will wait for the plugin to be updated.

    Thank you

    Alberto
    Rank Math business

    Hello Toygar,

    We are super happy that you got a solution and that it will be fixed soon. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.