How to turn off title creation for specific pages?

#299637
  • Hello!

    The problem is as follows. The site has pages that are generated automatically and for them the plugin determines the title and description is not correct, that is, it defines all such pages as a blog page.

    What filter can be used to disable the plugin overriding the title for such pages, since without your plugin, the title is formed correctly.

    I was unable to find a suitable filter in the knowledge base.

    The problem can be seen on this page: http://antinopol.beget.tech/user-account/chat/

Viewing 1 replies (of 1 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting us.

    You can modify and use this filter to exclude Rank Math from generating the titles on the required pages.

    /**
     * Filter to change the page title.
     * 
     * @param string $title
     */
    add_filter( 'rank_math/frontend/title', function( $title ) {    
        return $title;
    });

    Hope this 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 1 replies (of 1 total)

The ticket ‘How to turn off title creation for specific pages?’ is closed to new replies.