Page Not Found Title Tag

#213648
  • Resolved Developer O
    Rank Math free

    Some of my pages suddenly start showing “Page Not Found” on the title bar, even though it loads correctly. What is causing this? The pages’ SEO settings are properly labelled.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Ankit
    Rank Math business

    Hello,

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

    I would suggest you create a staging site for us to troubleshoot the issue. Meanwhile you can follow the below method.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    We really look forward to helping you.

    Hello,

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

    Thank you.

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    The pages you referenced here do not match the ones you have created on the backend here:

    The register page: https://scholopolis.com/register/
    The register page on the backend takes the URL format as https://scholopolis.com/dev/?page_id=12660

    Therefore the page you shared is not taken to exist on your website. Therefore there seems to be something or some setting interfering with the permalinks.

    Could you please change the permalinks to use post name since that is what you are using even on your posts. Also if you have any plugin changing the permalinks please do remove it as well.

    We are looking forward to helping you.
    Thank you.

    I changed the permalinks structure on the staging site. It’s the staging site so it has “dev” appended to the site URL. For instance ~/dev/register instead of ~/register.
    But then, I’ve noticed that the title tag functions well on the staging site – the Page Not Found title does not display there. I don’t get why that happens on the live site.

    Ankit
    Rank Math business

    Hello,

    Thank you for your reply.

    On your staging site, The title seems to be looking good. Now we have nothing to troubleshoot there , We would need your primary website’s login in order to troubleshoot the issue further.

    Looking forward to helping you. Thank you.

    Hello,

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

    Thank you.

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    Upon checking your main site I have tried to troubleshoot your site with the health check plugin but unfortunately, this was not possible as your server went down. See screenshot:https://i.rankmath.com/yfYd0Y

    Could you please restore it or get in touch with your host to do it for you.

    To troubleshoot and determine if this is conflict-related, you can follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    We really look forward to helping you.

    Hello, I have checked and my site is currently accessible. Please continue on the issue.
    Thanks.

    Brian
    Rank Math free

    Hell,

    Thank you for getting back to us.

    Upon checking your site, I have noticed that the issue here is being caused by the BuddyPress plugin. All pages related to this page are currently showing this as the meta title as well.

    To resolve this you would have to use this filter to change the titles of your pages here. https://rankmath.com/kb/filters-hooks-api-developer/#change-the-title

    Depending on which page you want to change the title to, I would recommend you use the BuddyPress conditional tags to target an individual page.

    For instance, to pass this function to be called on the register page you can try this code:

    add_filter( 'rank_math/frontend/title', function( $title ) {
        if ( bp_is_register_page() ) { // Change this condition to check the BuddyBoss activity page
            return '';
        }
        return $title;
    });

    You can use the conditional tags present in their guide here: https://buddypress.org/support/topic/conditional-tags-for-buddypress/

    Hope this helps. Please let us know if you have any other questions for us.
    Thank you.

    Thanks for your reply.
    Where exactly do I place the above code, for instance, if I am editing the register page?

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    If you want to change the title for the registration page you need to change the conditional tag to bp_is_register_page().

    Similarly, for the member’s page, you need to change the conditional tag to bp_is_members_component().

    Therefore the final code for the activity, register page, and members pages should be as follows:

    add_filter( 'rank_math/frontend/title', function( $title ) {
        if (bp_is_register_page()  || bp_is_activity_component() || bp_is_members_component()) { // Change this condition to check the BuddyBoss activitypage
            return '';
        }
        return $title;
    });

    Please insert this code on the functions.php file of your active theme to see the changes.

    Hope this helps. Please do let us know if you have any other queries for us.
    Thank you.

    The problem is solved. Thank you for your assistance!

    Ankit
    Rank Math business

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

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