• Resolved Dan

    (@reggie_bond)


    Hey team,

    WP 6.0.1
    Rank Math SEO 1.0.94
    BuddyBoss Platform 2.0.6
    BuddyBoss Platform Pro 2.0.5

    I have used your excellent free plugin for over two years without hassle – it’s a fantastic plugin!

    Now, we integrated BuddyBoss Platform Pro. Everything works as per usual with Rank Math SEO. Except for a single page where we display the Activity Feed. We now get a “Page Not Found” as for the site title.

    I manually forced the site title on the page in your single-page settings; I deactivated all other plugins, no caching, etc. No changes; still “Page Not Found” on this specific site as a site title.

    As soon I deactivated BuddyBoss Platform +Pro, the site title showed up normal > “News Feed” as defined at my end.

    I think there’s an issue between Rank Math SEO and the current BuddyBoss plugin – but only on/for this specific page. All other BB pages show the correct site title.

    It would be most helpful if you could have a look into this.

    Thanks!

    Dan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @reggie_bond,

    Thank you for contacting support.

    You can try applying the following filter to change the title on the activity page:

    
    add_filter( 'rank_math/frontend/title', function( $title ) {
    if( bp_is_activity_directory() ) {
    $title = 'My Custom Title for the Activity Page';
    }
    
    return $title;
    });
    

    This function was created with the functions from BuddyBoss, but if it doesn’t work, please let us know what the slug portion of the activity is so we can change the filter accordingly.

    Don’t hesitate to get in touch if you have any other questions.

    Thread Starter Dan

    (@reggie_bond)

    Hello @rankmathteam

    Thank you for the suggestion! Very much appreciated.

    2 things:

    1. If I try to add the filter to the functions.php I get a fatal error:
      The code snippet you are trying to save produced a fatal error on line 1:
      syntax error, unexpected ‘&’
    2. Just to get all info over to you > that’s the slug for the page: /community/news-feed/

    Thank you!

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @reggie_bond,

    The filter doesn’t contain an ampersand so it seems that you are copying it wrongly or adding other characters before the filter.

    Please make sure that you copy the filter exactly to your website.

    You can follow one of the solutions here to add it to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Don’t hesitate to get in touch if you have any other questions.

    Thread Starter Dan

    (@reggie_bond)

    Thank you kindly! That worked.

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @reggie_bond

    Glad that helped.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://www.ads-software.com/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘BuddyBoss > Site Title: “Page Not Found”’ is closed to new replies.