Disable Rank Math on specific page

#27094
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have checked the page source and all traces of Rank Math have been removed from the header with all SEO meta data coming from WPForo as shown below:
    Screen capture

    Could you please let me know if you are getting different results on your end?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    I’d also like to point out that each time I make a change, I clear all server caches and local browser caches. I’ve also tested on multiple browsers, Edge, Edge Dev, Brave, Chrome, and Firefox.

    Hello,

    I see the forum page is not showing the title. To fix it, I modified the code to remove rank_math tags in functions.php file. I replaced it with:

    
    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 );
    

    This seemed to have fixed the issue. Can you please confirm?

    Thank you.

    Thank you, but the meta info from wpForo is not coming through. If I deactivate Rank Math, wpForo’s SEO works great. Once I activate RM again, it only shows URLs. Here are a couple of screenshots.

    With Rank Math activated: https://www.screencast.com/t/ulKHLbZH

    With Rank Math deactivated: https://www.screencast.com/t/Krfi6CGMG0

    Thanks for your help!

    Thank you. Sorry to keep dragging this on, but that applies the page title to all of the internal forum posts. For example, without Rank Math, a forum post displays the post title in the browser. With Rank Math active, the page title for the WP page is shown on all the internal forum pages.

    A specific forum post with Rank Math active: https://www.screencast.com/t/momtq28zpDy

    A specific forum post with Rank Math deactivated: https://www.screencast.com/t/qdq6dvYXnBPi

    So your latest fix is helpful, but still doesn’t allow wpForo to handle all of the SEO throughout the forum.

    Thanks again for your help.

    Haven’t heard anything for nearly 4 days and this is already affecting my traffic, so I’m going to have to switch back to SEOPress. As much as I love RankMath, this is not good.

    Hi Wendell,

    Apologies for the delay.

    I have alerted our dev team about this problem and we will be investigating this further and get back to you in a short while.

    We appreciate your patience. Thank you.

    Hello,

    The filter code we provided applies to the page with ID 432. Since Wp-foro creates sub-pages using custom rewrite rules, the ID remains the same and thus the code is applying to all those pages. Can you please contact the WP-foro team and ask them which function they are using to change the title on sub-pages? You can add the wp-foro function in the code we provided. That will fix the issue.

    I hope that helps. Thank you.

    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 8 replies - 1 through 8 (of 8 total)

The ticket ‘Disable Rank Math on specific page’ is closed to new replies.