Page Title Not Displaying

#62258
  • Resolved Stephen Proffitt
    Rank Math free

    For some reason Page Titles (actual pages not posts) are displaying “Page not found” on Buddypress Pages such as the Activity Stream.

    What am I doing wrong?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Alberto
    Rank Math business

    Hello,

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

    Could you share some of the affected URLs (in the Sensitive Data section so only the Staff can see them) so we can check them? Also, make sure you are using the last Rank Math version (1.0.44.1) since we released it yesterday and it fixed a few issues with BuddyPress.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

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

    Thank you.

    Todd
    Rank Math free

    Hi Stephen,

    Could you please link us to the pages with the issue as well?

    We checked a few BuddyPress pages but they are displaying the correct title.

    Edit: Is it the community-activity page? I see the issue but I am not sure what is causing it.

    Could you please:
    1. Update all your plugins to the latest version as I see many of them are not running the latest version.

    2. If that doesn’t work, running this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Do let us know how it goes.

    Todd
    Rank Math free

    Hello Stephen,

    Could you please check my previous reply?

    Also, when I try to edit that page using WP Bakery, all I see is a blank page:
    https://www.gorgeconnect.com/wp-admin/post.php?vc_action=vc_inline&post_id=0&post_type=page

    Here’s a screenshot:

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

    This appears to be an ongoing issue with the plugin, see your own help system for the same issue a year ago with another user — https://support.rankmath.com/ticket/incorrect-page-title-in-browser-page-not-found/

    The plugin is doing exactly what it is supposed to do everywhere else, it seems to have an issue with Buddypress pages.

    Hello,

    Thank you for contacting Rank Math today.

    I have checked your shared URL, the issue occurs after updating the page but it disappears once you clear the page cache. Please check the attached screencast.

    Looking forward to helping you. Thank you.

    ​​​​​​

    We turned off ALL page cache and turned off cloudflare, cleared browser cache and restarted … still saying “page not found” — We also noticed, that the Title changes from the correct title to “Page Not Found” after a couple of page refreshes.

    I’ve resolved this issue myself by adding a custom filter to the functions.php file in my child theme.

    RankMath is trying to re-write the page titles for these Buddypress pages, so you might want to look into that.

    add_filter( 'rank_math/frontend/title', function( $title ) {
        if ( is_activity_page ) { // Change this condition to check the BuddyPress Activity page
            return '';
        }
        return $title;
    });
    
    add_filter( 'rank_math/frontend/title', function( $title ) {
        if ( is_members_page ) { // Change this condition to check the BuddyPress Members page
            return '';
        }
        return $title;
    });

    Hello,

    Rank Math plugin is fully compatible with BuddyPress. To fix the 404 title issue, please enable the BuddyPress module in Dashboard >> Rank Math >> Modules page.

    I hope that helps.

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

The ticket ‘Page Title Not Displaying’ is closed to new replies.