Hello,
Thank you for contacting Rank Math today.
Rank Math does not add the keyword meta by default, you can however modify this behavior by adding the following code to your theme’s functions.php file:
/**
* Add <meta name="keywords" content="focus keywords">.
*/
add_filter( 'rank_math/frontend/show_keywords', '__return_true');
Looking forward to helping you. Thank you.
​​​​​​
Is there any other way? I don’t want to modify the theme file because my theme file will have an official update.
Hi Aiden,
Thanks for the question.
This is the recommended method to modify the plugin logic.
I can suggest that you create a child theme and enter this code to ensure that future theme updates do not affect your custom code.
I hope this info 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.