Hello,
Thank you for contacting Rank Math and bringing your concern to our attention.
Could you please confirm if you’re trying to remove the meta title and description tag added by Rank Math? If so, you can use and customize this filter to do so:
/**
* Code to move title inside the Rank Math's meta
*
* @param string $title
*/
add_action( 'init', function() {
remove_action( 'rank_math/head', '_wp_render_title_tag', 1 );
//uncomment to add default title tag
//add_action( 'wp_head', '_wp_render_title_tag', 1 );
});
add_filter( 'rank_math/frontend/description','__return_false');
add_filter( 'rank_math/frontend/title','__return_false');
And here’s how you can add a filter to your site:
https://rankmath.com/kb/filters-hooks-api-developer/
I hope that helps.
Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.
Hi Reinelle, thanks for getting back to me.
Regarding new posts, in Edit Snippet, if I leave the Title and Description field blank, will that then allow Google to create the Meta title and description?
Do I need to adjust a global setting for this?
Regards
Matt
Hello,
Thank you for your reply.
I would not advise you to remove Title from your pages, although if you want to disable the Rank Math’s Title & description, you can do that as mentioned by my colleague. However, the <title>
Property will still be visible on your web page. Since its the part of WordPress CMS.
Although, Google recommend using the Title and Description Tag.
You can learn more about the same here:
https://developers.google.com/search/docs/beginner/seo-starter-guide#googleseeyourpage
Even you set the title on your pages, Somewhat google will still change (Not every time) the title accordingly.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
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.